diff options
author | Wen Gong <quic_wgong@quicinc.com> | 2023-09-14 04:20:26 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-18 09:44:05 +0200 |
commit | ddd7f45c899f7524bdbe6a32fe4906cde8b07b9b (patch) | |
tree | 38e83020b4ee21c22580e33dc330116e920682c3 /include/net/regulatory.h | |
parent | 9c386911b16d4bf2f24e55ed42bfa397073b4b84 (diff) |
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>
Diffstat (limited to 'include/net/regulatory.h')
-rw-r--r-- | include/net/regulatory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/regulatory.h b/include/net/regulatory.h index b2cb4a9eb04d..ebf9e028d1ef 100644 --- a/include/net/regulatory.h +++ b/include/net/regulatory.h @@ -213,6 +213,7 @@ struct ieee80211_reg_rule { u32 flags; u32 dfs_cac_ms; bool has_wmm; + s8 psd; }; struct ieee80211_regdomain { |