]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath10k: enable IEEE80211_HW_SUPPORT_FAST_XMIT
authorJohannes Berg <johannes.berg@intel.com>
Fri, 10 Apr 2015 12:18:40 +0000 (14:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 22 Apr 2015 09:25:21 +0000 (11:25 +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.

Acked-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath10k/mac.c

index 973485bd4121e431464b84f2401a81ec48b94b82..4120fe5fc7bc7a58501b35526883db84f83cc86d 100644 (file)
@@ -5500,7 +5500,8 @@ int ath10k_mac_register(struct ath10k *ar)
                        IEEE80211_HW_HAS_RATE_CONTROL |
                        IEEE80211_HW_AP_LINK_PS |
                        IEEE80211_HW_SPECTRUM_MGMT |
-                       IEEE80211_HW_SW_CRYPTO_CONTROL;
+                       IEEE80211_HW_SW_CRYPTO_CONTROL |
+                       IEEE80211_HW_SUPPORT_FAST_XMIT;
 
        ar->hw->wiphy->features |= NL80211_FEATURE_STATIC_SMPS;