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

From: Mehmet Fide

Date: Tue Nov 24 2026 - 03:31:39 EST


Hi Luka,

> Could the TBTT pacing from patch 3 go in here so the commit that enables
> CSA also waits for that last TBTT?

The series goes in as a whole. I kept the pacing separate for review.

> Could the driver reject a template that cannot fit, or stop the AP if
> the download keeps failing?
> Could this path retry the new beacon when the download fails?
> Could we send the locations only after a successful download and
> retry the download if it fails?

As in my v13 reply: hostapd cannot request a beacon that does not fit,
and downloads failed only in unbind and crash tests. The other beacon
updates in rtw88 behave the same. If Ping-Ke wants, a separate patch can
cover all callers.

> Could we make sure the mac80211 fix is in the target tree before
> enabling CSA here?

It is in v7.4-rc3 and in wireless-next, which rtw-next is merged into.
It only matters for an IBSS left during a countdown and joined again.

> Could the driver reject this before it starts announcing the switch?

Confirmed on an RTL8822CE: mac80211 stops the AP at the end of the
countdown and the station stays. The AP then needs a restart, as any
channel change does today. If Ping-Ke wants, a check in
pre_channel_switch() can be a separate patch.

Mehmet