Skip to content

Commit 3c0fd03

Browse files
Ming Yen Hsiehopsiff
authored andcommitted
wifi: mt76: mt7925: fix fw download fail
stable inclusion from stable-v6.8.2 category: bugfix [ Upstream commit 6864bc7 ] Add an address of fw region for fw download. Fixes: c948b5d ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips") Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Sasha Levin <sashal@kernel.org> (cherry picked from commit e46b630) [Guan Wentao: skip the commit a63b75a ("wifi: mt76: connac: add firmware support for mt7992") cause the context diff, but we don`t pick now for it takes more effect to pick more change for mt7996] Signed-off-by: Wentao Guan <guanwentao@uniontech.com> Conflicts: drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
1 parent 2b4e34c commit 3c0fd03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ int mt76_connac_mcu_init_download(struct mt76_dev *dev, u32 addr, u32 len,
6666

6767
if ((!is_connac_v1(dev) && addr == MCU_PATCH_ADDRESS) ||
6868
(is_mt7921(dev) && addr == 0x900000) ||
69-
(is_mt7925(dev) && addr == 0x900000) ||
69+
(is_mt7925(dev) && (addr == 0x900000 || addr == 0xe0002800)) ||
7070
(is_mt7996(dev) && addr == 0x900000))
7171
cmd = MCU_CMD(PATCH_START_REQ);
7272
else

0 commit comments

Comments
 (0)