]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: mt76: mt7996: support critical packet mode for MT7990 chipsets
authorHoward Hsu <howard-yh.hsu@mediatek.com>
Thu, 12 Mar 2026 09:57:20 +0000 (17:57 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 24 Mar 2026 15:49:31 +0000 (15:49 +0000)
For MT7990 chipsets, critical packet mode must be enabled. Without this,
some higher priority packets may be placed in the wrong AC queue.

Signed-off-by: Howard Hsu <howard-yh.hsu@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Link: https://patch.msgid.link/20260312095724.2117448-2-shayne.chen@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/main.c

index 39e1999143dab69c40e4c0b336e7704032d24638..834edd31458d57a21fc2e02d429ea139057aa60b 100644 (file)
@@ -56,7 +56,7 @@ static int mt7996_start(struct ieee80211_hw *hw)
 
        mutex_lock(&dev->mt76.mutex);
        ret = mt7996_mcu_set_hdr_trans(dev, true);
-       if (!ret && is_mt7992(&dev->mt76)) {
+       if (!ret && !is_mt7996(&dev->mt76)) {
                u8 queue = mt76_connac_lmac_mapping(IEEE80211_AC_VI);
 
                ret = mt7996_mcu_cp_support(dev, queue);