rt2800: disable CCK rates on HT
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 18 Nov 2016 09:44:01 +0000 (10:44 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 23 Nov 2016 15:38:53 +0000 (17:38 +0200)
Sending frames in CCK rates on HT can cause performance problems.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c

index 01aebecfafd130cd52a8433e863e3e3ab859887b..4fb79e05078ffe87f2d64ca480dc1ff3a6a5ae0f 100644 (file)
@@ -7472,7 +7472,6 @@ static int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
        /*
         * Initialize all hw fields.
         */
-       ieee80211_hw_set(rt2x00dev->hw, SUPPORTS_HT_CCK_RATES);
        ieee80211_hw_set(rt2x00dev->hw, REPORTS_TX_ACK_STATUS);
        ieee80211_hw_set(rt2x00dev->hw, AMPDU_AGGREGATION);
        ieee80211_hw_set(rt2x00dev->hw, PS_NULLFUNC_STACK);