aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorLior David <qca_liord@qca.qualcomm.com>2016-04-12 15:13:22 (GMT)
committerJouni Malinen <j@w1.fi>2016-05-14 16:43:30 (GMT)
commitb6317b417f5dfb16711ec1a7ab3600f77479fe20 (patch)
tree62d128043ddb759599c211cc3e470a3b5e4e6cbd /wpa_supplicant/config_ssid.h
parent23d71a028695ac8a7b6be7971a294b06c1eaa4fa (diff)
downloadhostap-b6317b417f5dfb16711ec1a7ab3600f77479fe20.zip
hostap-b6317b417f5dfb16711ec1a7ab3600f77479fe20.tar.gz
hostap-b6317b417f5dfb16711ec1a7ab3600f77479fe20.tar.bz2
wpa_supplicant: Add wps_disabled parameter to network block
Add a new parameter wps_disabled to network block (wpa_ssid). This parameter allows WPS functionality to be disabled in AP mode. Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index c2af91d..1ecdfc0 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -748,6 +748,14 @@ struct wpa_ssid {
* this MBSS will trigger a peering attempt.
*/
int no_auto_peer;
+
+ /**
+ * wps_disabled - WPS disabled in AP mode
+ *
+ * 0 = WPS enabled and configured (default)
+ * 1 = WPS disabled
+ */
+ int wps_disabled;
};
#endif /* CONFIG_SSID_H */