From: Felix Fietkau Date: Mon, 15 Sep 2025 07:59:04 +0000 (+0200) Subject: wifi: mt76: use altx queue for offchannel tx on connac+ X-Git-Tag: v6.18-rc1~132^2~56^2~27^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12911593efa97abc27b75e98c530b8b1193c384b;p=thirdparty%2Fkernel%2Flinux.git wifi: mt76: use altx queue for offchannel tx on connac+ This ensures that packets are sent out immediately and are not held by firmware internal buffering. Link: https://patch.msgid.link/20250915075910.47558-9-nbd@nbd.name Signed-off-by: Felix Fietkau --- diff --git a/drivers/net/wireless/mediatek/mt76/tx.c b/drivers/net/wireless/mediatek/mt76/tx.c index 8ab5840fee57f..b78ae6a34b658 100644 --- a/drivers/net/wireless/mediatek/mt76/tx.c +++ b/drivers/net/wireless/mediatek/mt76/tx.c @@ -618,7 +618,8 @@ mt76_txq_schedule_pending_wcid(struct mt76_phy *phy, struct mt76_wcid *wcid, !(info->flags & IEEE80211_TX_CTL_HW_80211_ENCAP) && !ieee80211_is_data(hdr->frame_control) && (!ieee80211_is_bufferable_mmpdu(skb) || - ieee80211_is_deauth(hdr->frame_control))) + ieee80211_is_deauth(hdr->frame_control) || + head == &wcid->tx_offchannel)) qid = MT_TXQ_PSD; q = phy->q_tx[qid];