wlcore: enable IEEE80211_HW_SUPPORT_FAST_XMIT
authorJohannes Berg <johannes.berg@intel.com>
Fri, 10 Apr 2015 12:13:14 +0000 (14:13 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 22 Apr 2015 08:07:39 +0000 (10:07 +0200)
The driver can clearly enable fast-xmit since it does rate
control in the device and thus must do duration calculation
there as well.

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

index 1e136993580f104a156fd3c72494dee9b3845a9b..34cef10aefc5c5e628a70b1730516a3a53b8ce2d 100644 (file)
@@ -6077,7 +6077,8 @@ static int wl1271_init_ieee80211(struct wl1271 *wl)
                IEEE80211_HW_AMPDU_AGGREGATION |
                IEEE80211_HW_TX_AMPDU_SETUP_IN_HW |
                IEEE80211_HW_QUEUE_CONTROL |
-               IEEE80211_HW_CHANCTX_STA_CSA;
+               IEEE80211_HW_CHANCTX_STA_CSA |
+               IEEE80211_HW_SUPPORT_FAST_XMIT;
 
        wl->hw->wiphy->cipher_suites = cipher_suites;
        wl->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites);