Subject: Key management type while pre auth and OKC

harisha ja harisha.ja at gmail.com
Sun Jan 8 21:58:26 PST 2023


I see that we are hardcoding WPA_KEY_MGMT_IEEE8021X (0) while adding
preauth cache. Do we need to specify the actual Key management type
here ? even in case of OKC are we suppose to use
WPA_KEY_MGMT_IEEE8021X ?. When client joins if it uses different key
management type how do we use this cache ?

    wpa_hexdump_key(MSG_DEBUG, "RSN: Cache PMK from preauth", pmk, len);
    if (pmksa_cache_auth_add(wpa_auth->pmksa, pmk, len, NULL,
                 NULL, 0,
                 wpa_auth->addr,
                 sta_addr, session_timeout, eapol,
                 WPA_KEY_MGMT_IEEE8021X))


Thanks & Regards,
Harisha J A



More information about the Hostap mailing list