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

From: martin

Date: Wed Dec 02 2026 - 14:04:33 EST


Luka Gejak <luka.gejak@xxxxxxxxx> wrote:
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.

It is missing. Stock modules (Ubuntu 7.0.0-43), tracefs, the monitor
as the only interface on the phy; RTL8814AU, the RTL8812AU gives the
same sequence:

#1 down/up, set freq 5180 80 5210 (1143 beacons in 30 s)
drv_start
drv_config ch:0xffffffbd 2412 MHz
drv_config ch:0x40 2412 MHz
drv_config ch:0x60 5180 MHz, 80, center 5210
drv_config ch:0x2 5180 MHz, 80, center 5210
#2 down/up, set freq 5180 80 5210 (0 beacons)
drv_stop
drv_start
drv_config ch:0xffffff9d 5180 MHz, 80, center 5210
(set freq creates no drv_config)
#3 down/up, set freq 5200 80 5210 (1139 beacons)
drv_stop
drv_start
drv_config ch:0xffffff9d 5180 MHz, 80, center 5210
drv_config ch:0x60 2412 MHz
drv_config ch:0x60 5200 MHz, 80, center 5210
drv_config ch:0x2 5200 MHz, 80, center 5210

So after the second start rtw88 never gets a channel change: the
drv_config from ieee80211_hw_conf_init() leaves out CHANNEL, POWER and
SMPS unless the chandef differs from the one mac80211 kept, and
rtw_ops_start() doesn't program a channel itself. rtw_ips_pwr_up()
does call rtw_set_channel() after rtw_core_start(), so doing the same
in rtw_ops_start() looks like the simplest fix. I'll try that on both
adapters and report back.

This is also the report I sent separately:
https://lore.kernel.org/r/20261201205032.Horde.Z7ChCCtVnG0Kme7KFHo6v7B@xxxxxxxxxxxxxxxxxxx/

Martin