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>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH rtw-next v2 2/3] wifi: rtl8xxxu: honour the retry count of injected frames on gen1 chips
Date: Mon, 23 Nov 2026 00:34:40 +0000 [thread overview]
Message-ID: <132dd24ce9bd4294a048032021822b30@realtek.com> (raw)
In-Reply-To: <20261122-b4-inject-v2-2-0ee720fe706d@proton.me>
Ahmet Zeren via B4 Relay <devnull+niko3x.proton.me@kernel.org> wrote:
> From: Ahmet Zeren <niko3x@proton.me>
>
> max_rate_tries is never set, so mac80211 clamps the retry count of every
> injected frame to zero and the radiotap retries field has no effect.
> Injected frames also ignore IEEE80211_TX_CTL_NO_ACK and use the default
> hardware retry limit of 48. Unicast frames to an absent station then
> take seconds each, which stalls all injection behind them.
>
> Advertise the 6-bit retry limit of the TX descriptor, and on gen1 chips
> program the retry limit of injected frames: none when no ACK is
> expected, otherwise the radiotap retry count.
>
> Tested on RTL8192CU (0bda:8178): 40 unicast frames at 1 Mbps to an
> absent station drain in ~0.13 s with NOACK or 0 retries, ~0.45 s with
> 2, ~1.1 s with 4 and ~3.3 s with 6 retries. Without this patch the same
> frames had not drained after 100 s, even with NOACK.
>
> Signed-off-by: Ahmet Zeren <niko3x@proton.me>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
next prev parent reply other threads:[~2026-11-23 0:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 5:59 [PATCH rtw-next v2 0/3] wifi: rtl8xxxu: honour rate, retries and bandwidth of injected frames Ahmet Zeren via B4 Relay
2026-11-22 5:59 ` [PATCH rtw-next v2 1/3] wifi: rtl8xxxu: honour the rate of injected frames on gen1 chips Ahmet Zeren via B4 Relay
2026-11-22 5:59 ` [PATCH rtw-next v2 2/3] wifi: rtl8xxxu: honour the retry count " Ahmet Zeren via B4 Relay
2026-11-23 0:34 ` Ping-Ke Shih [this message]
2026-11-22 5:59 ` [PATCH rtw-next v2 3/3] wifi: rtl8xxxu: honour the bandwidth " Ahmet Zeren via B4 Relay
2026-11-23 0:36 ` Ping-Ke Shih
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=132dd24ce9bd4294a048032021822b30@realtek.com \
--to=pkshih@realtek.com \
--cc=Jes.Sorensen@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--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
all inboxes | Powered by JetHome®