[PATCH mt76 2/6] wifi: mt76: mt7996: support critical packet mode for MT7990 chipsets

Lorenzo Bianconi lorenzo at kernel.org
Thu Mar 12 03:42:19 PDT 2026


> From: Howard Hsu <howard-yh.hsu at mediatek.com>
> 
> 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 at mediatek.com>
> Signed-off-by: Shayne Chen <shayne.chen at mediatek.com>

I guess we are missing a Fixes tag here.

Regards,
Lorenzo

> ---
>  drivers/net/wireless/mediatek/mt76/mt7996/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/main.c b/drivers/net/wireless/mediatek/mt76/mt7996/main.c
> index e1e51c9a0767..d286dedddd9b 100644
> --- a/drivers/net/wireless/mediatek/mt76/mt7996/main.c
> +++ b/drivers/net/wireless/mediatek/mt76/mt7996/main.c
> @@ -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);
> -- 
> 2.51.0
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20260312/0df84328/attachment.sig>


More information about the Linux-mediatek mailing list