iwlwifi auth->scan error/panic

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sat, 01 Jan 2022 00:03:13 UTC

I got two reports in the last three days from people who have traces
showing the driver attaching, scanning and starting to authenticate/associate
and (in one case) apparently having succeeded but then bounce back to

The two cases are different but essentially mean net80211 or
iwlwifi/firmware didn't see some frames it expected (or there is also
a possibility of a logic bug between mac80211/iwlwifi still;  I had
cherry-picked some fixes for that already).

Long story short:  in the follow-up of the  auth_to_scan change people
are seeing firmware crashes or in a follow-up even a panic.

I'll be looking into those the first days in the New Year.
If you have such a case please make sure to turn on wlandebug with
"+auth +scan +state +node" at least (see wiki for how to do this in
rc.conf [1]) and drop me a private email with the log.


[1] https://wiki.freebsd.org/WiFi/Iwlwifi#Wireless_Configuration

Bjoern A. Zeeb                                                     r15:7