]> git.ipfire.org Git - thirdparty/hostap.git/commit
Add support to reconfigure or flush PMKSA cache on interface enable
authorVeerendranath Jakkam <vjakkam@codeaurora.org>
Thu, 7 Oct 2021 14:16:04 +0000 (19:46 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 15 Oct 2021 16:23:14 +0000 (19:23 +0300)
commit4775a5f827fa28887db3e12225c56fc2944bac6b
tree59047d8f81ba440638258e4768fa3befd8363e5d
parent6f634b0032a0d7f2a43078f3c14435b1ba143eba
Add support to reconfigure or flush PMKSA cache on interface enable

Update PMKSA cache when interface is disabled and then enabled based on
the new MAC address. If the new MAC address is same as the previous MAC
address, the PMKSA cache entries are valid and hence update the PMKSA
cache entries to the driver. If the new MAC address is not same as the
previous MAC address, the PMKSA cache entries will not be valid anymore
and hence delete the PMKSA cache entries.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
src/rsn_supp/pmksa_cache.c
src/rsn_supp/pmksa_cache.h
src/rsn_supp/wpa.c
src/rsn_supp/wpa.h
wpa_supplicant/events.c