aboutsummaryrefslogtreecommitdiff
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorGravatar Johannes Berg <johannes.berg@intel.com> 2022-06-14 13:07:42 +0200
committerGravatar Johannes Berg <johannes.berg@intel.com> 2022-06-20 12:57:08 +0200
commitba6ddab94fc63813ad582c55dd95ed596420d101 (patch)
tree4ddbc0f04a3e47a6ded46f2e3917508a0a7f40eb /net/mac80211/ieee80211_i.h
parentwifi: mac80211: RCU-ify link STA pointers (diff)
downloadlinux-ba6ddab94fc63813ad582c55dd95ed596420d101.tar.gz
linux-ba6ddab94fc63813ad582c55dd95ed596420d101.tar.bz2
linux-ba6ddab94fc63813ad582c55dd95ed596420d101.zip
wifi: mac80211: maintain link-sta hash table
Maintain a hash table of link-sta addresses so we can find them for management frames etc. where addresses haven't been replaced by the drivers to the MLD address yet. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 46f4e89825a0..2190d08f4e34 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1366,6 +1366,7 @@ struct ieee80211_local {
unsigned long num_sta;
struct list_head sta_list;
struct rhltable sta_hash;
+ struct rhltable link_sta_hash;
struct timer_list sta_cleanup;
int sta_generation;