diff mbox

mac80211_hwsim: Advertise support for VHT IBSS

Message ID 20151126185104.GA27594@w1.fi
State Accepted
Delegated to: Johannes Berg
Headers show

Commit Message

Jouni Malinen Nov. 26, 2015, 6:51 p.m. UTC
VHT can be used with IBSS without needing any additional changes in
mac80211_hwsim, so start claiming support for this to increase test
coverage.

Signed-off-by: Jouni Malinen <j@w1.fi>
---
 drivers/net/wireless/mac80211_hwsim.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Johannes Berg Nov. 27, 2015, 10:20 a.m. UTC | #1
On Thu, 2015-11-26 at 20:51 +0200, Jouni Malinen wrote:
> VHT can be used with IBSS without needing any additional changes in
> mac80211_hwsim, so start claiming support for this to increase test
> coverage.
> 

Applied all the three, thanks.

johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index 551dfff..1c598a5 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -2449,6 +2449,7 @@  static int mac80211_hwsim_new_radio(struct genl_info *info,
 			       NL80211_FEATURE_STATIC_SMPS |
 			       NL80211_FEATURE_DYNAMIC_SMPS |
 			       NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR;
+	wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS);
 
 	/* ask mac80211 to reserve space for magic */
 	hw->vif_data_size = sizeof(struct hwsim_vif_priv);