aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.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.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.c')
-rw-r--r--wpa_supplicant/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index 9011389..afb631e 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -2125,6 +2125,7 @@ static const struct parse_data ssid_fields[] = {
{ INT(beacon_int) },
#ifdef CONFIG_MACSEC
{ INT_RANGE(macsec_policy, 0, 1) },
+ { INT_RANGE(macsec_integ_only, 0, 1) },
{ FUNC_KEY(mka_cak) },
{ FUNC_KEY(mka_ckn) },
#endif /* CONFIG_MACSEC */