Re: [PATCH v3] wifi: ath9k_htc: bound TX aggregation to MAX_TX_BUF_SIZE

From: Jeff Johnson

Date: Mon Sep 21 2026 - 14:03:24 EST



On Fri, 11 Sep 2026 03:11:43 +0300, Georgios Karantzas wrote:
> __hif_usb_tx() dequeues up to MAX_TX_AGGR_NUM (20) frames into a
> single tx_buf of MAX_TX_BUF_SIZE (32768) bytes, limiting the batch
> by record count but never by cumulative byte length.
>
> With large frames (MTU 2304), 20 aggregated frames of 2292 bytes
> each exceed the allocation (20 * 2296 = 45920 bytes), so the
> memcpy() in the loop writes up to 13152 bytes past tx_buf->buf
> before usb_submit_urb().
>
> [...]

Applied, thanks!

[1/1] wifi: ath9k_htc: bound TX aggregation to MAX_TX_BUF_SIZE
commit: aeaca27c1db3106967ffbb2b517d98c835f6d500

Best regards,
--
Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx>