aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath11k/hw.h
diff options
context:
space:
mode:
authorBaochen Qiang <quic_bqiang@quicinc.com>2022-04-12 16:15:50 +0300
committerKalle Valo <quic_kvalo@quicinc.com>2022-04-23 12:27:09 +0300
commit652f69ed9c1b4f8ef4ea9d6738f1e6263a5ff26d (patch)
treef50dc5326b5181b18fba618fb1d761b6f30fd632 /drivers/net/wireless/ath/ath11k/hw.h
parentath11k: add support for extended wmi service bit (diff)
downloadlinux-652f69ed9c1b4f8ef4ea9d6738f1e6263a5ff26d.tar.xz
linux-652f69ed9c1b4f8ef4ea9d6738f1e6263a5ff26d.zip
ath11k: Add support for SAR
Add ath11k_mac_op_set_bios_sar_specs() to ath11k_ops, this function is called when user space application calls NL80211_CMD_SET_SAR_SPECS. ath11k also registers SAR type and frequency ranges to wiphy so user space can query SAR capabilities. This feature is currently enabled for WCN6855. Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-02431-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1 Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20220401120948.1312956-3-quic_bqiang@quicinc.com
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath11k/hw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath11k/hw.h b/drivers/net/wireless/ath/ath11k/hw.h
index 08f958c03ec4..b7ece3d5678c 100644
--- a/drivers/net/wireless/ath/ath11k/hw.h
+++ b/drivers/net/wireless/ath/ath11k/hw.h
@@ -195,6 +195,7 @@ struct ath11k_hw_params {
bool current_cc_support;
bool dbr_debug_support;
bool global_reset;
+ const struct cfg80211_sar_capa *bios_sar_capa;
};
struct ath11k_hw_ops {
@@ -380,4 +381,5 @@ static inline const char *ath11k_bd_ie_type_str(enum ath11k_bd_ie_type type)
return "unknown";
}
+extern const struct cfg80211_sar_capa ath11k_hw_sar_capa_wcn6855;
#endif