[PATCH 35/50] AP: Forward link specific events

Otcheretianski, Andrei andrei.otcheretianski at intel.com
Wed Feb 22 08:03:49 PST 2023

> > +#ifdef CONFIG_IEEE80211BE
> > +	hapd = switch_link_hapd(hapd, link_id); #endif /*
> Given that we have initialized sm (sta->sm) only on first/assoc link sta, If this
> EAPOL Pkt is received in partner link and we switch the frame to partner
> hapd, will we be able to find the state machine on that link STA ?

Looks that you're correct. I think that instead of initializing sta->wpa/eapol_sm only on the assoc link sta, we need all the link stations to share the same SM's.
I will add more hwsim tests and try to cover these scenarios.
Thanks a lot for your review. I will shortly respin this series with the fixes for the issues you raised.


More information about the Hostap mailing list