aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-01-18 10:27:12 (GMT)
committerJouni Malinen <j@w1.fi>2009-01-18 10:27:12 (GMT)
commit476621644cd3eb94f329bda755f3c639239d321c (patch)
tree202a0e00b9768a91d13606772316c4e4fa28de18 /wpa_supplicant/config.h
parenteca6e0a9a586b999ff9a51315cd741650997366f (diff)
downloadhostap-476621644cd3eb94f329bda755f3c639239d321c.zip
hostap-476621644cd3eb94f329bda755f3c639239d321c.tar.gz
hostap-476621644cd3eb94f329bda755f3c639239d321c.tar.bz2
WPS: Add configurable option for processing credentials externally
The wps_cred_process option can be used to configure wpa_supplicant to send received Credential attributes for external processing over ctrl_iface and dbus. This allows external programs to update their configuration when WPS is used to provision new networks.
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index 0cea4dc..4484e91 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -312,6 +312,17 @@ struct wpa_config {
* in
*/
char country[2];
+
+ /**
+ * wps_cred_processing - Credential processing
+ *
+ * 0 = process received credentials internally
+ * 1 = do not process received credentials; just pass them over
+ * ctrl_iface to external program(s)
+ * 2 = process received credentials internally and pass them over
+ * ctrl_iface to external program(s)
+ */
+ int wps_cred_processing;
};