projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6074c9e
)
wifi: mac80211: report link ID to cfg80211 on mgmt RX
author
Johannes Berg
<johannes.berg@intel.com>
Mon, 18 Jul 2022 08:42:19 +0000
(10:42 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Fri, 22 Jul 2022 12:28:32 +0000
(14:28 +0200)
For frames received on an MLD, report the link ID to
userspace.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c
patch
|
blob
|
history
diff --git
a/net/mac80211/rx.c
b/net/mac80211/rx.c
index
ef9c2fc
..
6cb5989
100644
(file)
--- a/
net/mac80211/rx.c
+++ b/
net/mac80211/rx.c
@@
-3647,7
+3647,9
@@
ieee80211_rx_h_userspace_mgmt(struct ieee80211_rx_data *rx)
struct cfg80211_rx_info info = {
.freq = ieee80211_rx_status_to_khz(status),
.buf = rx->skb->data,
- .len = rx->skb->len
+ .len = rx->skb->len,
+ .link_id = rx->link_id,
+ .have_link_id = rx->link_id >= 0,
};
/* skip known-bad action frames and return them in the next handler */