Skip to content

Commit

Permalink
[nrf fromtree] drivers: wifi: Configure number of BSS entries
Browse files Browse the repository at this point in the history
Configure BSS entries to be displayed in scan result as
per the rssi order.

Signed-off-by: Ajay Parida <[email protected]>
(cherry picked from commit 0fb3707)
  • Loading branch information
ajayparida committed Dec 23, 2024
1 parent 7f8d857 commit e8fbfb7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/wifi/nrf_wifi/Kconfig.nrfwifi
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions modules/nrf_wifi/os/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e8fbfb7

Please sign in to comment.