diff mbox series

conf: Remove deprecated text for ap_scan=0

Message ID 20200120183644.7973-1-chaitanya.mgit@gmail.com
State Accepted
Headers show
Series conf: Remove deprecated text for ap_scan=0 | expand

Commit Message

Krishna Chaitanya Jan. 20, 2020, 6:36 p.m. UTC
From: Chaitanya Tata <chaitanya.tata@bluwireless.com>

Users might be tempted to try ap_scan=0 for offloading scan,
ap_selection and WPA to driver, update the text to reflect that this is
deprecated.

Jouni confirmed deprecation in
https://www.spinics.net/lists/hostap/msg06482.html

Signed-off-by: Chaitanya Tata <chaitanya.tata@bluwireless.com>
---
 wpa_supplicant/wpa_supplicant.conf | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Comments

Jouni Malinen Jan. 21, 2020, 5:34 p.m. UTC | #1
On Tue, Jan 21, 2020 at 12:06:44AM +0530, chaitanya.mgit@gmail.com wrote:
> Users might be tempted to try ap_scan=0 for offloading scan,
> ap_selection and WPA to driver, update the text to reflect that this is
> deprecated.
> 
> Jouni confirmed deprecation in
> https://www.spinics.net/lists/hostap/msg06482.html

Thanks, applied.
diff mbox series

Patch

diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf
index 328f91a97..48af20ed0 100644
--- a/wpa_supplicant/wpa_supplicant.conf
+++ b/wpa_supplicant/wpa_supplicant.conf
@@ -94,11 +94,8 @@  eapol_version=1
 # 1: wpa_supplicant initiates scanning and AP selection; if no APs matching to
 #    the currently enabled networks are found, a new network (IBSS or AP mode
 #    operation) may be initialized (if configured) (default)
-# 0: driver takes care of scanning, AP selection, and IEEE 802.11 association
-#    parameters (e.g., WPA IE generation); this mode can also be used with
-#    non-WPA drivers when using IEEE 802.1X mode; do not try to associate with
-#    APs (i.e., external program needs to control association). This mode must
-#    also be used when using wired Ethernet drivers (including MACsec).
+# 0: This mode must only be used when using wired Ethernet drivers
+#    (including MACsec).
 # 2: like 0, but associate with APs using security policy and SSID (but not
 #    BSSID); this can be used, e.g., with ndiswrapper and NDIS drivers to
 #    enable operation with hidden SSIDs and optimized roaming; in this mode,
@@ -106,8 +103,8 @@  eapol_version=1
 #    the driver reports successful association; each network block should have
 #    explicit security policy (i.e., only one option in the lists) for
 #    key_mgmt, pairwise, group, proto variables
-# Note: ap_scan=2 should not be used with the nl80211 driver interface (the
-# current Linux interface). ap_scan=1 is optimized work working with nl80211.
+# Note: ap_scan=0/2 should not be used with the nl80211 driver interface (the
+# current Linux interface). ap_scan=1 is the only option working with nl80211.
 # For finding networks using hidden SSID, scan_ssid=1 in the network block can
 # be used with nl80211.
 # When using IBSS or AP mode, ap_scan=2 mode can force the new network to be