#include <kunit/test.h>
#include "../ieee80211_i.h"
MODULE_IMPORT_NS(…);
static struct ieee80211_channel chan6g_1 = …;
static struct ieee80211_channel chan6g_33 = …;
static struct ieee80211_channel chan6g_61 = …;
static const struct subchan_test_case { … } subchan_offset_cases[] = …;
KUNIT_ARRAY_PARAM_DESC(subchan_offset, subchan_offset_cases, desc);
static void subchan_offset(struct kunit *test)
{ … }
static const struct psd_reorder_test_case { … } psd_reorder_cases[] = …;
KUNIT_ARRAY_PARAM_DESC(psd_reorder, psd_reorder_cases, desc);
static void psd_reorder(struct kunit *test)
{ … }
static struct kunit_case tpe_test_cases[] = …;
static struct kunit_suite tpe = …;
kunit_test_suite(…) …;