From: Ping-Ke Shih <pkshih@realtek.com>
To: Enver Ikromov <owner@ph4ntom-rev.uz>
Cc: "linux-wireless@vger.kernel.org" <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" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH rtw-next v2 1/2] wifi: rtw89: fix retry limit and NO_ACK status for injected frames
Date: Mon, 30 Nov 2026 01:12:44 +0000 [thread overview]
Message-ID: <4b7b36c5b2134798a958b71c35be6cfe@realtek.com> (raw)
In-Reply-To: <20261127101307.15-2-owner@ph4ntom-rev.uz>
Enver Ikromov <owner@ph4ntom-rev.uz> wrote:
> mac80211 clears IEEE80211_TX_CTRL_RATE_INJECT if the injected rate is
> unsupported, but still fills rates[0].count. Check RATE_INJECT before
> applying rates[0].count in rtw89_core_tx_update_injection().
>
> Cap hw->max_rate_tries at min(RTW89_TX_DATA_CNT_LMT_MAX,
> IEEE80211_MAX_TX_RETRY) so radiotap retry counts do not overflow the
> 5-bit rates[0].count field.
>
> In rtw89_tx_rpt_tx_status(), setting IEEE80211_TX_STAT_NOACK_TRANSMITTED
> on dropped NO_ACK skbs (MACID_DROP or LIFE_TIME) makes mac80211 count
> them as transmitted instead of failed. Only set NOACK_TRANSMITTED on
> RTW89_TX_DONE, or on RTW89_TX_RETRY_LIMIT for AX unicast NO_ACK frames
> sent once with tx_cnt_lmt = 1, and do not set IEEE80211_TX_STAT_ACK on
> NO_ACK frames.
>
> Fixes: 92608bb5f14f ("wifi: rtw89: honor ASSIGN_SEQ, retries, and NO_ACK for injected frames")
> Reported-by: Luka Gejak <luka.gejak@linux.dev>
> Closes: https://lore.kernel.org/linux-wireless/7904907C-A864-4DE9-AE9B-65082A38B29B@linux.dev/
> Reported-by: Ahmet Zeren <niko3x@proton.me>
> Closes:
> https://lore.kernel.org/linux-wireless/Qmyu_zaapR7fisQhYB1W9CDM3OG849otNXR4xWRbIaRocvy40VyY4N2Jte4
> IHqD33nCI_txHle2bL5F7S0b6Bv_uXvCyk9MJ35CFHWzopyE=@proton.me/
> Signed-off-by: Enver Ikromov <owner@ph4ntom-rev.uz>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
next prev parent reply other threads:[~2026-11-30 1:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 10:13 [PATCH rtw-next v2 0/2] wifi: rtw89: fix injected retry limit and NO_ACK TX status Enver Ikromov
2026-11-27 10:13 ` [PATCH rtw-next v2 1/2] wifi: rtw89: fix retry limit and NO_ACK status for injected frames Enver Ikromov
2026-11-30 1:12 ` Ping-Ke Shih [this message]
2026-12-01 8:26 ` Ping-Ke Shih
2026-11-27 10:13 ` [PATCH rtw-next v2 2/2] wifi: rtw89: pci: fix NO_ACK TX status reporting Enver Ikromov
2026-11-30 1:22 ` 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=4b7b36c5b2134798a958b71c35be6cfe@realtek.com \
--to=pkshih@realtek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=luka.gejak@linux.dev \
--cc=niko3x@proton.me \
--cc=owner@ph4ntom-rev.uz \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.