#include <net/cfg80211.h>
#include <kunit/test.h>
MODULE_IMPORT_NS(…);
static struct ieee80211_channel chan_6ghz_1 = …;
static struct ieee80211_channel chan_6ghz_5 = …;
static struct ieee80211_channel chan_6ghz_105 = …;
static const struct chandef_compat_case { … } chandef_compat_cases[] = …;
KUNIT_ARRAY_PARAM_DESC(…) …
static void test_chandef_compat(struct kunit *test)
{ … }
static struct kunit_case chandef_compat_test_cases[] = …;
static struct kunit_suite chandef_compat = …;
kunit_test_suite(…) …;