Linux wireless drivers development
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: "niko3x@proton.me" <niko3x@proton.me>,
	Jes Sorensen <Jes.Sorensen@gmail.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"Luka Gejak" <luka.gejak@linux.dev>
Subject: RE: [PATCH rtw-next 2/2] wifi: rtl8xxxu: limit the retry count in the TX report
Date: Mon, 30 Nov 2026 02:14:26 +0000	[thread overview]
Message-ID: <981f188b55da4b068ed3b0bb38389d2e@realtek.com> (raw)
In-Reply-To: <20261127-b4-rtl8xxxu-retry-v1-2-b263ab1e0d1b@proton.me>

Ahmet Zeren via B4 Relay <devnull+niko3x.proton.me@kernel.org> wrote:
> From: Ahmet Zeren <niko3x@proton.me>
> 
> The CCX TX report has a 6-bit retry count, but the count passed to
> mac80211 is only 5 bits wide. A frame sent with the default retry limit
> of 48 is reported with 16 retries.
> 
> Limit the reported count to IEEE80211_MAX_TX_RETRY.
> 
> Tested on RTL8192CU (0bda:8178): a frame to an absent station sent with
> the default retry limit is now reported with 30 retries instead of 16.
> 
> Fixes: 8b29fd95e2d3 ("wifi: rtl8xxxu: report real TX status on RTL8188CU/RTL8192CU")
> Signed-off-by: Ahmet Zeren <niko3x@proton.me>

Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>



      reply	other threads:[~2026-11-30  2:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 18:53 [PATCH rtw-next 0/2] wifi: rtl8xxxu: fix two retry count overflows Ahmet Zeren via B4 Relay
2026-11-27 18:53 ` [PATCH rtw-next 1/2] wifi: rtl8xxxu: limit max_rate_tries to what mac80211 can pass Ahmet Zeren via B4 Relay
2026-11-30  2:11   ` Ping-Ke Shih
2026-11-27 18:53 ` [PATCH rtw-next 2/2] wifi: rtl8xxxu: limit the retry count in the TX report Ahmet Zeren via B4 Relay
2026-11-30  2:14   ` Ping-Ke Shih [this message]

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=981f188b55da4b068ed3b0bb38389d2e@realtek.com \
    --to=pkshih@realtek.com \
    --cc=Jes.Sorensen@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luka.gejak@linux.dev \
    --cc=niko3x@proton.me \
    /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