RE: [PATCH rtw-next v16 2/3] wifi: rtw88: support channel switch in AP mode
From: Ping-Ke Shih
Date: Wed Dec 02 2026 - 04:12:22 EST
Mehmet Fide <mehmet.fide@xxxxxxxxx> wrote:
> Hi Ping-Ke,
>
> > I think you can just call chip_ops::phy_calibration(), no need new
> > chip_ops::switch_calibration().
> [...]
> > Or an alternative way is to not declare WIPHY_FLAG_HAS_CHANNEL_SWITCH
> > for RTL8812AU. Both ways are fine to me.
>
> Here is my plan for v17 then: call phy_calibration() after a switch,
> and keep WIPHY_FLAG_HAS_CHANNEL_SWITCH set for all chips.
>
> The result:
>
> - RTL8822B and RTL8821C: no change, phy_calibration() runs only the
> IQK, about 25 ms.
> - RTL8822C: phy_calibration() also runs the GAPK and the DPK. A switch
> takes about 0.2 s on an RTL8822CE and up to 1.7 s on an RTL8822CU.
> The station gets no ping reply for up to 1.9 s. But it stayed
> connected, at least in my test.
> - RTL8703B, RTL8723B, RTL8723D, RTL8812AU, RTL8814A and RTL8821A: I
> cannot test them.
>
> Do you think this sounds reasonable?
Okay to me.
The rtw8812a_phy_calibration() leaking AGC values is existing, which
in station mode it just works as was, so I think this is fine.
Ping-Ke