aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant.conf
diff options
context:
space:
mode:
authorStefan Tomanek <stefan.tomanek@wertarbyte.de>2015-01-05 20:08:49 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-10 15:35:53 (GMT)
commitb83e455451a875ba233b3b8ac29aff8b62f064f2 (patch)
tree37841cc6f6991da2d725e9cab0a3107db08433b9 /wpa_supplicant/wpa_supplicant.conf
parentb3d6a0a8259002448a29f14855d58fe0a624ab76 (diff)
downloadhostap-b83e455451a875ba233b3b8ac29aff8b62f064f2.zip
hostap-b83e455451a875ba233b3b8ac29aff8b62f064f2.tar.gz
hostap-b83e455451a875ba233b3b8ac29aff8b62f064f2.tar.bz2
Add network specific BSSID black and white lists
This change adds the configuration options "bssid_whitelist" and "bssid_blacklist" used to limit the AP selection of a network to a specified (finite) set or discard certain APs. This can be useful for environments where multiple networks operate using the same SSID and roaming between those is not desired. It is also useful to ignore a faulty or otherwise unwanted AP. Signed-off-by: Stefan Tomanek <stefan.tomanek@wertarbyte.de>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant.conf')
-rw-r--r--wpa_supplicant/wpa_supplicant.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf
index e78c0dd..4b2c3cc 100644
--- a/wpa_supplicant/wpa_supplicant.conf
+++ b/wpa_supplicant/wpa_supplicant.conf
@@ -1431,6 +1431,21 @@ network={
key_mgmt=NONE
}
+# Example configuration blacklisting two APs - these will be ignored
+# for this network.
+network={
+ ssid="example"
+ psk="very secret passphrase"
+ bssid_blacklist=02:11:22:33:44:55 02:22:aa:44:55:66
+}
+
+# Example configuration limiting AP selection to a specific set of APs;
+# any other AP will be ignored for this network entry.
+network={
+ ssid="example"
+ psk="very secret passphrase"
+ bssid_whitelist=02:55:ae:bc:de:f0 02:88:77:66:55:44
+}
# Example config file that will only scan on channel 36.
freq_list=5180