aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant.conf
diff options
context:
space:
mode:
authorStefan Tomanek <stefan.tomanek@wertarbyte.de>2015-01-05 20:10:16 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-10 15:35:53 (GMT)
commit79cd993a623e101952b81fa6a29c674cd858504f (patch)
treef1ff8efd459085ee332c411b8f87eb48bda96a4e /wpa_supplicant/wpa_supplicant.conf
parentb83e455451a875ba233b3b8ac29aff8b62f064f2 (diff)
downloadhostap-79cd993a623e101952b81fa6a29c674cd858504f.zip
hostap-79cd993a623e101952b81fa6a29c674cd858504f.tar.gz
hostap-79cd993a623e101952b81fa6a29c674cd858504f.tar.bz2
Add address masks to BSSID lists
In many applications it is useful not just to enumerate a group of well known access points, but to use a address/mask notation to match an entire set of addresses (ca:ff:ee:00:00:00/ff:ff:ff:00:00:00). This change expands the data structures used by MAC lists to include a mask indicating the significant (non-masked) portions of an address and extends the list parser to recognize mask suffixes. Signed-off-by: Stefan Tomanek <stefan.tomanek@wertarbyte.de>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant.conf')
-rw-r--r--wpa_supplicant/wpa_supplicant.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf
index 4b2c3cc..cf5230a 100644
--- a/wpa_supplicant/wpa_supplicant.conf
+++ b/wpa_supplicant/wpa_supplicant.conf
@@ -1440,11 +1440,11 @@ network={
}
# Example configuration limiting AP selection to a specific set of APs;
-# any other AP will be ignored for this network entry.
+# any other AP not matching the masked address will be ignored.
network={
ssid="example"
psk="very secret passphrase"
- bssid_whitelist=02:55:ae:bc:de:f0 02:88:77:66:55:44
+ bssid_whitelist=02:55:ae:bc:00:00/ff:ff:ff:ff:00:00 00:00:77:66:55:44/00:00:ff:ff:ff:ff
}
# Example config file that will only scan on channel 36.