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>
This commit is contained in:
Ajay Parida 2024-12-09 16:28:31 +05:30 committed by Benjamin Cabé
commit 0fb3707699
2 changed files with 11 additions and 0 deletions

View file

@ -802,4 +802,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

View file

@ -80,6 +80,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(