]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: ath12k: Fix packets received in WBM error ring with REO LUT enabled
authorNithyanantham Paramasivam <nithyanantham.paramasivam@oss.qualcomm.com>
Thu, 10 Jul 2025 01:17:54 +0000 (06:47 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Fri, 11 Jul 2025 14:35:02 +0000 (07:35 -0700)
commitafcefc58fdfd687e3a9a9bef0be5846b96f710b7
tree4066d59b9cbb9cecee93dc3db12d39dfe9017017
parentc07981af55d3ba3ec3be880cfe4a0cc10f1f7138
wifi: ath12k: Fix packets received in WBM error ring with REO LUT enabled

Currently, packets are being received into the WBM error ring when
REO queue lookup is enabled, resulting in degraded RX performance.
The issue arises because the REO queue LUT TID memory reference is
set to zero-it's being assigned before the memory is allocated.
Fix this by assigning the REO queue TID memory reference in the LUT
immediately after memory allocation to ensure correct packet
processing.

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

Reported-by: Tanguy Serrat <tanguy@squaremind.io>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220282
Fixes: 3b9cbce6fdd3 ("wifi: ath12k: alloc REO queue per station")
Signed-off-by: Nithyanantham Paramasivam <nithyanantham.paramasivam@oss.qualcomm.com>
Reviewed-by: Baochen Qiang <quic_bqiang@quicinc.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250710011754.559817-1-nithyanantham.paramasivam@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/dp_rx.c