mt76: mt7615: adjust timing in mt7615_mac_set_timing to match fw/hw values
authorFelix Fietkau <nbd@nbd.name>
Wed, 22 Apr 2020 10:28:19 +0000 (12:28 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 12 May 2020 17:52:32 +0000 (19:52 +0200)
Slightly improves performance

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/mac.c

index 63c7acfd4cc2235fe0867b4cc0c5de490257c1cb..88cbf5ffa290220b4462040795ae3355fd21c956 100644 (file)
@@ -115,7 +115,7 @@ void mt7615_mac_set_timing(struct mt7615_phy *phy)
        u32 cck = FIELD_PREP(MT_TIMEOUT_VAL_PLCP, 231) |
                  FIELD_PREP(MT_TIMEOUT_VAL_CCA, 48);
        u32 ofdm = FIELD_PREP(MT_TIMEOUT_VAL_PLCP, 60) |
-                  FIELD_PREP(MT_TIMEOUT_VAL_CCA, 24);
+                  FIELD_PREP(MT_TIMEOUT_VAL_CCA, 28);
        int sifs, offset;
        bool is_5ghz = phy->mt76->chandef.chan->band == NL80211_BAND_5GHZ;