mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 16:24:29 -04:00
wifi: mt76: mt7603: add missing register initialization for MT7628
Ported from the vendor driver code Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -184,6 +184,13 @@ mt7603_mac_init(struct mt7603_dev *dev)
|
||||
|
||||
mt76_set(dev, MT_TMAC_TCR, MT_TMAC_TCR_RX_RIFS_MODE);
|
||||
|
||||
if (is_mt7628(dev)) {
|
||||
mt76_set(dev, MT_TMAC_TCR,
|
||||
MT_TMAC_TCR_TXOP_BURST_STOP | BIT(1) | BIT(0));
|
||||
mt76_set(dev, MT_TXREQ, BIT(27));
|
||||
mt76_set(dev, MT_AGG_TMP, GENMASK(4, 2));
|
||||
}
|
||||
|
||||
mt7603_set_tmac_template(dev);
|
||||
|
||||
/* Enable RX group to HIF */
|
||||
|
||||
Reference in New Issue
Block a user