]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
wifi: mt76: prevent non-offchannel mgmt tx during scan/roc
authorFelix Fietkau <nbd@nbd.name>
Wed, 13 Aug 2025 12:11:06 +0000 (14:11 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 27 Aug 2025 09:20:25 +0000 (11:20 +0200)
commit4c2334587b0a13b8f4eda1336ae657297fcd743b
treea561f1190cd5baf0ba5fa7a64353be5a69778a7e
parentdd6e89cad9951acef3723f3f21b2e892a23b371b
wifi: mt76: prevent non-offchannel mgmt tx during scan/roc

Only put probe request packets in the offchannel queue if
IEEE80211_TX_CTRL_DONT_USE_RATE_MASK is set and IEEE80211_TX_CTL_TX_OFFCHAN
is unset.

Fixes: 0b3be9d1d34e ("wifi: mt76: add separate tx scheduling queue for off-channel tx")
Reported-by: Chad Monroe <chad.monroe@adtran.com>
Link: https://patch.msgid.link/20250813121106.81559-2-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/tx.c