diff options
author | 2022-07-21 10:56:48 +0200 | |
---|---|---|
committer | 2022-07-22 14:28:36 +0200 | |
commit | 963d0e8d08d97f9133b9fd00354ebc1a2467484b (patch) | |
tree | 4ec43e69456ef37f7b5dee322d2013fc95ae949b /net/mac80211/ieee80211_i.h | |
parent | wifi: mac80211: expand ieee80211_mgmt_tx() for MLO (diff) | |
download | linux-963d0e8d08d97f9133b9fd00354ebc1a2467484b.tar.gz linux-963d0e8d08d97f9133b9fd00354ebc1a2467484b.tar.bz2 linux-963d0e8d08d97f9133b9fd00354ebc1a2467484b.zip |
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 4ec6fb96ba41..f93b57799e94 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1029,6 +1029,7 @@ struct ieee80211_sub_if_data { struct ieee80211_key __rcu *default_unicast_key; u16 sequence_number; + u16 mld_mcast_seq; __be16 control_port_protocol; bool control_port_no_encrypt; bool control_port_no_preauth; |