wifi: mt76: mt7925: fix the wrong config for tx interrupt
authorMing Yen Hsieh <mingyen.hsieh@mediatek.com>
Thu, 12 Jun 2025 06:09:31 +0000 (14:09 +0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 7 Jul 2025 15:42:20 +0000 (17:42 +0200)
MT_INT_TX_DONE_MCU_WM may cause tx interrupt to be mishandled
during a reset failure, leading to the reset process failing.
By using MT_INT_TX_DONE_MCU instead of MT_INT_TX_DONE_MCU_WM,
the handling of tx interrupt is improved.

Cc: stable@vger.kernel.org
Fixes: c948b5da6bbe ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips")
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Link: https://patch.msgid.link/20250612060931.135635-1-mingyen.hsieh@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7925/regs.h

index 547489092c2947986eaad9001dffaf461be15276..341987e47f67a0a541d6b9f430c7731a097a028e 100644 (file)
@@ -58,7 +58,7 @@
 
 #define MT_INT_TX_DONE_MCU             (MT_INT_TX_DONE_MCU_WM |        \
                                         MT_INT_TX_DONE_FWDL)
-#define MT_INT_TX_DONE_ALL             (MT_INT_TX_DONE_MCU_WM |        \
+#define MT_INT_TX_DONE_ALL             (MT_INT_TX_DONE_MCU |   \
                                         MT_INT_TX_DONE_BAND0 | \
                                        GENMASK(18, 4))