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
Approved by: re (cperciva)

(cherry picked from commit 16d987fe781780100a31df30b9edd79ebb54f957)
(cherry picked from commit e0692e7bb6e8abcc55a2510dceea5f83e823a827)

Details

Provenance
bzAuthored on May 12 2025, 3:12 PM
Parents
rGac1943f97c01: powerpc: Always use BE tag in nexus_map_resource
Branches
Unknown
Tags
Unknown