diff --git a/drivers/wifi/nrf_wifi/Kconfig.nrfwifi b/drivers/wifi/nrf_wifi/Kconfig.nrfwifi index cb3d7e7ba36..126688d9a47 100644 --- a/drivers/wifi/nrf_wifi/Kconfig.nrfwifi +++ b/drivers/wifi/nrf_wifi/Kconfig.nrfwifi @@ -758,6 +758,8 @@ endchoice config NRF_WIFI_MGMT_BUFF_OFFLOAD bool "Management buffer offload" + # Raw scan results need host based refilling + depends on !WIFI_MGMT_RAW_SCAN_RESULTS default y help This option offloads the refilling of management buffers to the UMAC, saving the host diff --git a/drivers/wifi/nrf_wifi/src/fmac_main.c b/drivers/wifi/nrf_wifi/src/fmac_main.c index 470be6c8055..341d4c15a55 100644 --- a/drivers/wifi/nrf_wifi/src/fmac_main.c +++ b/drivers/wifi/nrf_wifi/src/fmac_main.c @@ -76,7 +76,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;