Re: [PATCH] wifi: ath12k: encode max Tx power in scan channel list command

From: Nicolas Escande
Date: Wed Jan 08 2025 - 04:10:58 EST


On Tue Jan 7, 2025 at 5:01 AM CET, Aditya Kumar Singh wrote:
> From: Sathishkumar Muruganandam <quic_murugana@xxxxxxxxxxx>
>
> Currently, when sending the scan channel list command to the firmware, the
> maximum Tx power is not encoded in the reg2 member. This omission causes
> the firmware to be unaware of the host's maximum Tx power, leading to
> incorrect Tx power derivation at firmware level.
>
> To resolve this issue, encode the maximum Tx power in the scan channel list
> command before sending it to firmware.
>
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
>
> Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
> Signed-off-by: Sathishkumar Muruganandam <quic_murugana@xxxxxxxxxxx>
> Signed-off-by: Aditya Kumar Singh <quic_adisi@xxxxxxxxxxx>
Not sure if those are in the righ tag format but
Tested-by: Nicolas Escande <nico.escande@xxxxxxxxx>
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3-03253.1-QCAHKSWPL_SILICONZ-27