aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant.conf
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2013-05-05 08:46:54 (GMT)
committerJouni Malinen <j@w1.fi>2013-05-05 08:46:54 (GMT)
commitf5ffc348dcc205ebd3391cc4ab060105a3f1d64d (patch)
tree8d8dcf0ad6ba2f74edaf9dc4db8674531ba58c50 /wpa_supplicant/wpa_supplicant.conf
parenta9008e43e555816aaf1f5a31d1cd22ad671b2e76 (diff)
downloadhostap-f5ffc348dcc205ebd3391cc4ab060105a3f1d64d.zip
hostap-f5ffc348dcc205ebd3391cc4ab060105a3f1d64d.tar.gz
hostap-f5ffc348dcc205ebd3391cc4ab060105a3f1d64d.tar.bz2
wpa_supplicant: Allow global scan frequencies configuration
This allows one to limit the channels that wpa_supplicant will scan. This is a useful addition to the freq_list configurable in the network {} section. Signed-hostap: Ben Greear <greearb@candelatech.com>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant.conf')
-rw-r--r--wpa_supplicant/wpa_supplicant.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf
index 0935a06..87dd397 100644
--- a/wpa_supplicant/wpa_supplicant.conf
+++ b/wpa_supplicant/wpa_supplicant.conf
@@ -524,6 +524,9 @@ fast_reauth=1
# set, scan results that do not match any of the specified frequencies are not
# considered when selecting a BSS.
#
+# This can also be set on the outside of the network block. In this case,
+# it limits the frequencies that will be scanned.
+#
# bgscan: Background scanning
# wpa_supplicant behavior for background scanning can be specified by
# configuring a bgscan module. These modules are responsible for requesting
@@ -1231,3 +1234,10 @@ SGVsbG8gV29ybGQhCg==
network={
key_mgmt=NONE
}
+
+
+# Example config file that will only scan on channel 36.
+freq_list=5180
+network={
+ key_mgmt=NONE
+}