Re: [PATCH rtw-next v5 10/10] wifi: rtw89: restore channel when leaving idle on non-chanctx devices
From: Enver Ikromov
Date: Mon Nov 16 2026 - 10:34:50 EST
On Mon, Nov 16, 2026 at 03:45:04AM +0000, Ping-Ke Shih wrote:
> The commit message may just say that fix the channel in monitor doesn't
> restore after monitor interface down/up.
> [...]
> Declare a local variable 'no_chanctx = !rtwdev->ops->assign_vif_chanctx';
> Move this upward after rtw89_leave_ps_mode(), and update the 'changed'
>
> changed |= IEEE80211_CONF_CHANGE_CHANNEL;
>
> to share existing code.
Tested your exact snippet on RTL8852AE across cold start and monitor
down/up on 5 GHz (80 MHz), and RX and TX restore cleanly. I will use
this approach, shorten the commit message, and place the patch before
the feature patches in v6 as Zong-Zhe suggested.
Thanks,
Enver