From: Luka Gejak <luka.gejak@linux.dev>
To: Ping-Ke Shih <pkshih@realtek.com>
Cc: linux-wireless@vger.kernel.org, Luka Gejak <luka.gejak@linux.dev>,
Bitterblue Smith <rtl8821cerfe2@gmail.com>,
linux-kernel@vger.kernel.org, Ahmet Zeren <niko3x@proton.me>
Subject: Re: [PATCH RFT rtw-next v2 2/2] wifi: rtw88: honour the retry count and NO_ACK of injected frames
Date: Fri, 27 Nov 2026 12:59:29 +0100 [thread overview]
Message-ID: <20261127115929.40205-1-luka.gejak@linux.dev> (raw)
In-Reply-To: <20261127-b4-rtw88-inject-v2-2-f9701b9243a3@proton.me>
Hi Ahmet,
Thanks for the update. One comment below.
On November 27, 2026 12:00:00 PM GMT+03:00, Ahmet Zeren
<niko3x@proton.me> wrote:
[ ... ]
> info = IEEE80211_SKB_CB(skb);
> ieee80211_tx_info_clear_status(info);
> - if (acked)
> + if (acked && info->flags & IEEE80211_TX_CTL_NO_ACK)
> + info->flags |= IEEE80211_TX_STAT_NOACK_TRANSMITTED;
> + else if (acked)
> info->flags |= IEEE80211_TX_STAT_ACK;
As far as I can see, ieee80211_add_tx_radiotap_header() sets
IEEE80211_RADIOTAP_F_TX_FAIL for a unicast frame whenever
IEEE80211_TX_STAT_ACK is clear. So with this change the monitor capture
can show a failed transmission even when CCX reports success.
Could we check for IEEE80211_TX_STAT_NOACK_TRANSMITTED there too? For the
test in the cover letter, I think we need the raw CCX result to tell
whether the firmware actually reported retry exhaustion.
Best regards,
Luka Gejak
next prev parent reply other threads:[~2026-11-27 11:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 8:59 [PATCH RFT rtw-next v2 0/2] wifi: rtw88: honour rate, retries and bandwidth " Ahmet Zeren via B4 Relay
2026-11-27 8:59 ` [PATCH RFT rtw-next v2 1/2] wifi: rtw88: use the rate, bandwidth and GI " Ahmet Zeren via B4 Relay
2026-11-27 9:00 ` [PATCH RFT rtw-next v2 2/2] wifi: rtw88: honour the retry count and NO_ACK " Ahmet Zeren via B4 Relay
2026-11-27 11:59 ` Luka Gejak [this message]
2026-11-27 12:24 ` Ahmet Zeren
2026-11-27 15:19 ` [PATCH RFT rtw-next v2 0/2] wifi: rtw88: honour rate, retries and bandwidth " martin
2026-11-27 18:56 ` Ahmet Zeren
2026-11-27 19:18 ` martin
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=20261127115929.40205-1-luka.gejak@linux.dev \
--to=luka.gejak@linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--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®