[PATCH 18/21][SRU][OEM-OSP1-B] mac80211_hwsim: Declare support for Multi-BSSID
You-Sheng Yang
vicamo.yang at canonical.com
Tue Sep 24 07:59:44 UTC 2019
From: Jouni Malinen <jouni at codeaurora.org>
BugLink: https://bugs.launchpad.net/bugs/1845138
This can be used to test cfg80211 support for Multi-BSSID scan result
parsing.
Signed-off-by: Jouni Malinen <jouni at codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg at intel.com>
(cherry picked from commit 040bda85b5dff5790f6ebe562e0b6ca09c851440)
Signed-off-by: You-Sheng Yang <vicamo.yang at canonical.com>
---
drivers/net/wireless/mac80211_hwsim.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index bb2bf4beed0f4..7d230038e168e 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -2810,6 +2810,7 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
ieee80211_hw_set(hw, TDLS_WIDER_BW);
if (rctbl)
ieee80211_hw_set(hw, SUPPORTS_RC_TABLE);
+ ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID);
hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS |
WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL |
--
2.23.0
More information about the kernel-team
mailing list