]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: drop failed transmitted frames from metric calculation.
authorKarthikeyan Kathirvel <quic_kathirve@quicinc.com>
Fri, 3 May 2024 10:34:39 +0000 (13:34 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 3 May 2024 13:21:31 +0000 (16:21 +0300)
commit50971dc6694c0845fcddfe337ea39c5b723d5a92
tree56ecf9aedc73d55971a1503287a9bd538da22100
parent5453bbd6fef4ca2fea3b4b338fc715d7135afc6f
wifi: ath12k: drop failed transmitted frames from metric calculation.

In mesh node traffic, internal firmware-transmitted failures are
reported as transmitted failures in mesh metric calculation, leading
to the breakage of the mesh link.

Fix the issue by dropping the internal firmware-transmitted failures
before updating the TX completion status to mac80211, in order to
prevent false failure averaging in mesh metric calculation.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
Signed-off-by: Karthikeyan Kathirvel <quic_kathirve@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240430074313.885807-3-quic_kathirve@quicinc.com
drivers/net/wireless/ath/ath12k/dp_tx.c
drivers/net/wireless/ath/ath12k/hal_desc.h