NetworkManager/src/wifi
Thomas Haller 3c52e383f9 wifi: always assume can_scan_ssid and use ap_scan=1 for infra mode
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>
2013-12-12 11:33:17 +01:00
..
wifi-utils-nl80211.c wifi: always assume can_scan_ssid and use ap_scan=1 for infra mode 2013-12-12 11:33:17 +01:00
wifi-utils-nl80211.h wifi: let WEXT be disabled with --with-wext=no 2012-02-29 23:11:04 -06:00
wifi-utils-private.h wifi: always assume can_scan_ssid and use ap_scan=1 for infra mode 2013-12-12 11:33:17 +01:00
wifi-utils-wext.c wifi: always assume can_scan_ssid and use ap_scan=1 for infra mode 2013-12-12 11:33:17 +01:00
wifi-utils-wext.h wifi: let WEXT be disabled with --with-wext=no 2012-02-29 23:11:04 -06:00
wifi-utils.c wifi: always assume can_scan_ssid and use ap_scan=1 for infra mode 2013-12-12 11:33:17 +01:00
wifi-utils.h wifi: always assume can_scan_ssid and use ap_scan=1 for infra mode 2013-12-12 11:33:17 +01:00