aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorHu Wang <huw@qti.qualcomm.com>2014-03-25 19:39:02 (GMT)
committerJouni Malinen <j@w1.fi>2014-05-09 17:42:44 (GMT)
commitdd10abccc86d29ee828e7548ec1c3500aa813b9e (patch)
treec5edb6dad5fe9b19b78c54e2b15e78197f96afa4 /wpa_supplicant/config_ssid.h
parent887d9d01abc79cc6f799ef33a3c3a9355b1aa45c (diff)
downloadhostap-dd10abccc86d29ee828e7548ec1c3500aa813b9e.zip
hostap-dd10abccc86d29ee828e7548ec1c3500aa813b9e.tar.gz
hostap-dd10abccc86d29ee828e7548ec1c3500aa813b9e.tar.bz2
MACsec: wpa_supplicant integration
Add MACsec to the wpa_supplicant build system and configuration file. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 18fb65b..76b0632 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -636,6 +636,17 @@ struct wpa_ssid {
* dereferences since it may not be updated in all cases.
*/
void *parent_cred;
+
+#ifdef CONFIG_MACSEC
+ /**
+ * macsec_policy - Determines the policy for MACsec secure session
+ *
+ * 0: MACsec not in use (default)
+ * 1: MACsec enabled - Should secure, accept key server's advice to
+ * determine whether to use a secure session or not.
+ */
+ int macsec_policy;
+#endif /* CONFIG_MACSEC */
};
#endif /* CONFIG_SSID_H */