mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x02: do not enable RTS/CTS by default
My commit 26a7b5473191 ("mt76x02: set protection according to ht
operation element") enabled by default RTS/CTS protection for OFDM
and CCK traffic, because MT_TX_RTS_CFG_THRESH is configured to non
0xffff by initvals and .set_rts_threshold callback is not called by
mac80211 on initialization, only on user request or during
ieee80211_reconfig() (suspend/resuem or restart_hw).
Enabling RTS/CTS cause some problems when sending probe request
frames by hcxdumptool penetration tool, but I expect it can cause
other issues on different scenarios.
Restore previous setting of RTS/CTS being disabled by default for
OFDM/CCK by changing MT_TX_RTS_CFG_THRESH initvals to 0xffff.
Fixes: 26a7b5473191 ("mt76x02: set protection according to ht operation element")
Signed-off-by: Stanislaw Gruszka <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
bdee9247f9
commit
abcb544579
+1
-1
@@ -106,7 +106,7 @@ void mt76_write_mac_initvals(struct mt76x02_dev *dev)
|
||||
{ MT_TX_SW_CFG1, 0x00010000 },
|
||||
{ MT_TX_SW_CFG2, 0x00000000 },
|
||||
{ MT_TXOP_CTRL_CFG, 0x0400583f },
|
||||
{ MT_TX_RTS_CFG, 0x00100020 },
|
||||
{ MT_TX_RTS_CFG, 0x00ffff20 },
|
||||
{ MT_TX_TIMEOUT_CFG, 0x000a2290 },
|
||||
{ MT_TX_RETRY_CFG, 0x47f01f0f },
|
||||
{ MT_EXP_ACK_TIME, 0x002c00dc },
|
||||
|
||||
Reference in New Issue
Block a user