aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2011-10-05 14:08:18 (GMT)
committerJouni Malinen <j@w1.fi>2011-10-16 20:55:34 (GMT)
commit67e1b98463824428192b94259c3c4d4d29563a32 (patch)
tree9e60ed582077f3b6b9dce9d6e25ec0a977c49292 /wpa_supplicant/config.h
parent73c41a8fabdcf924434a49f9e69ed3cd31af1512 (diff)
downloadhostap-67e1b98463824428192b94259c3c4d4d29563a32.zip
hostap-67e1b98463824428192b94259c3c4d4d29563a32.tar.gz
hostap-67e1b98463824428192b94259c3c4d4d29563a32.tar.bz2
Interworking: Support username/password based network selection
Add support for network selection for username/password credentials with EAP-TTLS and EAP-PEAP. The new global configuration parameters home_username, home_password, and home_ca_cert can be used to specify credentials for network selection.
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index de14732..62cac75 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -445,6 +445,21 @@ struct wpa_config {
* home_realm - Home Realm for Interworking
*/
char *home_realm;
+
+ /**
+ * home_username - Username for Interworking network selection
+ */
+ char *home_username;
+
+ /**
+ * home_password - Password for Interworking network selection
+ */
+ char *home_password;
+
+ /**
+ * home_ca_cert - CA certificate for Interworking network selection
+ */
+ char *home_ca_cert;
};
@@ -461,6 +476,8 @@ int wpa_config_remove_network(struct wpa_config *config, int id);
void wpa_config_set_network_defaults(struct wpa_ssid *ssid);
int wpa_config_set(struct wpa_ssid *ssid, const char *var, const char *value,
int line);
+int wpa_config_set_quoted(struct wpa_ssid *ssid, const char *var,
+ const char *value);
char ** wpa_config_get_all(struct wpa_ssid *ssid, int get_keys);
char * wpa_config_get(struct wpa_ssid *ssid, const char *var);
char * wpa_config_get_no_key(struct wpa_ssid *ssid, const char *var);