From: Enver Ikromov <owner@ph4ntom-rev.uz>
To: Ping-Ke Shih <pkshih@realtek.com>
Cc: linux-wireless@vger.kernel.org, Ahmet Zeren <niko3x@proton.me>,
Luka Gejak <luka.gejak@linux.dev>,
Bitterblue Smith <rtl8821cerfe2@gmail.com>,
linux-kernel@vger.kernel.org,
Enver Ikromov <owner@ph4ntom-rev.uz>
Subject: [PATCH rtw-next 0/2] wifi: rtw89: fix injected retry limit and NO_ACK TX status
Date: Thu, 26 Nov 2026 13:31:39 +0500 [thread overview]
Message-ID: <20261126083141.1470-1-owner@ph4ntom-rev.uz> (raw)
This two-patch series fixes three follow-up issues in commit
92608bb5f14f ("wifi: rtw89: honor ASSIGN_SEQ, retries, and NO_ACK for
injected frames") reported by Luka Gejak and Ahmet Zeren during the
rtw88 injection review, along with the matching pre-existing NO_ACK TX
status issue on the PCIe completion path.
Patch 1 gates the per-packet retry override in
rtw89_core_tx_update_injection() on IEEE80211_TX_CTRL_RATE_INJECT, caps
hw->max_rate_tries at IEEE80211_MAX_TX_RETRY (31) so the 5-bit
ieee80211_tx_rate::count field does not wrap around, and makes
IEEE80211_TX_STAT_NOACK_TRANSMITTED and IEEE80211_TX_STAT_ACK mutually
exclusive in rtw89_tx_rpt_tx_status() while accounting for Wi-Fi 6 AX
unicast NO_ACK completions (RTW89_TX_RETRY_LIMIT with tx_cnt_lmt = 1)
and excluding dropped frames (RTW89_TX_MACID_DROP / RTW89_TX_LIFE_TIME).
Patch 2 applies the same NO_ACK TX status and ring counter handling to
rtw89_pci_tx_status() in pci.c, which handles TX completions on PCIe
devices.
Tested on RTL8852AE (10ec:8852, firmware 0.13.36.2) at 5 GHz using
raw radiotap injection, tracefs kprobes, and hardware RPP completion
telemetry across supported/unsupported radiotap rates, retry counts
0..32, and broadcast, QoS No-Ack, and unicast NO_ACK frames.
Enver Ikromov (2):
wifi: rtw89: fix retry limit and NO_ACK status for injected frames
wifi: rtw89: pci: fix TX status and counters for NO_ACK frames
drivers/net/wireless/realtek/rtw89/core.c | 5 +++--
drivers/net/wireless/realtek/rtw89/core.h | 1 -
drivers/net/wireless/realtek/rtw89/mac.h | 13 ++++++++-----
drivers/net/wireless/realtek/rtw89/pci.c | 7 +++++--
4 files changed, 16 insertions(+), 10 deletions(-)
base-commit: 18d0bedbb5f0538396cb7f763ed9cd1dd69c5b23
--
2.53.0
next reply other threads:[~2026-11-26 8:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 8:31 Enver Ikromov [this message]
2026-11-26 8:31 ` [PATCH rtw-next 1/2] wifi: rtw89: fix retry limit and NO_ACK status for injected frames Enver Ikromov
2026-11-26 8:31 ` [PATCH rtw-next 2/2] wifi: rtw89: pci: fix TX status and counters for NO_ACK frames Enver Ikromov
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=20261126083141.1470-1-owner@ph4ntom-rev.uz \
--to=owner@ph4ntom-rev.uz \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=luka.gejak@linux.dev \
--cc=niko3x@proton.me \
--cc=pkshih@realtek.com \
--cc=rtl8821cerfe2@gmail.com \
/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®