Skip to content

Commit 426dccb

Browse files
committed
[nrf fromlist] drivers: wifi: Configure number of BSS entries
Configure BSS entries to be displayed in scan result as per the rssi order. Upstream PR #: 82728 Signed-off-by: Ajay Parida <[email protected]>
1 parent 2d9da2a commit 426dccb

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
@@ -813,4 +813,14 @@ config NRF70_PASSIVE_SCAN_ONLY
813813
help
814814
Enable this configuration to force passive scan on all channels.
815815
This will override application-specified scan type.
816+
config NRF_WIFI_DISPLAY_SCAN_BSS_LIMIT
817+
# Display scan BSS entries limit
818+
# By default, the limit is 250 in scan-only mode and 150 in regular mode.
819+
int "Display scan bss limit"
820+
range 1 450 if NRF70_SCAN_ONLY
821+
def_int 250 if NRF70_SCAN_ONLY
822+
range 1 160
823+
def_int 150
824+
help
825+
Number of BSS entries in scan result.
816826
endif # WIFI_NRF70

modules/nrf_wifi/os/CMakeLists.txt

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

8687
target_include_directories(

0 commit comments

Comments
 (0)