[PATCH ath-next 2/2] wifi: ath12k: replace the usage of rx desc with rx_info
Vasanthakumar Thiagarajan
vasanthakumar.thiagarajan at oss.qualcomm.com
Tue Apr 8 23:58:07 PDT 2025
On 4/2/2025 11:59 PM, P Praneesh wrote:
> In ath12k_dp_rx_h_mpdu(), during the undecap to native wifi mode, the rx
> descriptor memory is overwritten. After this function call, any subsequent
> accesses to rx descriptor related memory yield invalid values. Fix this by
> replacing instances where rx_desc was used with the pre-cached information
> in rx_info. This ensures that the values populated from the rx descriptor
> are accurate and prevents invalid memory access.
>
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
>
> Co-developed-by: Karthikeyan Periyasamy <karthikeyan.periyasamy at oss.qualcomm.com>
> Signed-off-by: Karthikeyan Periyasamy <karthikeyan.periyasamy at oss.qualcomm.com>
> Signed-off-by: P Praneesh <praneesh.p at oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan at oss.qualcomm.com>
More information about the ath12k
mailing list