aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
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_ssid.h
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_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 6c6c32a..81f64a5 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -845,6 +845,45 @@ struct wpa_ssid {
* 1-65535 DH Group to use for FILS PFS
*/
int fils_dh_group;
+
+ /**
+ * dpp_connector - DPP Connector (signedConnector as string)
+ */
+ char *dpp_connector;
+
+ /**
+ * dpp_netaccesskey - DPP netAccessKey (own private key)
+ */
+ u8 *dpp_netaccesskey;
+
+ /**
+ * dpp_netaccesskey_len - DPP netAccessKey length in octets
+ */
+ size_t dpp_netaccesskey_len;
+
+ /**
+ * net_access_key_expiry - DPP netAccessKey expiry in UNIX time stamp
+ *
+ * 0 indicates no expiration.
+ */
+ unsigned int dpp_netaccesskey_expiry;
+
+ /**
+ * dpp_csign - C-sign-key (Configurator public key)
+ */
+ u8 *dpp_csign;
+
+ /**
+ * dpp_csign_len - C-sign-key length in octets
+ */
+ size_t dpp_csign_len;
+
+ /**
+ * dpp_csign_expiry - C-sign-key expiry in UNIX time stamp
+ *
+ * 0 indicates no expiration.
+ */
+ unsigned int dpp_csign_expiry;
};
#endif /* CONFIG_SSID_H */