[PATCH 1/2] wpa_supplicant: Handle randomization changes for same ESS

Andrzej Ostruszka amo at semihalf.com
Thu Dec 15 07:39:44 PST 2022

Firstly apologies for the delayed reply.

On Mon, Dec 05, 2022 at 07:16:18PM +0200, Jouni Malinen wrote:
> > On 5. Dec 2022, at 19.04, Andrzej Ostruszka <amo at semihalf.com> wrote:
> For cases where a previously used MAC address is restored
> (whether a globally unique one or a per-ESS random one) for connection
> purposes, the PMKSA cache entries should not really be removed since
> use of the same PMKID does not reveal more than use of the same MAC
> address about the device and wpa_supplicant uses an entry for PMKSA
> caching only if the currently used address matches the one that was
> used to generate the PMKSA.

Got it.  I was just worried about some corner cases like e.g. user used
policy/style 3 but then decided to turn it off and we are now
reconnecting to the same ESS and want to restore hardware address.

Andrzej Ostruszka

More information about the Hostap mailing list