ath11k: Add support for SAR
authorBaochen Qiang <quic_bqiang@quicinc.com>
Tue, 12 Apr 2022 13:15:50 +0000 (16:15 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Sat, 23 Apr 2022 09:27:09 +0000 (12:27 +0300)
commit652f69ed9c1b4f8ef4ea9d6738f1e6263a5ff26d
treef50dc5326b5181b18fba618fb1d761b6f30fd632
parente2e23a791745a194aa8e6fb4983c2e7b408ab6e1
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
drivers/net/wireless/ath/ath11k/core.c
drivers/net/wireless/ath/ath11k/hw.c
drivers/net/wireless/ath/ath11k/hw.h
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/wmi.c
drivers/net/wireless/ath/ath11k/wmi.h