path: root/wpa_supplicant/config.h
diff options
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.h
parent180a858f766dae14de6e68e528c6a1407d1419af (diff)
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.h')
1 files changed, 12 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index eeb4ba7..6adf1eb 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -1137,6 +1137,18 @@ struct wpa_config {
* By default: 300 seconds.
int mesh_max_inactivity;
+ /**
+ * passive_scan - Whether to force passive scan for network connection
+ *
+ * This parameter can be used to force only passive scanning to be used
+ * for network connection cases. It should be noted that this will slow
+ * down scan operations and reduce likelihood of finding the AP. In
+ * addition, some use cases will override this due to functional
+ * requirements, e.g., for finding an AP that uses hidden SSID
+ * (scan_ssid=1) or P2P device discovery.
+ */
+ int passive_scan;