aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleiwei <leiwei@codeaurora.org>2019-05-24 08:53:32 (GMT)
committerJouni Malinen <jouni@codeaurora.org>2019-06-03 17:27:44 (GMT)
commita90cc1c99793bc66c0db2ef4ea158c84b0531738 (patch)
treee76246d2651ab2c58161722699901c6f80ab4e16
parent3e21a47eab9a443cec4c1d0b32ac7a9ce9f441dc (diff)
downloadhostap-a90cc1c99793bc66c0db2ef4ea158c84b0531738.zip
hostap-a90cc1c99793bc66c0db2ef4ea158c84b0531738.tar.gz
hostap-a90cc1c99793bc66c0db2ef4ea158c84b0531738.tar.bz2
macsec: Note that MKA takes care of EAPOL-MKA processing
Signed-off-by: leiwei <leiwei@codeaurora.org>
-rw-r--r--src/ap/ieee802_1x.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ap/ieee802_1x.c b/src/ap/ieee802_1x.c
index 09ec16b..7854f6f 100644
--- a/src/ap/ieee802_1x.c
+++ b/src/ap/ieee802_1x.c
@@ -1119,6 +1119,13 @@ void ieee802_1x_receive(struct hostapd_data *hapd, const u8 *sa, const u8 *buf,
/* TODO: implement support for this; show data */
break;
+#ifdef CONFIG_MACSEC
+ case IEEE802_1X_TYPE_EAPOL_MKA:
+ wpa_printf(MSG_EXCESSIVE,
+ "EAPOL type %d will be handled by MKA", hdr->type);
+ break;
+#endif /* CONFIG_MACSEC */
+
default:
wpa_printf(MSG_DEBUG, " unknown IEEE 802.1X packet type");
sta->eapol_sm->dot1xAuthInvalidEapolFramesRx++;