summaryrefslogtreecommitdiff
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-05-06 22:54:51 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-05-23 12:28:56 +0300
commit4540568136fefe0fcc366ded125cc56b0d9e1724 (patch)
tree47ca417880f0f64aa75b6bb6fd833f519ff3af27 /net/mac80211/ieee80211_i.h
parentf81747a9ad2e773ee72d881717e859a9f7a01c76 (diff)
downloadlinux-4540568136fefe0fcc366ded125cc56b0d9e1724.tar.xz
wifi: mac80211: handle TPE element during CSA
Handle the transmit power envelope (TPE) element during channel switch, applying it when the channel switch is done. Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com> Link: https://msgid.link/20240506215543.486c33157d18.Idf971ad801b6961c177bdf42cc323fd1a4ca8165@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index cba1c2c3d9f1..76965d64a0fa 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -977,6 +977,8 @@ struct ieee80211_link_data_managed {
struct {
struct wiphy_delayed_work switch_work;
+ struct cfg80211_chan_def ap_chandef;
+ struct ieee80211_parsed_tpe tpe;
unsigned long time;
bool waiting_bcn;
bool ignored_same_chan;
@@ -1754,6 +1756,7 @@ struct ieee802_11_elems {
/* not the order in the psd values is per element, not per chandef */
struct ieee80211_parsed_tpe tpe;
+ struct ieee80211_parsed_tpe csa_tpe;
/* length of them, respectively */
u8 ext_capab_len;