Re: [PATCHv2 wireless-next] wifi: nxpwifi: embed rx_reorder_ptr

Jeff Chen <[email protected]>
Newsgroups org.kernel.vger.linux-wireless,org.kernel.vger.linux-hardening,org.kernel.vger.linux-kernel
Message-ID <amrEDJZsZ7AwZ1dr@nxpwireless-Inspiron-14-Plus-7440>
On Wed, Jul 29, 2026 at 11:37:15 AM -0700, Rosen Penev wrote:
> rx_reorder_ptr is a dynamically allocated array which is done near the
> main struct allocation. Combine the two to avoid freeing separately.
> 
> Also fix the type to what it actually is. void is normally used to avoid
> casting but there's no need here.
> 
> Signed-off-by: Rosen Penev <[email protected]>
> ---
>  v2: fix unused variable error
>  .../net/wireless/nxp/nxpwifi/11n_rxreorder.c  | 23 +++++--------------
>  drivers/net/wireless/nxp/nxpwifi/main.h       |  2 +-
>  2 files changed, 7 insertions(+), 18 deletions(-)
> 

Thanks for the patch. 

Tested on nxpwifi with iw612 chipset, running iperf3 stability tests.

Tested-by: Jeff Chen <[email protected]>
Reviewed-by: Jeff Chen <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.