]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit25aa2fd139f65bda10b671f9e7c9f87cee1d7015
tree27fa877feda734f53c5b614f4e066d0bdebb2a5b
parenta1a5dc9fba5ac4ab9b12a54feae3d0b07dd25360
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