]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: 802.11: remove special handling for (*ic_scan_curchan)
authorBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 24 Mar 2022 17:32:07 +0000 (17:32 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Sun, 27 Mar 2022 18:12:36 +0000 (18:12 +0000)
commit5f88604cf7d9df1edbc662c4278e01476534f3ef
treee6f778d12bedd1630b884fd08eb4ca7cb9b173d5
parent39bc4b2949e2ac32ad211aa6f1859559e21c7eb2
LinuxKPI: 802.11: remove special handling for (*ic_scan_curchan)

Remove the originally disabling of (*ic_scan_curchan), which for iwlwifi
was not needed.  The condition always only was approximate.

A set IEEE80211_FEXT_SCAN_OFFLOAD will still prevent net80211 from sending
probe_reqs if handled by driver/firmware.
ic_scan_curchan will re-arm the timer to switch channels for drivers which
need it (e.g., rtw88, but that again is a NOP for iwlwifi).

So enabling ic_scan_curchan should not have further side effects for iwlwifi
but allow other drivers to work better.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 321735f451d1eaa710a768d9e35ff87acb089d35)
sys/compat/linuxkpi/common/src/linux_80211.c