diff mbox series

wifi: ath11k: Add SAR support on WCN6750

Message ID 20230328113455.11252-1-quic_youghand@quicinc.com (mailing list archive)
State Accepted
Commit abf57d84973ce1abcb67504ac0df8aea1fe09a76
Delegated to: Kalle Valo
Headers show
Series wifi: ath11k: Add SAR support on WCN6750 | expand

Commit Message

Youghandhar Chintala March 28, 2023, 11:34 a.m. UTC
Enable SAR support on WCN6750. Currently, SAR is enabled only on
WCN6855, enable this for WCN6750 too. This functionality gets
triggered, when the user space application calls
NL80211_CMD_SET_SAR_SPECS.

Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-1

Signed-off-by: Youghandhar Chintala <quic_youghand@quicinc.com>
---
 drivers/net/wireless/ath/ath11k/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo April 17, 2023, 10:15 a.m. UTC | #1
Youghandhar Chintala <quic_youghand@quicinc.com> wrote:

> Currently, SAR is enabled only on WCN6855, enable this for WCN6750 too. This
> functionality gets triggered, when the user space application calls
> NL80211_CMD_SET_SAR_SPECS.
> 
> Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-1
> 
> Signed-off-by: Youghandhar Chintala <quic_youghand@quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>

Patch applied to ath-next branch of ath.git, thanks.

abf57d84973c wifi: ath11k: enable SAR support on WCN6750
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c
index 75fdbe4ef83a..fb9dc8220bba 100644
--- a/drivers/net/wireless/ath/ath11k/core.c
+++ b/drivers/net/wireless/ath/ath11k/core.c
@@ -599,7 +599,7 @@  static const struct ath11k_hw_params ath11k_hw_params[] = {
 		.current_cc_support = true,
 		.dbr_debug_support = false,
 		.global_reset = false,
-		.bios_sar_capa = NULL,
+		.bios_sar_capa = &ath11k_hw_sar_capa_wcn6855,
 		.m3_fw_support = false,
 		.fixed_bdf_addr = false,
 		.fixed_mem_region = false,