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

From: Mehmet Fide

Date: Fri Nov 13 2026 - 17:06:37 EST


Hi Luka,

Thanks for the review.

> Could you check the beacon spacing in a capture with beacon_int=200? If
> it stays at 100 TU, that is a separate bug. Would you be willing to send
> a fix for that too?

You are right. With beacon_int 200 and 50 in hostapd, the beacons of an
RTL8822CE, RTL8822CU, RTL8822BU and RTL8821CU stay 102.4 ms apart on
the air, while the beacon interval field in them says 200 and 50. The
register reads 0x00640064 in every case. I will send a fix for it as a
separate patch.

> rtw88 sets BIT_DIS_TSF_UDT for AP and IBSS and has no reset_tsf op, so I
> think this mostly catches a download that ran more than a beacon
> interval late, not a TSF jump. Maybe say that in the comment?
>
> The start case computes the same next TBTT, so it could share this
> branch:

Yes to both. I will reword the comment and let the start case share
the branch in v11.

Best regards,
Mehmet