Re: [PATCH RFT rtw-next 2/2] wifi: rtw88: honour the retry count and NO_ACK of injected frames

From: Ahmet Zeren

Date: Wed Nov 25 2026 - 17:39:06 EST


Hi Luka,

You're right on both points, thanks. I'll fix them in v2: the retry
count will only be used when IEEE80211_TX_CTRL_RATE_INJECT is set, and
the TX report will set IEEE80211_TX_STAT_NOACK_TRANSMITTED instead of
IEEE80211_TX_STAT_ACK for NO_ACK frames that were sent.

Both came from following the rtw89 change, commit 92608bb5f14f ("wifi:
rtw89: honor ASSIGN_SEQ, retries, and NO_ACK for injected frames"), so
rtw89 has the same two issues:

- rtw89_core_tx_update_injection() uses control.rates[0].count without
checking IEEE80211_TX_CTRL_RATE_INJECT
- rtw89_tx_rpt_tx_status() sets IEEE80211_TX_STAT_NOACK_TRANSMITTED and
then also IEEE80211_TX_STAT_ACK when the frame was sent

There is a third one there: max_rate_tries is set to
RTW89_TX_DATA_CNT_LMT_MAX (63), but control.rates[].count is only 5 bits
wide (IEEE80211_MAX_TX_RETRY is 31), so radiotap retry counts above 30
wrap around. My rtl8xxxu patch has the same overflow, I'll send a fix
for it.

Enver, Cc'ing you since it's your patch. I can send fixes for rtw89 as
well if you prefer, but I have no rtw89 hardware to test them.

Thanks,
Ahmet



Sent with Proton Mail secure email.