mac80211_hwsim: report the WIPHY_FLAG_SUPPORTS_5_10_MHZ capability
authorRamon Fontes <ramonreisfontes@gmail.com>
Fri, 15 May 2020 16:46:40 +0000 (13:46 -0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 27 May 2020 08:03:27 +0000 (10:03 +0200)
Signed-off-by: Ramon Fontes <ramonreisfontes@gmail.com>
Link: https://lore.kernel.org/r/20200515164640.97276-1-ramonreisfontes@gmail.com
[fix indentation to use tabs]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c

index f4ded2f..1356e8c 100644 (file)
@@ -3054,6 +3054,7 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
        hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS |
                            WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL |
                            WIPHY_FLAG_AP_UAPSD |
+                           WIPHY_FLAG_SUPPORTS_5_10_MHZ |
                            WIPHY_FLAG_HAS_CHANNEL_SWITCH;
        hw->wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR |
                               NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE |