[PATCH v2] wifi: ath12k: fix desc address calculation in wbm tx completion

Jeff Johnson quic_jjohnson at quicinc.com
Mon Mar 11 11:24:10 PDT 2024


On 3/11/2024 11:07 AM, quic_tmariyap at quicinc.com wrote:
> From: Thiraviyam Mariyappan <quic_tmariyap at quicinc.com>
> 
> In tx completion, status desc is obtained from offsetting the address
> from wbm ring. Having HTT_TX_WBM_COMP_STATUS_OFFSET(8) and reserved 8
> bytes in status desc offsets the address twice and read the values
> from the incorrect address. Hence, remove the
> HTT_TX_WBM_COMP_STATUS_OFFSET from wbm completion address calculation.
> 
> Also this patch is applicable for WCN7850.
> 
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
> 
> Signed-off-by: Thiraviyam Mariyappan <quic_tmariyap at quicinc.com>

Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>




More information about the ath12k mailing list