wlan0 no longer functional after n249128-a0c64a443e4c -> n249146-cb5c07649aa0

From: David Wolfskill <david_at_catwhisker.org>
Date: Sun, 05 Sep 2021 12:52:50 UTC
Sorry I hadn't noticed this yesterday (so I could have repported it
then), but after updating the "head" slice of my laptopp from:

FreeBSD g1-51.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #340 main-n249128-a0c64a443e4c: Fri Sep  3 04:06:12 PDT 2021     root@g1-55.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY  amd64 1400032 1400032

to:

FreeBSD g1-51.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #341 main-n249146-cb5c07649aa0: Sat Sep  4 04:28:27 PDT 2021     root@g1-51.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY  amd64 1400032 1400032

I find that while the em0 NIC still works, wlan0 (iwn(4) HW) does not:
the WLAN LED doesn't light up.

After the update from:

FreeBSD localhost 14.0-CURRENT FreeBSD 14.0-CURRENT #341 main-n249146-cb5c07649aa0: Sat Sep  4 04:28:27 PDT 2021     root@g1-51.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY  amd64 1400032 1400032

to:

FreeBSD g1-51.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #342 main-n249159-bb61ccd530b7: Sun Sep  5 04:44:48 PDT 2021     root@localhost:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY  amd64 1400032 1400032

(from this morning), that behavior remains the same.  The page
https://www.catwhisker.org/~david/FreeBSD/history/ has links to
various bits, some of which may be relevant; dmesg.boot from a
verbose boot of that laptop from this morning (after the update to
main-n249159-bb61ccd530b7) (for example) is at
https://www.catwhisker.org/~david/FreeBSD/history/laptop.14_dmesg.txt, and
shows:

...
pcib3: slot 0 INTA hardwired to IRQ 18
iwn0: <Intel Centrino Ultimate-N 6300> mem 0xf7000000-0xf7001fff irq 18 at device 0.0 on pci3
iwn0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 37 to local APIC 1 vector 49
iwn0: using IRQ 37 for MSI
iwn0: MIMO 3T3R, MoW, address 3c:a9:f4:ba:87:c4
iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 2T2R
iwn0: 11na MCS 20MHz
iwn0: MCS 0-7: 6.5Mbps - 65Mbps
iwn0: MCS 8-15: 13Mbps - 130Mbps
iwn0: 11na MCS 20MHz SGI
iwn0: MCS 0-7: 7Mbps - 72Mbps
iwn0: MCS 8-15: 14.5Mbps - 144.5Mbps
iwn0: 11na MCS 40MHz:
iwn0: MCS 0-7: 13.5Mbps - 135Mbps
iwn0: MCS 8-15: 27Mbps - 270Mbps
iwn0: 11na MCS 40MHz SGI:
iwn0: MCS 0-7: 15Mbps - 150Mbps
iwn0: MCS 8-15: 30Mbps - 300Mbps
iwn0: 11ng MCS 20MHz
iwn0: MCS 0-7: 6.5Mbps - 65Mbps
iwn0: MCS 8-15: 13Mbps - 130Mbps
iwn0: 11ng MCS 20MHz SGI
iwn0: MCS 0-7: 7Mbps - 72Mbps
iwn0: MCS 8-15: 14.5Mbps - 144.5Mbps
iwn0: 11ng MCS 40MHz:
iwn0: MCS 0-7: 13.5Mbps - 135Mbps
iwn0: MCS 8-15: 27Mbps - 270Mbps
iwn0: 11ng MCS 40MHz SGI:
iwn0: MCS 0-7: 15Mbps - 150Mbps
iwn0: MCS 8-15: 30Mbps - 300Mbps
pcib4: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
....

I note that the subject update also included updates to
contrib/wpa/wpa_supplicant, as well as some files in sys/net80211,
but I have not started chasing that down.

I note that exactly the same hardware works OK in stable/12 and stable/13.

Peace,
david
-- 
David H. Wolfskill                              david@catwhisker.org
Life is not intended to be a zero-sum game.

See https://www.catwhisker.org/~david/publickey.gpg for my public key.