On 12/10/2023 10:22 PM, Baochen Qiang wrote: > From: Wen Gong <quic_wgong@xxxxxxxxxxx> > > When station is connected to a 6 GHz AP, it has 2 ways to configure > the power limit to firmware. The first way is to send 2 WMI commands > WMI_PDEV_PARAM_TXPOWER_LIMIT2G/WMI_PDEV_PARAM_TXPOWER_LIMIT5G to > firmware, the second way is to send WMI_VDEV_SET_TPC_POWER_CMDID to > firmware which include more parameters for power control. > > When firmware supports SERVICE_EXT_TPC_REG, it means firmware supports > WMI_VDEV_SET_TPC_POWER_CMDID, then ath11k selects the second way. > > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23 > > Signed-off-by: Wen Gong <quic_wgong@xxxxxxxxxxx> > Signed-off-by: Baochen Qiang <quic_bqiang@xxxxxxxxxxx> Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>