mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-18 21:20:40 +02:00
We should use ap_scan=1 *except* for AP/IBSS/AdHoc, where ap_scan=2 is required. ap_scan for "infra" mode is all historical and was for old, crappy, and proprietary drivers that we should really stop hacking stuff for. Those drivers did not support probe-scanning for hidden APs and thus the supplicant just had to send all the config to the driver and hope things worked. All relevant and non-crappy drivers these days support at least one SSID probe and thus is_broadcast affecting ap_scan should no longer be something we support. If you have an old, crappy WEXT/proprietary/staging driver, and you use hidden APs, you're doing it wrong. So, in short, we must keep the ap_scan=2 logic for AP+AdHoc, but we can remove the is_broadcast and has_scan_capa_ssid arguments and the code where they change ap_scan. https://bugzilla.redhat.com/show_bug.cgi?id=1025371#c18 Signed-off-by: Thomas Haller <thaller@redhat.com> |
||
|---|---|---|
| .. | ||
| wifi-utils-nl80211.c | ||
| wifi-utils-nl80211.h | ||
| wifi-utils-private.h | ||
| wifi-utils-wext.c | ||
| wifi-utils-wext.h | ||
| wifi-utils.c | ||
| wifi-utils.h | ||