mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-22 09:34:56 +02:00
wifi: mt76: mt7996: fix RRO EMU configuration
[ Upstream commit73b46379e5] Use the correct helper to update specific bitfields instead of overwriting the entire register. Fixes:eedb427eb2("wifi: mt76: mt7996: Enable HW RRO for MT7992 chipset") Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com> Signed-off-by: Shayne Chen <shayne.chen@mediatek.com> Acked-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://patch.msgid.link/20260312095724.2117448-1-shayne.chen@mediatek.com Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
dc34c01521
commit
a1a8a8bdfa
@@ -857,8 +857,7 @@ void mt7996_rro_hw_init(struct mt7996_dev *dev)
|
||||
}
|
||||
} else {
|
||||
/* set emul 3.0 function */
|
||||
mt76_wr(dev, MT_RRO_3_0_EMU_CONF,
|
||||
MT_RRO_3_0_EMU_CONF_EN_MASK);
|
||||
mt76_set(dev, MT_RRO_3_0_EMU_CONF, MT_RRO_3_0_EMU_CONF_EN_MASK);
|
||||
|
||||
mt76_wr(dev, MT_RRO_ADDR_ARRAY_BASE0,
|
||||
dev->wed_rro.addr_elem[0].phy_addr);
|
||||
|
||||
@@ -2597,7 +2597,7 @@ void mt7996_mac_reset_work(struct work_struct *work)
|
||||
mt7996_dma_start(dev, false, false);
|
||||
|
||||
if (!is_mt7996(&dev->mt76) && dev->mt76.hwrro_mode == MT76_HWRRO_V3)
|
||||
mt76_wr(dev, MT_RRO_3_0_EMU_CONF, MT_RRO_3_0_EMU_CONF_EN_MASK);
|
||||
mt76_set(dev, MT_RRO_3_0_EMU_CONF, MT_RRO_3_0_EMU_CONF_EN_MASK);
|
||||
|
||||
if (mtk_wed_device_active(&dev->mt76.mmio.wed)) {
|
||||
u32 wed_irq_mask = MT_INT_TX_DONE_BAND2 |
|
||||
|
||||
Reference in New Issue
Block a user