mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x02: fixup MT_PROT_RATE_* defines
On new mt76 chips, phy mode is configured by last 3 bits of rate value. Hence OFDM bit is marked by 0x2000 instead of 0x4000. Acked-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Stanislaw Gruszka <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
d94e9c4c44
commit
0d83d73b2e
+3
-3
@@ -440,9 +440,9 @@
|
||||
#define MT_PROT_TXOP_ALLOW_GF40 BIT(25)
|
||||
#define MT_PROT_RTS_THR_EN BIT(26)
|
||||
#define MT_PROT_RATE_CCK_11 0x0003
|
||||
#define MT_PROT_RATE_OFDM_6 0x4000
|
||||
#define MT_PROT_RATE_OFDM_24 0x4004
|
||||
#define MT_PROT_RATE_DUP_OFDM_24 0x4084
|
||||
#define MT_PROT_RATE_OFDM_6 0x2000
|
||||
#define MT_PROT_RATE_OFDM_24 0x2004
|
||||
#define MT_PROT_RATE_DUP_OFDM_24 0x2084
|
||||
#define MT_PROT_TXOP_ALLOW_ALL GENMASK(25, 20)
|
||||
#define MT_PROT_TXOP_ALLOW_BW20 (MT_PROT_TXOP_ALLOW_ALL & \
|
||||
~MT_PROT_TXOP_ALLOW_MM40 & \
|
||||
|
||||
Reference in New Issue
Block a user