RE: [PATCH rtw-next v3 2/2] wifi: rtw88: sdio: combine free TX page register reads
From: Ping-Ke Shih
Date: Tue Nov 17 2026 - 02:11:36 EST
Leonard Lausen <leonard@xxxxxxxxx> wrote:
> TX capacity checks on non-8051 chips read three adjacent 32-bit registers
> in separate SDIO requests. Combine them into one 12-byte CMD53 read when
> the existing power/alignment check permits it, with the per-register
> fallback otherwise. Propagate read errors before checking queue capacity.
How much time will this change improve?
>
> Allocate a DMA-safe buffer at probe and copy its little-endian values
> into the caller's array before releasing the host. Holding the host
> through the read and copy serializes access to the shared buffer.
>
> Signed-off-by: Leonard Lausen <leonard@xxxxxxxxx>
With description about improvement,
Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>