Re: [PATCH RFT rtw-next v3 2/2] wifi: rtw88: honour the retry count and NO_ACK of injected frames
From: Luka Gejak
Date: Wed Dec 02 2026 - 08:37:08 EST
Hi Ahmet,
I found one path that might explain why reopening on the same channel
behaves differently.
On December 1, 2026 8:44:55 PM GMT+00:00, Ahmet Zeren
<niko3x@xxxxxxxxx> wrote:
[ ... ]
> Ping-Ke, have you seen the 8814A or 8812A stop transmitting on 5 GHz
> after the monitor interface is set up again on the same channel?
If the monitor is the only interface up on that radio, taking it down
and bringing it up again powers the chip off and on. mac80211 keeps
the old channel definition across that cycle. When the monitor is
reopened on the same channel, ieee80211_hw_conf_init() can leave out
IEEE80211_CONF_CHANGE_CHANNEL. Without that flag, rtw_ops_config()
can skip programming the channel even though the chip just restarted.
Martin, could you capture the driver trace during the first setup and
the second setup on the same channel with the stock modules? This
should be enough to see whether the channel change reached rtw88.
sudo trace-cmd record -e mac80211:drv_stop -e mac80211:drv_start \
-e mac80211:drv_config
Run the two setups in another terminal, then stop the recording with
Ctrl+C and read the trace.
trace-cmd report
In the drv_config output, ch is the change mask and bit 6 (0x40) is
the channel change. If that bit is missing after the second start, we
could try forcing the channel configuration at open. If it is set for
the requested channel, I'd look at what rtw88 programs after the
restart.
Best regards,
Luka Gejak