Re: [PATCH rtw-next v12 2/3] wifi: rtw88: support channel switch in AP mode
From: Mehmet Fide
Date: Wed Nov 18 2026 - 02:55:30 EST
Sashiko found a hole here: if the download of the count of 1 fails and
beaconing goes off and on before the retry, as for an off-channel
period, rtw_ops_bss_info_changed() restarts the countdown with retry
false, and the work finishes the switch without the count of 1 ever
reaching the firmware.
With a test build that fails that download and an off-channel period
of 40 ms during a countdown of 2, this happened in 9 of 20 switches on
an RTL8822CE and an RTL8822BU. Passing rtwdev->csa_retry there instead
of false keeps the retry: 0 of 20. v13 will have the fix, please do not
apply v12.
Mehmet