mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: add a missing register init
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -276,6 +276,8 @@ mt7603_mac_init(struct mt7603_dev *dev)
|
||||
MT76_SET(MT_AGG_ARCR_RTS_RATE_THR, 2)));
|
||||
|
||||
mt76_set(dev, MT_WTBL_RMVTCR, MT_WTBL_RMVTCR_RX_MV_MODE);
|
||||
|
||||
mt76_clear(dev, MT_SEC_SCR, MT_SEC_SCR_MASK_ORDER);
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
@@ -376,6 +376,12 @@ enum {
|
||||
#define MT_WF_RFCR1 MT_WF_RMAC(0x0a4)
|
||||
#define MT_WF_RMAC_TMR_PA MT_WF_RMAC(0x0e0)
|
||||
|
||||
#define MT_WF_SEC_BASE 0x21a00
|
||||
#define MT_WF_SEC(ofs) (MT_WF_SEC_BASE + (ofs))
|
||||
|
||||
#define MT_SEC_SCR MT_WF_SEC(0x004)
|
||||
#define MT_SEC_SCR_MASK_ORDER GENMASK(1, 0)
|
||||
|
||||
#define MT_WTBL_OFF_BASE 0x23000
|
||||
#define MT_WTBL_OFF(n) (MT_WTBL_OFF_BASE + (n))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user