Commit ed2bde56 authored by Felix Fietkau's avatar Felix Fietkau

mt76: mt7615: adjust timing in mt7615_mac_set_timing to match fw/hw values

Slightly improves performance
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent e0b4fe83
...@@ -115,7 +115,7 @@ void mt7615_mac_set_timing(struct mt7615_phy *phy) ...@@ -115,7 +115,7 @@ void mt7615_mac_set_timing(struct mt7615_phy *phy)
u32 cck = FIELD_PREP(MT_TIMEOUT_VAL_PLCP, 231) | u32 cck = FIELD_PREP(MT_TIMEOUT_VAL_PLCP, 231) |
FIELD_PREP(MT_TIMEOUT_VAL_CCA, 48); FIELD_PREP(MT_TIMEOUT_VAL_CCA, 48);
u32 ofdm = FIELD_PREP(MT_TIMEOUT_VAL_PLCP, 60) | 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; int sifs, offset;
bool is_5ghz = phy->mt76->chandef.chan->band == NL80211_BAND_5GHZ; bool is_5ghz = phy->mt76->chandef.chan->band == NL80211_BAND_5GHZ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment