HomeFreeBSD

LinuxKPI: 802.11: make sure AUTH frames are not being sent if BSS changed

Description

LinuxKPI: 802.11: make sure AUTH frames are not being sent if BSS changed

iwlwifi keeps logging 'Invalid TXQ id' even after previous changes to
catch the BSS changed. The reason for this is that we do not error in
the SCAN -> AUTH path as otherwise we would not have the state machine
get us back to SCAN to clear up firmware state before auth/assoc to the
new BSS.

If we are not in synch as net80211 just swapped the iv_bss from under us,
disable the TX queue for the (old) lsta to prevent the AUTH frame sent
from sta_newstate() reaching the driver. After all we are not trying to
authenticate to that node (sta) anymore.

Sponsored by: The FreeBSD Foundation
PR: 274382

(cherry picked from commit 16d987fe781780100a31df30b9edd79ebb54f957)

Details

Provenance
bzAuthored on May 12 2025, 3:12 PM
Parents
rG1d70da6aa294: LinuxKPI: add ktime_get_boottime_seconds()
Branches
Unknown
Tags
Unknown