]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: ath12k: track dropped MSDU buffer type packets in REO exception ring
authorSarika Sharma <sarika.sharma@oss.qualcomm.com>
Tue, 30 Sep 2025 09:15:51 +0000 (14:45 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Wed, 15 Oct 2025 23:37:53 +0000 (16:37 -0700)
commit43ba986e7ac7d9420e26e9a9b03c73054bc2149c
treeb21deffbc5acc049b4c2e420e5b2c0bd68c5062b
parent36f9edbb9d0fc36c865c74f3c1ad8e1261ad3981
wifi: ath12k: track dropped MSDU buffer type packets in REO exception ring

Add a counter "reo_excep_msdu_buf_type" in
ath12k_debugfs_dump_device_dp_stats() to account for packets dropped
due to unexpected MSDU buffer types in the RX error path. These
packets are discarded to prevent incorrect parsing and potential
kernel crashes. This helps in debugging and monitoring RX error
handling behavior.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1

Signed-off-by: Sarika Sharma <sarika.sharma@oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250930091551.3305312-3-sarika.sharma@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/debugfs.c
drivers/net/wireless/ath/ath12k/dp_rx.c