Skip to content

Commit 0fb3707

Browse files
ajayparidakartben
authored andcommitted
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 <ajay.parida@nordicsemi.no>
1 parent dcf9449 commit 0fb3707

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

drivers/wifi/nrf_wifi/Kconfig.nrfwifi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,4 +802,14 @@ config NRF70_PASSIVE_SCAN_ONLY
802802
help
803803
Enable this configuration to force passive scan on all channels.
804804
This will override application-specified scan type.
805+
config NRF_WIFI_DISPLAY_SCAN_BSS_LIMIT
806+
# Display scan BSS entries limit
807+
# By default, the limit is 250 in scan-only mode and 150 in regular mode.
808+
int "Display scan bss limit"
809+
range 1 450 if NRF70_SCAN_ONLY
810+
def_int 250 if NRF70_SCAN_ONLY
811+
range 1 160
812+
def_int 150
813+
help
814+
Number of BSS entries in scan result.
805815
endif # WIFI_NRF70

modules/nrf_wifi/os/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ target_compile_definitions(
8080
NRF70_ANT_GAIN_5G_BAND3=${CONFIG_NRF70_ANT_GAIN_5G_BAND3}
8181
NRF_WIFI_PS_INT_PS=${CONFIG_NRF_WIFI_PS_INT_PS}
8282
NRF_WIFI_RPU_RECOVERY_PS_ACTIVE_TIMEOUT_MS=${CONFIG_NRF_WIFI_RPU_RECOVERY_PS_ACTIVE_TIMEOUT_MS}
83+
NRF_WIFI_DISPLAY_SCAN_BSS_LIMIT=${CONFIG_NRF_WIFI_DISPLAY_SCAN_BSS_LIMIT}
8384
)
8485

8586
target_include_directories(

0 commit comments

Comments
 (0)