mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: fix queue assignment for disassoc packets
Like deauth, a disassoc frame sent to a client in powersave mode can get
stuck in a tx queue along with other buffered frames, filling up hardware
queues with frames that are only released after the WTBL slot is reused
for another client.
Move disassoc packets to the ALTX queue, matching the existing deauth
handling.
Fixes: dedf2ec30fe4 ("wifi: mt76: fix queue assignment for deauth packets")
Signed-off-by: Peter Chiu <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
0b09c6cbf9
commit
c488b587a9
@@ -689,6 +689,7 @@ mt76_txq_schedule_pending_wcid(struct mt76_phy *phy, struct mt76_wcid *wcid,
|
|||||||
!ieee80211_is_data_present(hdr->frame_control) &&
|
!ieee80211_is_data_present(hdr->frame_control) &&
|
||||||
(!ieee80211_is_bufferable_mmpdu(skb) ||
|
(!ieee80211_is_bufferable_mmpdu(skb) ||
|
||||||
ieee80211_is_deauth(hdr->frame_control) ||
|
ieee80211_is_deauth(hdr->frame_control) ||
|
||||||
|
ieee80211_is_disassoc(hdr->frame_control) ||
|
||||||
head == &wcid->tx_offchannel))
|
head == &wcid->tx_offchannel))
|
||||||
qid = MT_TXQ_PSD;
|
qid = MT_TXQ_PSD;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user