summaryrefslogtreecommitdiff
path: root/net/mac80211/tests/module.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-08-27 14:05:21 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-09-11 12:32:16 +0200
commitffbd0c8c1e7f86408919d023cf87119b9b7385d5 (patch)
tree79434d86b46c871098f801057c4f47a24434b6a7 /net/mac80211/tests/module.c
parent730eeb17bbdd3c31f91e2a4fff35dd7e9c67d706 (diff)
wifi: mac80211: add an element parsing unit test
Add a unit test for the parsing of a fragmented sta profile sub-element inside a fragmented multi-link element. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230827135854.333bc75df13f.I0ddfeb6a88a4d89e7c7850e8ef45a4b19b5a061a@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/tests/module.c')
-rw-r--r--net/mac80211/tests/module.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/mac80211/tests/module.c b/net/mac80211/tests/module.c
new file mode 100644
index 000000000000..9d05f2943935
--- /dev/null
+++ b/net/mac80211/tests/module.c
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * This is just module boilerplate for the mac80211 kunit module.
+ *
+ * Copyright (C) 2023 Intel Corporation
+ */
+#include <linux/module.h>
+
+MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("tests for mac80211");