]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: send proper txpower and maxregpower values to firmware
authorP Praneesh <quic_ppranees@quicinc.com>
Mon, 25 Oct 2021 12:17:09 +0000 (17:47 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 15 Nov 2021 09:25:23 +0000 (11:25 +0200)
commit506c4df1229c1798f87fc42956961ad0172aace2
tree604888b5c12fdbecdce22750c3a7e947f132a999
parent8d62fa953f9579635cc950177c1dc5ed1b97a449
ath11k: send proper txpower and maxregpower values to firmware

Set proper values for max_regpower, max_power, max_antenna_gain as it
is because firmware will convert power values to 0.5dbm steps by
multiplying it with 2.

If txpower is not set, it will lead to cca stuck resulting in latency
issues for QCN9074.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1-01386-QCAHKSWPL_SILICONZ-1

Co-developed-by: Lavanya Suresh <lavaks@codeaurora.org>
Signed-off-by: Lavanya Suresh <lavaks@codeaurora.org>
Signed-off-by: P Praneesh <quic_ppranees@quicinc.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1635164229-22880-1-git-send-email-quic_ppranees@quicinc.com
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/wmi.c