> Since commit 3999d15cfcc7 ("wifi: mt76: fix queue assignment for > disassoc packets"), a Disassociation frame to an associated station goes > to the ALTX queue. The hardware sends ALTX frames at once, also to a > station in power save. A sleeping station thus misses the frame and > stays associated until it detects the disconnection by itself. > > Send Disassociation frames on the AC queue like other bufferable MMPDUs, > so that they wait until the station wakes. If the station does not wake, > hostapd removes it when the wait for the TX status ends. Keep > Deauthentication frames on the ALTX queue, so that hostapd removes a > deauthenticated station at once. > > Fixes: 3999d15cfcc7 ("wifi: mt76: fix queue assignment for disassoc packets") > Signed-off-by: Felix Fietkau Reviewed-by: Lorenzo Bianconi > --- > drivers/net/wireless/mediatek/mt76/tx.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/net/wireless/mediatek/mt76/tx.c b/drivers/net/wireless/mediatek/mt76/tx.c > index 72d1021a940f..d8036466f495 100644 > --- a/drivers/net/wireless/mediatek/mt76/tx.c > +++ b/drivers/net/wireless/mediatek/mt76/tx.c > @@ -729,7 +729,6 @@ mt76_txq_schedule_pending_wcid(struct mt76_phy *phy, struct mt76_wcid *wcid, > (!(wcid->tx_info & MT_WCID_TX_INFO_SET) || > !ieee80211_is_bufferable_mmpdu(skb) || > ieee80211_is_deauth(hdr->frame_control) || > - ieee80211_is_disassoc(hdr->frame_control) || > head == &wcid->tx_offchannel)) > qid = MT_TXQ_PSD; > > -- > 2.47.3 > >