[PATCH] nl80211: Previous MAC isn't a foreign address

Michał Kazior kazikcz at gmail.com
Mon Jun 13 05:29:37 PDT 2022


On Mon, 13 Jun 2022 at 14:13, Andrzej Ostruszka <amo at semihalf.com> wrote:
>
> When using MAC randomization suppliant can change local MAC address
> during roaming scenario:
[...]

This sounds to me like it's not necessarily an issue related to
randomized addresses. With the patch it's still possible to suffer
packet loss of the AP->STA deauth which would fail to clear the flag
leading to the same kind of issue.

Instead, why not clear out the flag in mlme_event_auth() instead of
relying on prev_addr? That would address both your randomized MAC
address case as well as a packet loss case, no?


Michał



More information about the Hostap mailing list