]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: mt76: connac: mark MT7902 as hw txp devices
authorSean Wang <sean.wang@mediatek.com>
Thu, 19 Feb 2026 00:40:01 +0000 (18:40 -0600)
committerFelix Fietkau <nbd@nbd.name>
Tue, 24 Mar 2026 15:49:29 +0000 (15:49 +0000)
Add MT7902 to is_mt76_fw_txp() so it follows the legacy TX descriptor
path like the other connac2 chips that return false.

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-5-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac.h

index 02bea67d37c3c49d929a41e2fb950dfa9ea45278..d868bb7c7ab8916d80ecae6a4b3f830e511066d5 100644 (file)
@@ -271,6 +271,7 @@ static inline bool is_mt76_fw_txp(struct mt76_dev *dev)
        case 0x7961:
        case 0x7920:
        case 0x7922:
+       case 0x7902:
        case 0x7925:
        case 0x7663:
        case 0x7622: