summaryrefslogtreecommitdiffstats
path: root/net/mac80211/chan.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-01-27 12:39:31 +0100
committerJohannes Berg <johannes.berg@intel.com>2023-02-14 12:01:31 +0100
commitaa87cd8b35736a5183745ab0ec4b82419024dfd7 (patch)
tree4d4e1c37a764ba1f0f739d513a10c593a832d9d5 /net/mac80211/chan.c
parent8bb588d975019748ebdab9448e9a274b7463c13b (diff)
downloadlinux-aa87cd8b35736a5183745ab0ec4b82419024dfd7.tar.gz
linux-aa87cd8b35736a5183745ab0ec4b82419024dfd7.tar.bz2
linux-aa87cd8b35736a5183745ab0ec4b82419024dfd7.zip
wifi: mac80211: mlme: handle EHT channel puncturing
Handle the Puncturing info received from the AP in the EHT Operation element in beacons. If the info is invalid: - during association: disable EHT connection for the AP - after association: disconnect This commit includes many (internal) bugfixes and spec updates various people. Co-developed-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://lore.kernel.org/r/20230127123930.4fbc74582331.I3547481d49f958389f59dfeba3fcc75e72b0aa6e@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/chan.c')
-rw-r--r--net/mac80211/chan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/chan.c b/net/mac80211/chan.c
index e72cf0749d49..dbc34fbe7c8f 100644
--- a/net/mac80211/chan.c
+++ b/net/mac80211/chan.c
@@ -1916,7 +1916,7 @@ int ieee80211_link_use_reserved_context(struct ieee80211_link_data *link)
int ieee80211_link_change_bandwidth(struct ieee80211_link_data *link,
const struct cfg80211_chan_def *chandef,
- u32 *changed)
+ u64 *changed)
{
struct ieee80211_sub_if_data *sdata = link->sdata;
struct ieee80211_bss_conf *link_conf = link->conf;