Re: [PATCH rtw-next v11 3/3] wifi: rtw88: time the countdown downloads from the TBTT
From: Mehmet Fide
Date: Mon Nov 16 2026 - 16:49:40 EST
Hi Luka,
> Could the next step wait for a TBTT that can send the first download,
> including when the first work has missed its scheduled one?
Yes. In v12 each step reads the TSF after its download and queues the
next one 10 ms after the first TBTT at least 10 ms away, so every count,
the first too, has a TBTT. A step that would run less than 5 ms after
a TBTT or less than 10 ms before one waits until 10 ms after that TBTT.
With the first work held back by 90 to 100 ms and a count of 2, v11
switched without any CSA beacon in 10 of 12 tries. With v12 and the
first work held back by 95 ms, every count went out in 48 of 50
switches with counts 2 and 5 on an RTL8821CU, an RTL8822BU and an
RTL8822CE; in the other two one count is missing in the capture.
Thanks,
Mehmet