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 - 15:28:09 EST
martin@xxxxxxxxx wrote:
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.
That fixes it. With only this change in rtw88_core (stock 7.0.0-43
otherwise):
mutex_lock(&rtwdev->mutex);
ret = rtw_core_start(rtwdev);
+ if (!ret && hw->conf.chandef.chan)
+ rtw_set_channel(rtwdev);
mutex_unlock(&rtwdev->mutex);
the second setup on the same frequency now works on both adapters:
the RTL8814AU receives (1125 beacons in 30 s, 0 without the change)
and both inject again (50 of 50 frames at the receiver, 0 before). A
second setup on 5200 behaves the same. The drv_config masks are
unchanged, still without 0x40 after the second start, so the fix
comes from the call in rtw_ops_start(). The RFE pinmux, REG_CCK_CHECK
and REG_LED_CFG values after the second setup now match the first. No
warnings in dmesg.
Ping-Ke, would you take a patch like this for rtw88, or would you
rather handle it in mac80211's ieee80211_hw_conf_init()? I can send
it as a proper patch if that helps.
Martin