From: Enver Ikromov <owner@ph4ntom-rev.uz>
To: Ping-Ke Shih <pkshih@realtek.com>
Cc: Enver Ikromov <owner@ph4ntom-rev.uz>,
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
Subject: Re: [PATCH rtw-next 1/2] wifi: rtw89: fix retry limit and NO_ACK status for injected frames
Date: Fri, 27 Nov 2026 15:12:51 +0500 [thread overview]
Message-ID: <20261127101251.1850-1-owner@ph4ntom-rev.uz> (raw)
In-Reply-To: <06298e2d51ca45e482165b9c7bdbfdf3@realtek.com>
On Fri, Nov 27, 2026 at 07:27:12AM +0000, Ping-Ke Shih wrote:
> > Commit 92608bb5f14f ("wifi: rtw89: honor ASSIGN_SEQ, retries, and
> > NO_ACK for injected frames") has three issues:
>
> Your Fixes tag has said this.
[...]
> > 3. rtw89_tx_rpt_tx_status() sets IEEE80211_TX_STAT_NOACK_TRANSMITTED
> > unconditionally for NO_ACK frames (including RTW89_TX_MACID_DROP and
> > RTW89_TX_LIFE_TIME)
>
> I don't know why there is a problem?
In mac80211 (status.c), IEEE80211_TX_STAT_NOACK_TRANSMITTED sets
noack_success = true, so a dropped skb gets counted in
dot11TransmittedFrameCount (and skips retry_failed / lost_packet when
sta is present) even though it was never sent.
[...]
> Generated by LLM? Can you reword commit message yourself?
Yes, sorry for the noise. English isn't my first language so I used an
LLM to polish the commit log and it came out way too verbose. I'll
rewrite it plainly myself in v2 and drop the redundant Fixes sentence.
> No need parenthesis for ( & )
[...]
> You need to consider min of driver and ieee80211, so maybe
> min(0x3f, IEEE80211_MAX_TX_RETRY)
>
> The logic is clearer.
[...]
> Why do you need to clear these two bits ahead?
[...]
> I think the original ~IEEE80211_TX_STAT_ACK is not necessary.
Agreed on all of these. The TX_STAT_* bits are already zero on a fresh
skb, and min(RTW89_TX_DATA_CNT_LMT_MAX, IEEE80211_MAX_TX_RETRY) is much
clearer. Will update in v2.
Thanks,
Enver
next prev parent reply other threads:[~2026-11-27 10:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 8:31 [PATCH rtw-next 0/2] wifi: rtw89: fix injected retry limit and NO_ACK TX status Enver Ikromov
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-27 7:27 ` Ping-Ke Shih
2026-11-27 10:12 ` Enver Ikromov [this message]
2026-11-26 8:31 ` [PATCH rtw-next 2/2] wifi: rtw89: pci: fix TX status and counters for NO_ACK frames Enver Ikromov
2026-11-27 7:32 ` Ping-Ke Shih
2026-11-27 10:12 ` 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=20261127101251.1850-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®