wifi: nrf_wifi: Add Kconfig option to disabling priority window

Add Kconfig option to disabling priority window for scan.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
This commit is contained in:
Kapil Bhatt 2024-12-17 19:00:58 +05:30 committed by Benjamin Cabé
commit c595e6c00a
2 changed files with 8 additions and 0 deletions

View file

@ -802,6 +802,7 @@ 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.
@ -812,4 +813,10 @@ config NRF_WIFI_DISPLAY_SCAN_BSS_LIMIT
def_int 150
help
Number of BSS entries in scan result.
config NRF_WIFI_COEX_DISABLE_PRIORITY_WINDOW_FOR_SCAN
bool "Force disable priority window for scan in the case of coexistence with Short Range radio"
help
Enable this configuration to disable priority window for scan
in the case of coexistence with Short Range radio.
endif # WIFI_NRF70

View file

@ -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_COEX_DISABLE_PRIORITY_WINDOW_FOR_SCAN}>:NRF_WIFI_COEX_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}