]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: 802.11: add unconditional error reporting
authorBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 9 Oct 2023 19:11:50 +0000 (19:11 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 9 Oct 2023 19:21:51 +0000 (19:21 +0000)
commit018d93ece16bd33077021383940d0da5121f0691
tree2f68bcb5ae7d921ba66d19bedbaca8ada6c358a0
parent5d371834d29c3c716148f201bb8c1f68f15218fb
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
MFC after: 3 days
sys/compat/linuxkpi/common/src/linux_80211.c