]> 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)
commit266d0e73ff25284f450e9245c15605240134971e
tree27fa877feda734f53c5b614f4e066d0bdebb2a5b
parent73b24076c646d338d6c3c1c2554ec49816111543
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