]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: 802.11: fix iwlwifi fw assert with older chipsets
authorBjoern A. Zeeb <bz@FreeBSD.org>
Sat, 11 Jun 2022 12:49:40 +0000 (12:49 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Sat, 11 Jun 2022 12:49:40 +0000 (12:49 +0000)
commit013e516dc9b1b32e9422ab02a875a05fc2d32f39
tree8f72ffe7b81ef5c671c1599dd44448d17fb16765
parent78bc019d220e05abb5b12f678f9b4a847019bbcc
LinuxKPI: 802.11: fix iwlwifi fw assert with older chipsets

A problem which showed up on 13.1 between BETA3 and RC1 was that on older
chipsets the fw would crash.  While some 0x18 ADD_STA problems were seen
before, d9f59799fc3e was the actual trigger for this problem
(in 0x28 MAC_CONTEXT command) in a squashed merge to the releng branch.
Strangely there were no changes to assoc_to_run in that revision so other
circumstances may be the actual cause but swapping the bss_info update and
the sta_state in that function seem to make my 8265 happy while AX200 and
AX210 stay good.

Thanks to everyone who helped debug this.

Sponsored by: The FreeBSD Foundation (partially)
MFC after: 3 days
sys/compat/linuxkpi/common/src/linux_80211.c