wifi: mt76: fix queue assignment for deauth packets
authorFelix Fietkau <nbd@nbd.name>
Mon, 7 Jul 2025 15:47:02 +0000 (17:47 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 7 Jul 2025 16:02:26 +0000 (18:02 +0200)
commitdedf2ec30fe417d181490896adf89cd6b9885b23
tree2228a53739c606f10ee3c2e2f73d26dc47626a07
parentdc66a129adf1f25e944d0b93cd2df2ee0f0bd4d6
wifi: mt76: fix queue assignment for deauth packets

When running in AP mode and deauthenticating a client that's in powersave
mode, the disassoc/deauth packet can get stuck in a tx queue along with
other buffered frames. This can fill up hardware queues with frames
that are only released after the WTBL slot is reused for another client.

Fix this by moving deauth packets to the ALTX queue.

Reported-by: Chad Monroe <chad.monroe@adtran.com>
Link: https://patch.msgid.link/20250707154702.1726-2-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/tx.c