[PATCH ath-next] wifi: ath11k: report TX retries in station statistics
Nicolas Escande
nico.escande at gmail.com
Mon Oct 19 00:16:50 PDT 2026
On Sun Oct 18, 2026 at 7:18 PM CEST, Julius Bairaktaris wrote:
> ath11k does not fill NL80211_STA_INFO_TX_RETRIES, and mac80211's TX
> status accounting leaves it at zero because the driver reports no
> per-rate try counts. The HTT PPDU statistics carry the MPDUs tried and
> acknowledged per user. Report the unacknowledged MPDUs per station as TX
> retries and leave TX failures to mac80211. Over 6 runs of 30 s the
> station's TX retries track the firmware's pdev mpdu_requeued counter to
> within 57 MPDUs.
>
> Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.9.0.1-02146-QCAHKSWPL_SILICONZ-1
>
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Julius Bairaktaris <julius at bairaktaris.de>
> ---
> drivers/net/wireless/ath/ath11k/core.h | 1 +
> drivers/net/wireless/ath/ath11k/dp_rx.c | 5 +++++
> drivers/net/wireless/ath/ath11k/mac.c | 3 +++
> 3 files changed, 9 insertions(+)
There seems to be a way to retrieve this info directly per tx completion:
https://git.codelinaro.org/clo/qsdk/oss/system/feeds/wlan-open/-/raw/win.wlan_host_opensource.4.0.r39/patches/ath11k/0149-ath11k-fix-tx-bitrate-retry-signal-in-station-dump.patch
and the try_cnt comes from
https://git.codelinaro.org/clo/qsdk/oss/system/feeds/wlan-open/-/raw/win.wlan_host_opensource.4.0.r39/patches/ath11k/0117-001-ath11k-optimize-tx-completions.patch
More information about the ath11k
mailing list