Linux wireless drivers development
 help / color / mirror / Atom feed
From: "Nicolas Escande" <nico.escande@gmail.com>
To: "Julius Bairaktaris" <julius@bairaktaris.de>, <jjohnson@kernel.org>
Cc: <linux-wireless@vger.kernel.org>, <ath11k@lists.infradead.org>
Subject: Re: [PATCH ath-next] wifi: ath11k: report TX retries in station statistics
Date: Mon, 19 Oct 2026 09:16:50 +0200	[thread overview]
Message-ID: <DM8MPWZ7TFEE.11W2Q780HK4FT@gmail.com> (raw)
In-Reply-To: <20261018171803.1545946-1-julius@bairaktaris.de>

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@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

  reply	other threads:[~2026-10-19  7:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-18 17:18 [PATCH ath-next] wifi: ath11k: report TX retries in station statistics Julius Bairaktaris
2026-10-19  7:16 ` Nicolas Escande [this message]
2026-10-19  7:41   ` Julius Bairaktaris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM8MPWZ7TFEE.11W2Q780HK4FT@gmail.com \
    --to=nico.escande@gmail.com \
    --cc=ath11k@lists.infradead.org \
    --cc=jjohnson@kernel.org \
    --cc=julius@bairaktaris.de \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox