mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x2: clear per-WCID tx rate lookup register
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -536,6 +536,9 @@ void mt76x2_mac_wcid_setup(struct mt76x2_dev *dev, u8 idx, u8 vif_idx, u8 *mac)
|
||||
|
||||
mt76_wr(dev, MT_WCID_ATTR(idx), attr);
|
||||
|
||||
mt76_wr(dev, MT_WCID_TX_RATE(idx), 0);
|
||||
mt76_wr(dev, MT_WCID_TX_RATE(idx) + 4, 0);
|
||||
|
||||
if (idx >= 128)
|
||||
return;
|
||||
|
||||
|
||||
@@ -465,6 +465,9 @@
|
||||
#define MT_TX_STAT_FIFO_EXT_RETRY GENMASK(7, 0)
|
||||
#define MT_TX_STAT_FIFO_EXT_PKTID GENMASK(15, 8)
|
||||
|
||||
#define MT_WCID_TX_RATE_BASE 0x1c00
|
||||
#define MT_WCID_TX_RATE(_i) (MT_WCID_TX_RATE_BASE + ((_i) << 3))
|
||||
|
||||
#define MT_BBP_CORE_BASE 0x2000
|
||||
#define MT_BBP_IBI_BASE 0x2100
|
||||
#define MT_BBP_AGC_BASE 0x2300
|
||||
|
||||
Reference in New Issue
Block a user