aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2016-11-02 15:38:39 (GMT)
committerJouni Malinen <j@w1.fi>2016-11-19 22:35:31 (GMT)
commite0d9fd344d20bb35efcd5c37ece0a5d67632439d (patch)
tree47cd6cf33f914ebaaccf2d8c7829d9c4f22f7c5c /wpa_supplicant/config_ssid.h
parent1d3d0666a6ed345da39886426c4416a4debfd094 (diff)
downloadhostap-e0d9fd344d20bb35efcd5c37ece0a5d67632439d.zip
hostap-e0d9fd344d20bb35efcd5c37ece0a5d67632439d.tar.gz
hostap-e0d9fd344d20bb35efcd5c37ece0a5d67632439d.tar.bz2
wpa_supplicant: Allow configuring the MACsec port for MKA
Previously, wpa_supplicant only supported hardcoded port == 1 in the SCI, but users may want to choose a different port. Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index b8c3192..fe0f7fa 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -742,6 +742,15 @@ struct wpa_ssid {
int macsec_integ_only;
/**
+ * macsec_port - MACsec port (in SCI)
+ *
+ * Port component of the SCI.
+ *
+ * Range: 1-65534 (default: 1)
+ */
+ int macsec_port;
+
+ /**
* mka_ckn - MKA pre-shared CKN
*/
#define MACSEC_CKN_LEN 32