aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/scan.h
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2014-12-29 06:41:06 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-04 21:06:31 (GMT)
commit56c76fa592d672198f9e58aec60818b92472db66 (patch)
treeeefd3d32007d079c63bf4b47f5b34ce555a6405b /wpa_supplicant/scan.h
parent86056fea63b7bc9bca170dd3c7daf6f2b699e535 (diff)
downloadhostap-56c76fa592d672198f9e58aec60818b92472db66.zip
hostap-56c76fa592d672198f9e58aec60818b92472db66.tar.gz
hostap-56c76fa592d672198f9e58aec60818b92472db66.tar.bz2
scan: Add MAC address randomization in scan handling
1. Supported MAC address randomization for scan. 2. Supported MAC address randomization for scheduled scan. 2. Supported MAC address randomization for pno. 4. Add functions to set and clear the MAC address randomization state variables. Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Diffstat (limited to 'wpa_supplicant/scan.h')
-rw-r--r--wpa_supplicant/scan.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/scan.h b/wpa_supplicant/scan.h
index 946d2b3..7650f5a 100644
--- a/wpa_supplicant/scan.h
+++ b/wpa_supplicant/scan.h
@@ -49,4 +49,10 @@ void wpa_scan_free_params(struct wpa_driver_scan_params *params);
int wpas_start_pno(struct wpa_supplicant *wpa_s);
int wpas_stop_pno(struct wpa_supplicant *wpa_s);
+void wpas_mac_addr_rand_scan_clear(struct wpa_supplicant *wpa_s,
+ unsigned int type);
+int wpas_mac_addr_rand_scan_set(struct wpa_supplicant *wpa_s,
+ unsigned int type, const u8 *addr,
+ const u8 *mask);
+
#endif /* SCAN_H */