]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mt76: mt7921: handle MT7902 irq_map quirk with mutable copy
authorSean Wang <sean.wang@mediatek.com>
Thu, 19 Feb 2026 00:39:59 +0000 (18:39 -0600)
committerFelix Fietkau <nbd@nbd.name>
Tue, 24 Mar 2026 15:49:29 +0000 (15:49 +0000)
commit222606f43b587c9fb4ae063d04db146100c8951c
tree28c119d2b778b63d15388b96d6ee1b2aaa12faeb
parent918af1f87f7de988a7e84a7a85390a7d626ee189
wifi: mt76: mt7921: handle MT7902 irq_map quirk with mutable copy

MT7902 PCIe requires a different wm2_complete_mask value, so introduce a
mutable per-device copy of the default irq_map and override the field
only for this chip. Other devices continue using the shared const
template.

This is a prerequisite patch before enabling MT7902 PCIe support.

Co-developed-by: Xiong Huang <xiong.huang@mediatek.com>
Signed-off-by: Xiong Huang <xiong.huang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Link: https://patch.msgid.link/20260219004007.19733-3-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/pci.c