aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_file.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-06-18 10:48:57 (GMT)
committerJouni Malinen <j@w1.fi>2017-06-19 18:13:17 (GMT)
commitb979caae57ad2189af6f4ec6dd00767163f9a4c5 (patch)
treeb58f40fd019da6e27d1f9e43efaf4166530fe46f /wpa_supplicant/config_file.c
parent0c52953b0fe598e045182fb983decc3c673c4d6d (diff)
downloadhostap-b979caae57ad2189af6f4ec6dd00767163f9a4c5.zip
hostap-b979caae57ad2189af6f4ec6dd00767163f9a4c5.tar.gz
hostap-b979caae57ad2189af6f4ec6dd00767163f9a4c5.tar.bz2
DPP: Network profile parameters for DPP AKM
Extend wpa_supplicant network profile to include parameters needed for the DPP AKM: dpp_connector, dpp_netaccesskey, dpp_netaccesskey_expiry, dpp_csign, dpp_csign_expiry. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_file.c')
-rw-r--r--wpa_supplicant/config_file.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index ceaf434..46a9e0b 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -849,6 +849,13 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
INT(wpa_ptk_rekey);
INT(group_rekey);
INT(ignore_broadcast_ssid);
+#ifdef CONFIG_DPP
+ STR(dpp_connector),
+ STR(dpp_netaccesskey),
+ INT(dpp_netaccesskey_expiry),
+ STR(dpp_csign),
+ INT(dpp_csign_expiry),
+#endif /* CONFIG_DPP */
#ifdef CONFIG_HT_OVERRIDES
INT_DEF(disable_ht, DEFAULT_DISABLE_HT);
INT_DEF(disable_ht40, DEFAULT_DISABLE_HT40);