wifi: mac80211_hwsim: implement sta_state for MLO
authorJohannes Berg <johannes.berg@intel.com>
Thu, 14 Jul 2022 20:23:02 +0000 (22:23 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:23 +0000 (11:43 +0200)
commitd46ffecf82dea931c11a188e2cd618e0bfe083b1
tree27fa877feda734f53c5b614f4e066d0bdebb2a5b
parent175ad2ec89feb8c01f87be64882af67481b1b1f5
wifi: mac80211_hwsim: implement sta_state for MLO

In MLO, we need to transmit to another MLD and select
the link to it, which requires knowing the station.
But in TX, mac80211 will not give us a station that's
not added to the driver, which in the older add/remove
API is only done later.

Implement the new API in MLO so we know about the STA
at all times and get a pointer during TX as well.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c