summaryrefslogtreecommitdiff
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-05-30 14:09:28 +0300
committerJohannes Berg <johannes.berg@intel.com>2022-06-20 13:55:11 +0300
commit8e14130d3faf7b6b0fc57b530bb601cd9d6a1dab (patch)
treeb43e9876c360f78243792a288739206e943a26e6 /net/mac80211/ieee80211_i.h
parent7b7090b4c6a906cc7c3e2a460335f705b93f4506 (diff)
downloadlinux-8e14130d3faf7b6b0fc57b530bb601cd9d6a1dab.tar.xz
wifi: mac80211: add per-link configuration pointer
Add pointers so we can start using link_id throughout the code, even if for now only link ID 0 is valid, pointing to the "built-in" bss_conf, which is used by drivers that are not aware of MLD. 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 20153957cdee..397b111f006d 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1031,6 +1031,7 @@ struct ieee80211_sub_if_data {
} u;
struct ieee80211_link_data deflink;
+ struct ieee80211_link_data *link[IEEE80211_MLD_MAX_NUM_LINKS];
#ifdef CONFIG_MAC80211_DEBUGFS
struct {