wifi: mac80211: mlme: handle EHT channel puncturing
authorJohannes Berg <johannes.berg@intel.com>
Fri, 27 Jan 2023 11:39:31 +0000 (12:39 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 Feb 2023 11:01:31 +0000 (12:01 +0100)
commitaa87cd8b35736a5183745ab0ec4b82419024dfd7
tree4d4e1c37a764ba1f0f739d513a10c593a832d9d5
parent8bb588d975019748ebdab9448e9a274b7463c13b
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>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/chan.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c