From 9f7307fe842701a832cb72da6e3b1637112edc07 Mon Sep 17 00:00:00 2001 From: Kapil Bhatt Date: Tue, 11 Mar 2025 15:12:01 +0530 Subject: [PATCH] drivers: wifi: Set reorder buffer size to half of RX buffers For different values of reorder buffer throughputs are consistent, Setting reorder buffer size to half of the RX buffers configured. Signed-off-by: Kapil Bhatt --- drivers/wifi/nrf_wifi/src/fmac_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/wifi/nrf_wifi/src/fmac_main.c b/drivers/wifi/nrf_wifi/src/fmac_main.c index 821d5fb25ee..a0e05a8d886 100644 --- a/drivers/wifi/nrf_wifi/src/fmac_main.c +++ b/drivers/wifi/nrf_wifi/src/fmac_main.c @@ -78,7 +78,7 @@ BUILD_ASSERT(CONFIG_NRF70_TX_MAX_DATA_SIZE >= MAX_TX_FRAME_SIZE, static const unsigned char aggregation = 1; static const unsigned char max_num_tx_agg_sessions = 4; static const unsigned char max_num_rx_agg_sessions = 8; -static const unsigned char reorder_buf_size = 16; +static const unsigned char reorder_buf_size = CONFIG_NRF70_RX_NUM_BUFS / 2; static const unsigned char max_rxampdu_size = MAX_RX_AMPDU_SIZE_64KB; static const unsigned char max_tx_aggregation = CONFIG_NRF70_MAX_TX_AGGREGATION;