mac80211_hwsim: support wider TDLS bandwidth
authorJohannes Berg <johannes.berg@intel.com>
Wed, 17 Jun 2015 11:07:14 +0000 (13:07 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:38:21 +0000 (15:38 +0200)
There's no reason not to support this, allow it to test
those code paths.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c

index 99e873dc86847c80de5a4d27cfdf84c62d83a519..08022ded630712b434b4d815c7c2d9bcb1029430 100644 (file)
@@ -2399,6 +2399,7 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
        ieee80211_hw_set(hw, AMPDU_AGGREGATION);
        ieee80211_hw_set(hw, MFP_CAPABLE);
        ieee80211_hw_set(hw, SIGNAL_DBM);
+       ieee80211_hw_set(hw, TDLS_WIDER_BW);
        if (rctbl)
                ieee80211_hw_set(hw, SUPPORTS_RC_TABLE);