aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-01-22 18:50:01 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-22 18:50:01 (GMT)
commitc35e35ed8133bb6d7b96765c5f0b1d41efe09fc5 (patch)
treec8835ac2c8d43ab4dc611ece7832cf5e17f428af /wpa_supplicant/config.c
parent180a858f766dae14de6e68e528c6a1407d1419af (diff)
downloadhostap-c35e35ed8133bb6d7b96765c5f0b1d41efe09fc5.zip
hostap-c35e35ed8133bb6d7b96765c5f0b1d41efe09fc5.tar.gz
hostap-c35e35ed8133bb6d7b96765c5f0b1d41efe09fc5.tar.bz2
Add passive_scan configuration parameter
This new wpa_supplicant configuration parameter can be used to force passive scanning to be used for most scanning cases at the cost of increased latency and less reliably scans. This may be of use for both testing purposes and somewhat increased privacy due to no Probe Request frames with fixed MAC address being sent out. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config.c')
-rw-r--r--wpa_supplicant/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index 5d7a063..4a56abc 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -4129,6 +4129,7 @@ static const struct global_parse_data global_fields[] = {
{ INT(rand_addr_lifetime), 0 },
{ INT(preassoc_mac_addr), 0 },
{ INT(key_mgmt_offload), 0},
+ { INT(passive_scan), 0 },
};
#undef FUNC