RE: [PATCH rtw-next v2 3/3] wifi: rtw88: widen the ATIM window while an AP interface is up
From: Ping-Ke Shih
Date: Wed Sep 09 2026 - 21:39:12 EST
Mehmet Fide <mehmet.fide@xxxxxxxxx> wrote:
> From: Mehmet Fide <mehmet.fide@xxxxxxxxxxxxxxxxxx>
>
> The frames held for dozing stations go out right after the DTIM beacon
> and only for the duration of the ATIM window. The chips come up with a
> 2 TU window (the two that program it set 0x2 at init), which drains
> about three frames per DTIM; the vendor driver sets 0xa or 0xc in AP
> mode instead. With the 2 TU window the measured page pool exhaustion
> takes ~100 s of ordinary multicast chatter; at 0x4 the same storm
> already drains, so 0xa leaves comfortable headroom.
>
> Program 0xa when an AP interface starts and put the default back when
> it stops, since most chips never initialize the register themselves.
> The bound and the filter of the previous patches still apply: the
> window adds drain capacity, the budget protects the pool when that is
> not enough, the filter keeps chatter off the beacon-paced path.
>
> Suggested-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
> Signed-off-by: Mehmet Fide <mehmet.fide@xxxxxxxxxxxxxxxxxx>
Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>