aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-12-21 13:59:25 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-21 13:59:25 (GMT)
commitc0e4dd9eeb96fa39cc8bd6151fbf5a7a9cc46a97 (patch)
treed376612ff9471a2b92ec23ef32a710d22a4435ca /wpa_supplicant/config.h
parentb64576fcf511dc7f705708e6640bbef76ead4b7b (diff)
downloadhostap-c0e4dd9eeb96fa39cc8bd6151fbf5a7a9cc46a97.zip
hostap-c0e4dd9eeb96fa39cc8bd6151fbf5a7a9cc46a97.tar.gz
hostap-c0e4dd9eeb96fa39cc8bd6151fbf5a7a9cc46a97.tar.bz2
WPS: Make Config Methods configurable for wpa_supplicant
This adds config_methods configuration option for wpa_supplicant following the design used in hostapd. In addition, the string is now parsed in common code from src/wps/wps_common.c and the list of configurable methods include all the defined methods from WPS 1.0h spec.
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index 84eef48..bdc3553 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -298,6 +298,16 @@ struct wpa_config {
char *device_type;
/**
+ * config_methods - Config Methods
+ *
+ * This is a space-separated list of supported WPS configuration
+ * methods. For example, "label display push_button keypad".
+ * Available methods: usba ethernet label display ext_nfc_token
+ * int_nfc_token nfc_interface push_button keypad.
+ */
+ char *config_methods;
+
+ /**
* os_version - OS Version (WPS)
* 4-octet operating system version number
*/