From e8fbfb755ee60b5922b714a652df6b7c9a5f08de Mon Sep 17 00:00:00 2001 From: Ajay Parida Date: Mon, 9 Dec 2024 16:28:31 +0530 Subject: [PATCH 1/2] [nrf fromtree] drivers: wifi: Configure number of BSS entries Configure BSS entries to be displayed in scan result as per the rssi order. Signed-off-by: Ajay Parida (cherry picked from commit 0fb370769946529b1902caa54b6518c008de692f) --- drivers/wifi/nrf_wifi/Kconfig.nrfwifi | 10 ++++++++++ modules/nrf_wifi/os/CMakeLists.txt | 1 + 2 files changed, 11 insertions(+) diff --git a/drivers/wifi/nrf_wifi/Kconfig.nrfwifi b/drivers/wifi/nrf_wifi/Kconfig.nrfwifi index 0bb9b21b314..a5c4e174104 100644 --- a/drivers/wifi/nrf_wifi/Kconfig.nrfwifi +++ b/drivers/wifi/nrf_wifi/Kconfig.nrfwifi @@ -813,4 +813,14 @@ config NRF70_PASSIVE_SCAN_ONLY help Enable this configuration to force passive scan on all channels. This will override application-specified scan type. +config NRF_WIFI_DISPLAY_SCAN_BSS_LIMIT + # Display scan BSS entries limit + # By default, the limit is 250 in scan-only mode and 150 in regular mode. + int "Display scan bss limit" + range 1 450 if NRF70_SCAN_ONLY + def_int 250 if NRF70_SCAN_ONLY + range 1 160 + def_int 150 + help + Number of BSS entries in scan result. endif # WIFI_NRF70 diff --git a/modules/nrf_wifi/os/CMakeLists.txt b/modules/nrf_wifi/os/CMakeLists.txt index daef05f2098..3b0061ad140 100644 --- a/modules/nrf_wifi/os/CMakeLists.txt +++ b/modules/nrf_wifi/os/CMakeLists.txt @@ -81,6 +81,7 @@ target_compile_definitions( NRF70_ANT_GAIN_5G_BAND3=${CONFIG_NRF70_ANT_GAIN_5G_BAND3} NRF_WIFI_PS_INT_PS=${CONFIG_NRF_WIFI_PS_INT_PS} NRF_WIFI_RPU_RECOVERY_PS_ACTIVE_TIMEOUT_MS=${CONFIG_NRF_WIFI_RPU_RECOVERY_PS_ACTIVE_TIMEOUT_MS} + NRF_WIFI_DISPLAY_SCAN_BSS_LIMIT=${CONFIG_NRF_WIFI_DISPLAY_SCAN_BSS_LIMIT} ) target_include_directories( From 91be677ed19c4c5f8458e23fdc37558b276f2ee4 Mon Sep 17 00:00:00 2001 From: Ajay Parida Date: Mon, 9 Dec 2024 16:48:58 +0530 Subject: [PATCH 2/2] [nrf fromtree] manifest: modules: lib : nrf_wifi: Pull in Configuration of BSS limit Pull in changes to set BSS limit for scan result. Signed-off-by: Ajay Parida (cherry picked from commit a736e847544019dd1893879bbaccf0d392211a19) --- west.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/west.yml b/west.yml index b99c5d1212d..9ec8aad0484 100644 --- a/west.yml +++ b/west.yml @@ -303,7 +303,7 @@ manifest: revision: fbc6e614686b69dfa56f9694350b9488cf83d3f7 path: modules/bsim_hw_models/nrf_hw_models - name: nrf_wifi - revision: f6b950a3b5c0187fe499b0e518426d5bf88b7e68 + revision: 9612cd0f90946aa5c737530c57de2e894e16088f path: modules/lib/nrf_wifi - name: open-amp revision: b735edbc739ad59156eb55bb8ce2583d74537719