wifi: cfg80211: save power spectral density(psd) of regulatory rule
authorWen Gong <quic_wgong@quicinc.com>
Thu, 14 Sep 2023 08:20:26 +0000 (04:20 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 18 Sep 2023 07:44:05 +0000 (09:44 +0200)
commitddd7f45c899f7524bdbe6a32fe4906cde8b07b9b
tree38e83020b4ee21c22580e33dc330116e920682c3
parent9c386911b16d4bf2f24e55ed42bfa397073b4b84
wifi: cfg80211: save power spectral density(psd) of regulatory rule

6 GHz regulatory domains introduces Power Spectral Density (PSD).
The PSD value of the regulatory rule should be taken into effect
for the ieee80211_channels falling into that particular regulatory
rule. Save the values in the channel which has PSD value and add
nl80211 attributes accordingly to handle it.

Co-developed-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
Signed-off-by: Wen Gong <quic_wgong@quicinc.com>
Link: https://lore.kernel.org/r/20230914082026.3709-1-quic_wgong@quicinc.com
[use hole in chan flags, reword docs]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/net/regulatory.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c
net/wireless/reg.c