wifi: rtl8xxxu: Set IEEE80211_HW_SUPPORT_FAST_XMIT
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Tue, 1 Nov 2022 20:34:37 +0000 (22:34 +0200)
committerKalle Valo <kvalo@kernel.org>
Fri, 4 Nov 2022 11:01:35 +0000 (13:01 +0200)
According to commit 60d7900dcb98 ("wlcore: enable
IEEE80211_HW_SUPPORT_FAST_XMIT"), we can use this because all the chips
have hardware rate control.

This is one of the things mac80211 requires before it will handle MSDU
aggregation for us.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/9b59e735-6b89-a557-fafc-2da87fdd5b48@gmail.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c

index 823e50811b0da1c7380193b96355aef5ff0aef13..58e6416787dfe0d112d618e469aeb3d17087ffd8 100644 (file)
@@ -6998,6 +6998,7 @@ static int rtl8xxxu_probe(struct usb_interface *interface,
         * The firmware handles rate control
         */
        ieee80211_hw_set(hw, HAS_RATE_CONTROL);
+       ieee80211_hw_set(hw, SUPPORT_FAST_XMIT);
        ieee80211_hw_set(hw, AMPDU_AGGREGATION);
 
        wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST);