Subject: Key management type while pre auth and OKC

harisha ja harisha.ja at
Mon Jan 23 20:37:58 PST 2023

Hi team,

Any help on this would be greatly appreciated.

Harisha J A

On Mon, Jan 9, 2023 at 11:28 AM harisha ja <harisha.ja at> wrote:
> 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