aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHu Wang <huw@qti.qualcomm.com>2014-03-31 14:36:55 (GMT)
committerJouni Malinen <j@w1.fi>2014-05-09 17:05:28 (GMT)
commit0836c04b30b8ef03b7ff60b62518ccb8e456dbe2 (patch)
tree72292b0bb81feba9f89c8a63dba45f4aec89a265 /src
parent49be483b28468a52a0442c8c56c0154c1bdc027c (diff)
downloadhostap-0836c04b30b8ef03b7ff60b62518ccb8e456dbe2.zip
hostap-0836c04b30b8ef03b7ff60b62518ccb8e456dbe2.tar.gz
hostap-0836c04b30b8ef03b7ff60b62518ccb8e456dbe2.tar.bz2
MACsec: Allow EAPOL version 3 to be configured
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src')
-rw-r--r--src/common/eapol_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/eapol_common.h b/src/common/eapol_common.h
index 4811f38..3f4261a 100644
--- a/src/common/eapol_common.h
+++ b/src/common/eapol_common.h
@@ -26,7 +26,11 @@ struct ieee802_1x_hdr {
#pragma pack(pop)
#endif /* _MSC_VER */
+#ifdef CONFIG_MACSEC
+#define EAPOL_VERSION 3
+#else /* CONFIG_MACSEC */
#define EAPOL_VERSION 2
+#endif /* CONFIG_MACSEC */
enum { IEEE802_1X_TYPE_EAP_PACKET = 0,
IEEE802_1X_TYPE_EAPOL_START = 1,