wifi: ath12k: ACPI band edge channel power support
authorLingbo Kong <quic_lingbok@quicinc.com>
Mon, 22 Apr 2024 13:18:45 +0000 (16:18 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 23 Apr 2024 09:29:15 +0000 (12:29 +0300)
commit7b5f3cbfb4680d5072fcb0c68ee141f8db491081
tree9b7d723f6dc0d50637686fddb6bcce53eb6b4ec4
parent12bccacbcd9e4f83bb26994634b4da388cebb476
wifi: ath12k: ACPI band edge channel power support

Currently, ath12k does not have the ability to set band edge channel power
for WCN7850. In order to support this, ath12k gets band edge channel power
table in ath12k_acpi_dsm_get_data() function and sets pdev_id and
param_type_id, then finally sends these data and
WMI_PDEV_SET_BIOS_INTERFACE_CMDID to firmware to set band edge channel
power.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4

Signed-off-by: Lingbo Kong <quic_lingbok@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240422033054.979-5-quic_lingbok@quicinc.com
drivers/net/wireless/ath/ath12k/acpi.c
drivers/net/wireless/ath/ath12k/acpi.h
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/wmi.h