aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2016-11-02 15:38:37 (GMT)
committerJouni Malinen <j@w1.fi>2016-11-19 22:35:16 (GMT)
commit7b4d546e3dae57a39e50a91e47b8fcf3447b4978 (patch)
tree928f2ba7065ef6d3b14c306114806fd3c9154519 /wpa_supplicant/config_ssid.h
parent008e224dbb518f44aac46b0c8e55448bd907e43d (diff)
downloadhostap-7b4d546e3dae57a39e50a91e47b8fcf3447b4978.zip
hostap-7b4d546e3dae57a39e50a91e47b8fcf3447b4978.tar.gz
hostap-7b4d546e3dae57a39e50a91e47b8fcf3447b4978.tar.bz2
wpa_supplicant: Add macsec_integ_only setting for MKA
So that the user can turn encryption on (MACsec provides confidentiality+integrity) or off (MACsec provides integrity only). This commit adds the configuration parameter while the actual behavior change to disable encryption in the driver is handled in the following commit. Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index a530cda..b8c3192 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -730,6 +730,18 @@ struct wpa_ssid {
int macsec_policy;
/**
+ * macsec_integ_only - Determines how MACsec are transmitted
+ *
+ * This setting applies only when MACsec is in use, i.e.,
+ * - macsec_policy is enabled
+ * - the key server has decided to enable MACsec
+ *
+ * 0: Encrypt traffic (default)
+ * 1: Integrity only
+ */
+ int macsec_integ_only;
+
+ /**
* mka_ckn - MKA pre-shared CKN
*/
#define MACSEC_CKN_LEN 32