Re: [PATCH rtw-next v3 2/2] wifi: rtw88: support channel switch in AP mode

From: Mehmet Fide

Date: Tue Oct 06 2026 - 04:17:26 EST


Hi Ping-Ke,

On 2026-10-06 Ping-Ke Shih wrote:
> Can we stop the work properly before hardware restart?
> I just don't want many flags (conditions).

Yes. v4 cancels the countdown in rtw_fw_recovery_work(), under the
wiphy lock, before ieee80211_restart_hw(); the other stops are the AP
stop, the interface removal and the WoWLAN suspend. The work then
tests nothing but csa_active and the countdown itself; the running
flag check is gone. After the restart mac80211 reports the beacon
again and, if the switch is still announced, the countdown is armed
again from there.

Best regards,
Mehmet