aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_file.c
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_file.c
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_file.c')
-rw-r--r--wpa_supplicant/config_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index 172508e..f605fa9 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -808,6 +808,7 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
INT(macsec_policy);
write_mka_cak(f, ssid);
write_mka_ckn(f, ssid);
+ INT(macsec_integ_only);
#endif /* CONFIG_MACSEC */
#ifdef CONFIG_HS20
INT(update_identifier);