Skip to content

Commit 2813d22

Browse files
ilanpeer2jmberg-intel
authored andcommitted
wifi: mac80211_hwsim: Declare support for AP scanning
To support testing scenarios. Signed-off-by: Ilan Peer <[email protected]> Reviewed-by: Johannes Berg <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://patch.msgid.link/20250709233537.6916e0a49955.I48e374ad7e3ea5877a5e93e5c5fe8301465771c8@changeid Signed-off-by: Johannes Berg <[email protected]>
1 parent 8d31342 commit 2813d22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/wireless/virtual/mac80211_hwsim.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5384,7 +5384,8 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
53845384
NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE |
53855385
NL80211_FEATURE_STATIC_SMPS |
53865386
NL80211_FEATURE_DYNAMIC_SMPS |
5387-
NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR;
5387+
NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR |
5388+
NL80211_FEATURE_AP_SCAN;
53885389
wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS);
53895390
wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_BEACON_PROTECTION);
53905391
wiphy_ext_feature_set(hw->wiphy,

0 commit comments

Comments
 (0)