aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorSunil Dutt <usdutt@qti.qualcomm.com>2015-05-25 13:12:24 (GMT)
committerJouni Malinen <j@w1.fi>2015-06-04 10:55:16 (GMT)
commit94687a0aae16bf46e3cb256ead32368627d90cbd (patch)
treed44426a8bf472ac05c0caf0b699e1ba4a79b35c8 /wpa_supplicant/config.h
parent09d57ce40e396d4dd59fd1e93ce7b6b86c8bd581 (diff)
downloadhostap-94687a0aae16bf46e3cb256ead32368627d90cbd.zip
hostap-94687a0aae16bf46e3cb256ead32368627d90cbd.tar.gz
hostap-94687a0aae16bf46e3cb256ead32368627d90cbd.tar.bz2
WPS: Allow the priority for the WPS networks to be configured
This commit adds a configurable parameter (wps_priority) to specify the priority for the networks derived through WPS connection. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index 16681fd..545a4bd 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -1164,6 +1164,14 @@ struct wpa_config {
* reassoc_same_bss_optim - Whether to optimize reassoc-to-same-BSS
*/
int reassoc_same_bss_optim;
+
+ /**
+ * wps_priority - Priority for the networks added through WPS
+ *
+ * This priority value will be set to each network profile that is added
+ * by executing the WPS protocol.
+ */
+ int wps_priority;
};