macsec: Note that MKA takes care of EAPOL-MKA processing

Signed-off-by: leiwei <leiwei@codeaurora.org>
This commit is contained in:
leiwei 2019-05-24 16:53:32 +08:00 committed by Jouni Malinen
parent 3e21a47eab
commit a90cc1c997

View file

@ -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 */ /* TODO: implement support for this; show data */
break; 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: default:
wpa_printf(MSG_DEBUG, " unknown IEEE 802.1X packet type"); wpa_printf(MSG_DEBUG, " unknown IEEE 802.1X packet type");
sta->eapol_sm->dot1xAuthInvalidEapolFramesRx++; sta->eapol_sm->dot1xAuthInvalidEapolFramesRx++;