Skip to content

Commit

Permalink
wifi: nrf_wifi: Add Kconfig option to disabling priority window
Browse files Browse the repository at this point in the history
Add Kconfig option to disabling priority window for scan.

Signed-off-by: Kapil Bhatt <[email protected]>
  • Loading branch information
kapbh committed Dec 19, 2024
1 parent ec4bdd5 commit c26f6f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/wifi/nrf_wifi/Kconfig.nrfwifi
Original file line number Diff line number Diff line change
Expand Up @@ -802,4 +802,9 @@ 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_DISABLE_PRIORITY_WINDOW_FOR_SCAN
bool "Forced to disable priority window for scan"
help
Enable this configuration to disable priority window for scan.
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 @@ -39,6 +39,7 @@ target_compile_definitions(
$<$<BOOL:${CONFIG_NRF_WIFI_FEAT_KEEPALIVE}>:NRF_WIFI_FEAT_KEEPALIVE>
$<$<BOOL:${CONFIG_NRF_WIFI_FEAT_KEEPALIVE}>:NRF_WIFI_KEEPALIVE_PERIOD_S=${CONFIG_NRF_WIFI_KEEPALIVE_PERIOD_S}>
$<$<BOOL:${CONFIG_WIFI_MGMT_RAW_SCAN_RESULTS}>:WIFI_MGMT_RAW_SCAN_RESULTS>
$<$<BOOL:${CONFIG_NRF_WIFI_DISABLE_PRIORITY_WINDOW_FOR_SCAN}>:NRF_WIFI_DISABLE_PRIORITY_WINDOW_FOR_SCAN>
NRF70_RX_NUM_BUFS=${CONFIG_NRF70_RX_NUM_BUFS}
NRF70_MAX_TX_TOKENS=${CONFIG_NRF70_MAX_TX_TOKENS}
NRF70_RX_MAX_DATA_SIZE=${CONFIG_NRF70_RX_MAX_DATA_SIZE}
Expand Down

0 comments on commit c26f6f5

Please sign in to comment.