aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-03-11 22:32:23 (GMT)
committerJouni Malinen <j@w1.fi>2017-03-12 17:24:11 (GMT)
commita1ea1b4522fbb2550d2981fcf6f782b402e077e3 (patch)
treeaed7a7294386eb97003f0b9ee9075abafd77125c /wpa_supplicant/config.c
parent9c7aac738b77505b074baa4dee9452ebaebb4891 (diff)
downloadhostap-a1ea1b4522fbb2550d2981fcf6f782b402e077e3.zip
hostap-a1ea1b4522fbb2550d2981fcf6f782b402e077e3.tar.gz
hostap-a1ea1b4522fbb2550d2981fcf6f782b402e077e3.tar.bz2
OWE: Define and parse OWE AKM selector
This adds a new RSN AKM "OWE". Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/config.c')
-rw-r--r--wpa_supplicant/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index 676b618..f56b49b 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -732,6 +732,10 @@ static int wpa_config_parse_key_mgmt(const struct parse_data *data,
val |= WPA_KEY_MGMT_FT_FILS_SHA384;
#endif /* CONFIG_IEEE80211R */
#endif /* CONFIG_FILS */
+#ifdef CONFIG_OWE
+ else if (os_strcmp(start, "OWE") == 0)
+ val |= WPA_KEY_MGMT_OWE;
+#endif /* CONFIG_OWE */
else {
wpa_printf(MSG_ERROR, "Line %d: invalid key_mgmt '%s'",
line, start);