aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/config_file.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2018-06-04 12:16:54 (GMT)
committerJouni Malinen <j@w1.fi>2018-06-05 17:16:37 (GMT)
commitc6f2eceb8b36853ee190826f63dbbbd61249ba40 (patch)
tree9f8963da829f1128183a01c226db1e0b9837f075 /hostapd/config_file.c
parent3d9cd08410dbe08e3db2e0d41be0cb3763fd17c3 (diff)
downloadhostap-c6f2eceb8b36853ee190826f63dbbbd61249ba40.zip
hostap-c6f2eceb8b36853ee190826f63dbbbd61249ba40.tar.gz
hostap-c6f2eceb8b36853ee190826f63dbbbd61249ba40.tar.bz2
FT: Add key management value FT-EAP-SHA384 for hostapd
This allows hostapd to be configuted to use the SHA384-based FT AKM. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/config_file.c')
-rw-r--r--hostapd/config_file.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index 412f61f..37308db 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -1,6 +1,6 @@
/*
* hostapd / Configuration file parser
- * Copyright (c) 2003-2015, Jouni Malinen <j@w1.fi>
+ * Copyright (c) 2003-2018, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
@@ -772,6 +772,10 @@ static int hostapd_config_parse_key_mgmt(int line, const char *value)
val |= WPA_KEY_MGMT_FT_PSK;
else if (os_strcmp(start, "FT-EAP") == 0)
val |= WPA_KEY_MGMT_FT_IEEE8021X;
+#ifdef CONFIG_SHA384
+ else if (os_strcmp(start, "FT-EAP-SHA384") == 0)
+ val |= WPA_KEY_MGMT_FT_IEEE8021X_SHA384;
+#endif /* CONFIG_SHA384 */
#endif /* CONFIG_IEEE80211R_AP */
#ifdef CONFIG_IEEE80211W
else if (os_strcmp(start, "WPA-PSK-SHA256") == 0)