HomeFreeBSD

LinuxKPI: 802.11: fix iwlwifi fw assert with older chipsets

Description

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

Details

Provenance
bzAuthored on Jun 11 2022, 12:49 PM
Parents
rG78bc019d220e: usr.bin/bc: update to version 5.3.1
Branches
Unknown
Tags
Unknown
Reverted By
rG9597f7cb99b0: Revert "LinuxKPI: 802.11: fix iwlwifi fw assert with older chipsets"