HomeFreeBSD

LinuxKPI: 802.11: add unconditional error reporting

Description

LinuxKPI: 802.11: add unconditional error reporting

Multiple reports have shown missed state transitions in net80211 without
major cause obvious (or with a txq warning in iwlwifi).
In order to better track down potential problems add unconditional
ic_printf calls to any case in the lkpi state machine compat code which
would let us return with an error in the hope that it helps us to catch
the actual problems.
Also remove the debug conditions from ieee80211_{beacon,connection}_loss
which can also cause state transitions to have the ic_printf all the time
there too.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 018d93ece16bd33077021383940d0da5121f0691)

Details

Provenance
bzAuthored on Oct 9 2023, 7:11 PM
Parents
rG2f8b5e1af04a: net80211: make ieee80211_alloc_node() private
Branches
Unknown
Tags
Unknown