mac80211_hwsim: enable IEEE80211_HW_SUPPORT_FAST_XMIT
authorJohannes Berg <johannes.berg@intel.com>
Mon, 30 Mar 2015 13:18:58 +0000 (15:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 22 Apr 2015 08:07:35 +0000 (10:07 +0200)
For hwsim, the duration field in frames is already not valid for
the common case of HT/VHT MCSes, so there's little point in trying
to keep it accurate for the legacy rates. Enable the fast-xmit code
to allow testing that, although given the dependency on hardware
crypto it will only be enabled in open network configurations.

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

index d5c0a1af08b997367289c341149fb527e3e1edd6..07626cc21d6e8da4524ec5cb37bd69bd244b3e92 100644 (file)
@@ -2399,7 +2399,8 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
                    IEEE80211_HW_WANT_MONITOR_VIF |
                    IEEE80211_HW_QUEUE_CONTROL |
                    IEEE80211_HW_SUPPORTS_HT_CCK_RATES |
-                   IEEE80211_HW_CHANCTX_STA_CSA;
+                   IEEE80211_HW_CHANCTX_STA_CSA |
+                   IEEE80211_HW_SUPPORT_FAST_XMIT;
        if (rctbl)
                hw->flags |= IEEE80211_HW_SUPPORTS_RC_TABLE;
 
This page took 0.045578 seconds and 5 git commands to generate.