RE: [PATCH rtw-next v14 3/3] wifi: rtw88: time the countdown downloads from the TBTT

From: Ping-Ke Shih

Date: Tue Nov 24 2026 - 04:10:24 EST


Hi Mehmet,

Mehmet Fide <mehmet.fide@xxxxxxxxx> wrote:
> Hi Luka,
>
> > Could the wait for the safe part of the interval use a finer timer, or
> > could we limit CSA to intervals the timer can reliably handle?
>
> Agreed for short intervals with HZ=100. A finer timer would not help
> much on USB, where the download itself takes 6 to 17 ms. At 100 TU no
> count repeats (model with HZ=100, rig with HZ=250). If Ping-Ke wants, a
> minimum interval check can be a separate patch.

In my opinion, we can just fix the real case you encountered, and yes
we can think about the different HZ cases in detail. However, we don't
need to consider too many corner cases, which spend a lot of time,
but actually never happen. Sometime in the future, if it happens,
we can spin another patch to fix it. No need a perfect patch.

The main point I want to catch up during reviewing is to prevent kernel
crash. A patch with flaw functionality is acceptable.

Ping-Ke