OWE: Use PMKSA caching if available with driver AP MLME

If a matching PMKSA cache entry is present for an OWE client, use it and
do not go through DH while processing Association Rquest frame.
Association Response frame will identify the PMKID in such a case and DH
parameters won't be present.

Signed-off-by: Ashok Ponnaiah <aponnaia@codeaurora.org>
This commit is contained in:
Ashok Ponnaiah 2018-01-30 16:54:39 +05:30 committed by Jouni Malinen
parent a4668c6812
commit cd483be252
3 changed files with 12 additions and 3 deletions

View file

@ -530,7 +530,8 @@ skip_wpa_check:
npos = owe_auth_req_process(hapd, sta,
elems.owe_dh, elems.owe_dh_len,
p, &reason);
p, sizeof(buf) - (p - buf),
&reason);
if (npos)
p = npos;
if (!npos &&