]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: optionally implement MLO multicast TX
authorJohannes Berg <johannes.berg@intel.com>
Thu, 21 Jul 2022 08:56:48 +0000 (10:56 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 12:28:36 +0000 (14:28 +0200)
commit13748fb99da9631addb74d66fe67ab215045c786
tree4ec43e69456ef37f7b5dee322d2013fc95ae949b
parenta6435db74dc1b1a62f0d00bb48592af813d9bf37
wifi: mac80211: optionally implement MLO multicast TX

For drivers using software encryption for multicast TX, such
as mac80211_hwsim, mac80211 needs to duplicate the multicast
frames on each link, if MLO is enabled. Do this, but don't
just make it dependent on the key but provide a separate flag
for drivers to opt out of this.

This is not very efficient, I expect that drivers will do it
in firmware/hardware or at least with DMA engine assistence,
so this is mostly for hwsim.

To make this work, also implement the SNS11 sequence number
space that an AP MLD shall have, and modify the API to the
__ieee80211_subif_start_xmit() function to always require the
link ID bits to be set.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/debugfs.c
net/mac80211/ieee80211_i.h
net/mac80211/tdls.c
net/mac80211/tx.c