diff options
author | Wen Gong <quic_wgong@quicinc.com> | 2024-01-11 16:56:59 +0300 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2024-01-14 17:59:10 +0300 |
commit | 74ef2d05ede63fd6416aa635aa8972dff901325f (patch) | |
tree | 88924742472d434b69d5c4d65ef4108a54c08742 /drivers/net/wireless/ath/ath9k/eeprom.h | |
parent | ed0a61dcb2d3936cf15dfc04341c4d0fc297919f (diff) | |
download | linux-74ef2d05ede63fd6416aa635aa8972dff901325f.tar.xz |
wifi: ath11k: use WMI_VDEV_SET_TPC_POWER_CMDID when EXT_TPC_REG_SUPPORT for 6 GHz
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@quicinc.com>
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20231218085844.2658-13-quic_bqiang@quicinc.com
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/eeprom.h')
0 files changed, 0 insertions, 0 deletions