projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0b4fe8
)
mt76: mt7615: adjust timing in mt7615_mac_set_timing to match fw/hw values
author
Felix Fietkau
<nbd@nbd.name>
Wed, 22 Apr 2020 10:28:19 +0000
(12:28 +0200)
committer
Felix 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
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7615/mac.c
b/drivers/net/wireless/mediatek/mt76/mt7615/mac.c
index 63c7acfd4cc2235fe0867b4cc0c5de490257c1cb..88cbf5ffa290220b4462040795ae3355fd21c956 100644
(file)
--- 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, 2
4
);
+ FIELD_PREP(MT_TIMEOUT_VAL_CCA, 2
8
);
int sifs, offset;
bool is_5ghz = phy->mt76->chandef.chan->band == NL80211_BAND_5GHZ;