From: Johannes Berg Date: Fri, 10 Apr 2015 12:18:40 +0000 (+0200) Subject: ath10k: enable IEEE80211_HW_SUPPORT_FAST_XMIT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=41fbf6e4f317964ec9005dd613bcb3c262db0a8a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ath10k: enable IEEE80211_HW_SUPPORT_FAST_XMIT 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 Signed-off-by: Johannes Berg --- diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 973485bd4121..4120fe5fc7bc 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -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;