projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65f7052
)
wifi: mac80211: set link ID in TX info for beacons
author
Johannes Berg
<johannes.berg@intel.com>
Tue, 23 Aug 2022 10:36:37 +0000
(12:36 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Thu, 25 Aug 2022 08:41:29 +0000
(10:41 +0200)
This is simple here, and might save drivers some work if
they have common code for TX between beacons and other
frames.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c
patch
|
blob
|
history
diff --git
a/net/mac80211/tx.c
b/net/mac80211/tx.c
index 8683f24aaec57d6df47fcf206da3acd1b20aa768..9d5963a32da454555f8fe090c6d3fe2b33200473 100644
(file)
--- a/
net/mac80211/tx.c
+++ b/
net/mac80211/tx.c
@@
-5097,6
+5097,8
@@
ieee80211_beacon_get_finish(struct ieee80211_hw *hw,
rate_control_get_rate(sdata, NULL, &txrc);
info->control.vif = vif;
+ info->control.flags |= u32_encode_bits(link->link_id,
+ IEEE80211_TX_CTRL_MLO_LINK);
info->flags |= IEEE80211_TX_CTL_CLEAR_PS_FILT |
IEEE80211_TX_CTL_ASSIGN_SEQ |
IEEE80211_TX_CTL_FIRST_FRAGMENT;