[PATCH 0/3] wifi: mt76: drop TXRX_NOTIFY on non-mmio buses

From: Devin Wittmayer

Date: Sat Jun 27 2026 - 15:15:45 EST


PKT_TYPE_TXRX_NOTIFY is an mmio-only event, but the mt7921, mt7925 and
mt7615 RX classifiers dispatch it to *_mac_tx_free() on every bus. That
cleans the DMA tx queues via queue_ops->tx_cleanup(), a callback only
the mmio queue ops implement, so on USB or SDIO the event calls a NULL
pointer in the RX worker.

Reproduced on mt7921u (Alfa AWUS036AXML) and mt7925u (NETGEAR A9000):
the unpatched driver oopses, the patched driver drops the event. mt7615
is the same dispatch, fixed by inspection.

Each patch guards the path with mt76_is_mmio(), as in
commit 5683e1488aa9 ("wifi: mt76: connac: do not check WED status for
non-mmio devices").

Devin Wittmayer (3):
wifi: mt76: mt7921: drop TXRX_NOTIFY on non-mmio buses
wifi: mt76: mt7925: drop TXRX_NOTIFY on non-mmio buses
wifi: mt76: mt7615: drop TXRX_NOTIFY on non-mmio buses

drivers/net/wireless/mediatek/mt76/mt7615/mac.c | 6 ++++++
drivers/net/wireless/mediatek/mt76/mt7921/mac.c | 10 +++++++---
drivers/net/wireless/mediatek/mt76/mt7925/mac.c | 10 +++++++---
3 files changed, 20 insertions(+), 6 deletions(-)

--
2.54.0