From: Wen Gong <wgong@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> v3: change per comments of Johannes. 1. add patch "mac80211: use ieee802_11_parse_elems() to find ies instead of ieee80211_bss_get_ie()" 2. move nl80211_ap_reg_power to ieee80211 3. change some comments, length check, stack big size variable... v2: change per comments of johannes. including code style, code logic, patch merge, commit log... It introduced some new concept: power type of AP(STANDARD_POWER_AP, INDOOR_AP, VERY_LOW_POWER_AP) power type of STATION(DEFAULT_CLIENT, SUBORDINATE_CLIENT) power spectral density(psd) This patchset for cfg80211/mac80211 is to add the definition of new concept of 6G and add basic parse of IE(transmit power envelope element) in beacon and save power spectral density(psd) reported by lower-driver for 6G channel, the info will be passed to lower driver when connecting to 6G AP. Wen Gong (9): mac80211: add power type definition for 6 GHz ieee80211: add definition of regulatory info in 6 GHz operation information mac80211: add parse regulatory info in 6 GHz operation information cfg80211: add definition for 6 GHz power spectral density(psd) cfg80211: save power spectral density(psd) of regulatory rule ieee80211: add definition for transmit power envelope element mac80211: add parse transmit power envelope element mac80211: use ieee802_11_parse_elems() to find ies instead of ieee80211_bss_get_ie() mac80211: save transmit power envelope element and power constraint include/linux/ieee80211.h | 80 +++++++++++++++++++++++++++++++++++- include/net/cfg80211.h | 5 +++ include/net/mac80211.h | 8 ++++ include/net/regulatory.h | 1 + include/uapi/linux/nl80211.h | 2 + net/mac80211/ieee80211_i.h | 3 ++ net/mac80211/mlme.c | 70 +++++++++++++++++++++++-------- net/mac80211/util.c | 23 +++++++++++ net/wireless/reg.c | 17 ++++++++ 9 files changed, 192 insertions(+), 17 deletions(-) -- 2.31.1