Re: [PATCH rtw-next v8 2/3] wifi: rtw88: support channel switch in AP mode
From: Mehmet Fide
Date: Tue Oct 27 2026 - 05:13:33 EST
Hi Ping-Ke,
> During the WoW suspend, I think AP stays on original channel and sends
> beacon without countdown. How does associated STA do? Will it switch to
> target channel and disconnect result from no beacon?
Yes. I tried it with mac80211_hwsim on wireless/main: the station
switches on its timer even when the AP goes on beaconing on the old
channel without the CSA element, and disconnects after the beacon
loss. From the code, only drivers with abort_channel_switch (iwlwifi,
mt7921, mt7925) abort the switch on such a beacon and stay.
The AP stays up during WoWLAN only with AP + station on the 8822C:
WoWLAN takes a station vif only, so with an AP alone rtw_ops_suspend()
returns 1 and cfg80211 stops the AP before suspending. I checked this
on an RTL8822CU during a countdown.
Refusing WoWLAN during a switch would not help the stations, cfg80211
would stop the AP as well, so I would keep v9. The resume path does
not run on USB, the device is unbound during suspend; an 8822CE is on
order, it takes two to three weeks, and I can test it when it arrives.
Mehmet