[PATCH] SME: handle 802.11w association comeback

Johannes Berg johannes at sipsolutions.net
Sun Jan 21 12:20:42 PST 2024


On Sun, 2024-01-21 at 12:29 +0200, Jouni Malinen wrote:
> In fact, I was even
> able to test this with mac80211_hwsim by disabling the kernel side
> association comeback mechanism.
> 

I suppose we could even make some kind of parameter from hwsim towards
mac80211 to disable using it, if you wanted to be able to test this
further? Perhaps hidden behind a Kconfig option, though in this case I
wouldn't even really be worried about code size/etc. since it's really
not a hot path in the first place.

I also have in the back of my mind to add a kind of strict mode to
mac80211, where we would remove workarounds for various broken APs like
the one we'll probably put in for the CSA thing ... Or checking more
strictly channel configuration from beacon vs. assoc response, etc.

I'm thinking of making that a parameter that comes from the driver to
the stack, so that it'd be possible to run tests with some hwsim radios
configured one way and some another way, or really more pragmatically so
we could do different tests in different ways without having to
reconfigure "everything" (just a new hwsim radio that changes the
settings here would be sufficient for the hwsim case). This would kind
of fit in a similar fashion?

Though actually if we have comeback mechanism in userspace, maybe more
generally we want to be able to disable the kernel mechanism, opt-in by
an assoc-request flag?

johannes



More information about the Hostap mailing list