On EAPOL_KEY

Sarah Thomas sarah040.thomas
Mon Jan 26 03:49:06 PST 2015


Hi,

Since  IEEE802_1X_TYPE_EAPOL_KEY is getting AND'ed with EAPOL_KEY_TYPE_WPA
and EAPOL_KEY_TYPE_RSN, this(whole concept of EAPOL key) is not applicable
for wired configuration?


if (datalen >= sizeof(struct ieee802_1x_eapol_key) && hdr->type =
IEEE802_1X_TYPE_EAPOL_KEY &&    (key->type == EAPOL_KEY_TYPE_WPA ||
key->type == EAPOL_KEY_TYPE_RSN)) {
        wpa_receive(hapd->wpa_auth, sta->wpa_sm, (u8 *) hdr,
                sizeof(*hdr) + datalen);
        return;
    }

Thanks,
Sarah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20150126/b1f5e43a/attachment.htm>



More information about the Hostap mailing list