• Lingbo Kong's avatar
    wifi: ath12k: ACPI TAS support · 576771c9
    Lingbo Kong authored
    Currently, ath12k does not support Time-Average-SAR (TAS). In order to enable
    TAS read the tables from ACPI and send them to the firmware using
    WMI_PDEV_SET_BIOS_INTERFACE_CMDID command. Besides, ath12k registers an ACPI
    event callback so that ACPI can notify ath12k to get the updated SAR power
    table and sends it to the firmware when the device state is changed.
    
    ACPI is only enabled for WCN7850 using struct ath12k_hw_params::acpi_guid
    field. Most likely QCN9274 will never support ACPI as the chip is not used in
    laptops.
    
    Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
    Signed-off-by: default avatarLingbo Kong <quic_lingbok@quicinc.com>
    Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
    Link: https://msgid.link/20240422033054.979-2-quic_lingbok@quicinc.com
    576771c9
core.c 29.6 KB