Lines Matching refs:inform_bss
314 struct inform_bss { struct
325 struct inform_bss *ctx = t_wiphy_ctx(wiphy); in inform_bss_inc_counter() argument
337 struct inform_bss ctx = { in test_inform_bss_ssid_only()
342 struct cfg80211_inform_bss inform_bss = { in test_inform_bss_ssid_only() local
358 w_priv->ops->inform_bss = inform_bss_inc_counter; in test_inform_bss_ssid_only()
360 inform_bss.chan = ieee80211_get_channel_khz(wiphy, MHZ_TO_KHZ(2412)); in test_inform_bss_ssid_only()
361 KUNIT_ASSERT_NOT_NULL(test, inform_bss.chan); in test_inform_bss_ssid_only()
363 bss = cfg80211_inform_bss_data(wiphy, &inform_bss, in test_inform_bss_ssid_only()
372 KUNIT_EXPECT_EQ(test, bss->signal, inform_bss.signal); in test_inform_bss_ssid_only()
376 KUNIT_EXPECT_PTR_EQ(test, bss->channel, inform_bss.chan); in test_inform_bss_ssid_only()
441 struct inform_bss ctx = { in KUNIT_ARRAY_PARAM_DESC()
446 struct cfg80211_inform_bss inform_bss = { in KUNIT_ARRAY_PARAM_DESC() local
554 w_priv->ops->inform_bss = inform_bss_inc_counter; in KUNIT_ARRAY_PARAM_DESC()
556 inform_bss.chan = ieee80211_get_channel_khz(wiphy, MHZ_TO_KHZ(2412)); in KUNIT_ARRAY_PARAM_DESC()
557 KUNIT_ASSERT_NOT_NULL(test, inform_bss.chan); in KUNIT_ARRAY_PARAM_DESC()
608 bss = cfg80211_inform_bss_data(wiphy, &inform_bss, in KUNIT_ARRAY_PARAM_DESC()
860 static struct kunit_suite inform_bss = { variable
865 kunit_test_suite(inform_bss);