]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: mt76: mt7996: disable UNI_BSS_INFO_PROTECT_INFO for mt7996
authorRyder Lee <ryder.lee@mediatek.com>
Wed, 25 Mar 2026 17:17:23 +0000 (10:17 -0700)
committerFelix Fietkau <nbd@nbd.name>
Tue, 9 Jun 2026 10:18:05 +0000 (10:18 +0000)
The current MT7996 firmware causes TX failure and need further
investigation, so it is temporarily disabled.

MT7992 and MT7990 are working normally.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Link: https://patch.msgid.link/6427326eb4e8f375c63379f7a0df7e2ae9d120a4.1774458901.git.ryder.lee@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c

index a14c63438923d60a0df7c7c436fc69a292dc9de2..f119f023bcd57929d5f191908ff99ef4bf62f42a 100644 (file)
@@ -1281,6 +1281,10 @@ int mt7996_mcu_set_protection(struct mt7996_phy *phy, struct mt7996_vif_link *li
                PROT_NONGF_STA   = BIT(7),
        };
 
+       /* The current firmware causes TX failure. Need further investigation */
+       if (is_mt7996(&dev->mt76))
+               return 0;
+
        skb = __mt7996_mcu_alloc_bss_req(&dev->mt76, &link->mt76,
                                         MT7996_BSS_UPDATE_MAX_SIZE);
        if (IS_ERR(skb))