aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/scan.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-02-16 14:30:13 (GMT)
committerJouni Malinen <j@w1.fi>2012-02-16 14:30:13 (GMT)
commitd445a5cd8ebb9bb10edb8a8293fae1a866331682 (patch)
tree20d6d1d9247b4b4a648db04bdc69dbde841c34de /wpa_supplicant/scan.h
parentb2ff168128cde761e510eac46092ee2c50099535 (diff)
downloadhostap-d445a5cd8ebb9bb10edb8a8293fae1a866331682.zip
hostap-d445a5cd8ebb9bb10edb8a8293fae1a866331682.tar.gz
hostap-d445a5cd8ebb9bb10edb8a8293fae1a866331682.tar.bz2
Add BSSID filter for testing purposes
wpa_supplicant can now be configured to filter out scan results based on a BSSID filter. Space-separated set of allowed BSSIDs can be set with wpa_cli set bssid_filter command. Filtering mechanism can be disabled by setting this variable to an empty list. When set, only the BSSes that have a matching entry in this list will be accepted from scan results. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/scan.h')
-rw-r--r--wpa_supplicant/scan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/scan.h b/wpa_supplicant/scan.h
index b794105..8c83a42 100644
--- a/wpa_supplicant/scan.h
+++ b/wpa_supplicant/scan.h
@@ -32,5 +32,7 @@ struct wpabuf * wpa_scan_get_vendor_ie_multi(const struct wpa_scan_res *res,
u32 vendor_type);
struct wpabuf * wpa_scan_get_vendor_ie_multi_beacon(
const struct wpa_scan_res *res, u32 vendor_type);
+int wpa_supplicant_filter_bssid_match(struct wpa_supplicant *wpa_s,
+ const u8 *bssid);
#endif /* SCAN_H */