summaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.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/cfg.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/cfg.c')
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index c3e4e48e9ce9..686309648cff 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -4171,7 +4171,7 @@ static int ieee80211_set_ap_chanwidth(struct wiphy *wiphy,
struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
struct ieee80211_link_data *link;
int ret;
- u32 changed = 0;
+ u64 changed = 0;
link = sdata_dereference(sdata->link[link_id], sdata);