[PATCH rtw-next v3 2/2] wifi: rtw88: sdio: combine free TX page register reads

Ping-Ke Shih pkshih at realtek.com
Mon Nov 16 23:09:26 PST 2026


Leonard Lausen <leonard at lausen.nl> 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 at lausen.nl>

With description about improvement, 

Acked-by: Ping-Ke Shih <pkshih at realtek.com>




More information about the Linux-rockchip mailing list