]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: 802.11: improve scan handling
authorBjoern A. Zeeb <bz@FreeBSD.org>
Sat, 10 Jun 2023 21:53:56 +0000 (21:53 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 26 Jun 2023 09:26:03 +0000 (09:26 +0000)
commit2c284913a97600a2c2bc1ee4fee4cdc0c4c2791c
tree6c4426c4559d72e54e20bfe0867ee25a91be0c65
parent38a7e400656f305389a76b4a1d2971b60ff7193c
LinuxKPI: 802.11: improve scan handling

Under certain circumstances a hw_scan may be downgraded to a software
scan.  Handle these situations better and make sure we free resources
in all cases once. [1]

Also leave a note about scanning all bands (or we would have to switch
bands manually).

In both cases hardware doing and driver saying seem not entirely
consistent for all and all firmware.

Sponsored by: The FreeBSD Foundation
Reported by: imp [1]

(cherry picked from commit 3206587a20de9810b549ba8fd0032f7ab884bbec)
sys/compat/linuxkpi/common/src/linux_80211.c
sys/compat/linuxkpi/common/src/linux_80211_macops.c