aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-04-22 12:28:19 +0200
committerFelix Fietkau <nbd@nbd.name>2020-05-12 19:52:32 +0200
commited2bde56ab1fcda71faa24d720df06353d91e237 (patch)
tree1edf2a6e68ddb6b76f236266086224526079dd0b
parentmt76: mt7603: never use an 802.11b CF-End rate on 5GHz (diff)
downloadlinux-ed2bde56ab1fcda71faa24d720df06353d91e237.tar.gz
linux-ed2bde56ab1fcda71faa24d720df06353d91e237.zip
mt76: mt7615: adjust timing in mt7615_mac_set_timing to match fw/hw values
Slightly improves performance Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7615/mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mac.c b/drivers/net/wireless/mediatek/mt76/mt7615/mac.c
index 63c7acfd4cc2..88cbf5ffa290 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/mac.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/mac.c
@@ -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;