diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-09-02 16:12:56 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-09-06 10:17:20 +0200 |
commit | 3d901102922723eedce6ef10ebd03315a7abb8a5 (patch) | |
tree | cf1ed5c54d4cb27760ff9cc0f66ab186806e2fb2 /net/mac80211/ieee80211_i.h | |
parent | 4c51541ddb78cef2da9c4c30006c0d9d06ea9a77 (diff) | |
download | linux-3d901102922723eedce6ef10ebd03315a7abb8a5.tar.bz2 |
wifi: mac80211: implement link switching
Implement an API function and debugfs file to switch
active links.
Also provide an async version of the API so drivers
can call it in arbitrary contexts, e.g. while in the
authorized callback.
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 977aea4467e0..4e1d4c339f2d 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1081,6 +1081,10 @@ struct ieee80211_sub_if_data { struct ieee80211_link_data deflink; struct ieee80211_link_data __rcu *link[IEEE80211_MLD_MAX_NUM_LINKS]; + /* for ieee80211_set_active_links_async() */ + struct work_struct activate_links_work; + u16 desired_active_links; + #ifdef CONFIG_MAC80211_DEBUGFS struct { struct dentry *subdir_stations; |