linux/net/wireless/tests/scan.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * KUnit tests for inform_bss functions
 *
 * Copyright (C) 2023-2024 Intel Corporation
 */
#include <linux/ieee80211.h>
#include <net/cfg80211.h>
#include <kunit/test.h>
#include <kunit/skbuff.h>
#include "../core.h"
#include "util.h"

/* mac80211 helpers for element building */
#include "../../mac80211/ieee80211_i.h"

MODULE_IMPORT_NS();

struct test_elem {};

static struct gen_new_ie_case {} gen_new_ie_cases[] =;
KUNIT_ARRAY_PARAM_DESC()

static void test_gen_new_ie(struct kunit *test)
{}

static void test_gen_new_ie_malformed(struct kunit *test)
{}

struct inform_bss {};

static void inform_bss_inc_counter(struct wiphy *wiphy,
				   struct cfg80211_bss *bss,
				   const struct cfg80211_bss_ies *ies,
				   void *drv_data)
{}

static void test_inform_bss_ssid_only(struct kunit *test)
{}

static struct inform_bss_ml_sta_case {} inform_bss_ml_sta_cases[] =;
KUNIT_ARRAY_PARAM_DESC()

static void test_inform_bss_ml_sta(struct kunit *test)
{}

static struct cfg80211_parse_colocated_ap_case {} cfg80211_parse_colocated_ap_cases[] =;
KUNIT_ARRAY_PARAM_DESC()

static void test_cfg80211_parse_colocated_ap(struct kunit *test)
{}

static struct kunit_case gen_new_ie_test_cases[] =;

static struct kunit_suite gen_new_ie =;

kunit_test_suite();

static struct kunit_case inform_bss_test_cases[] =;

static struct kunit_suite inform_bss =;

kunit_test_suite();

static struct kunit_case scan_6ghz_cases[] =;

static struct kunit_suite scan_6ghz =;

kunit_test_suite();