mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 21:36:52 +00:00
mt7603: fix WMM TXOP limit configuration
The config registers are swapped, AC2/AC3 comes before AC1/AC0 Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+2
-1
@@ -376,7 +376,8 @@ enum {
|
||||
#define MT_TMAC_TCR_SMOOTHING BIT(31)
|
||||
|
||||
#define MT_WMM_TXOP_BASE MT_WF_TMAC(0x010)
|
||||
#define MT_WMM_TXOP(_n) (MT_WMM_TXOP_BASE + (((_n) / 2) << 2))
|
||||
#define MT_WMM_TXOP(_n) (MT_WMM_TXOP_BASE + \
|
||||
((((_n) / 2) ^ 0x1) << 2))
|
||||
#define MT_WMM_TXOP_SHIFT(_n) (((_n) & 1) * 16)
|
||||
#define MT_WMM_TXOP_MASK GENMASK(15, 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user