From c595e6c00a9116f4642083153ba8d27dcc868681 Mon Sep 17 00:00:00 2001 From: Kapil Bhatt Date: Tue, 17 Dec 2024 19:00:58 +0530 Subject: [PATCH] wifi: nrf_wifi: Add Kconfig option to disabling priority window Add Kconfig option to disabling priority window for scan. Signed-off-by: Kapil Bhatt --- drivers/wifi/nrf_wifi/Kconfig.nrfwifi | 7 +++++++ modules/nrf_wifi/os/CMakeLists.txt | 1 + 2 files changed, 8 insertions(+) diff --git a/drivers/wifi/nrf_wifi/Kconfig.nrfwifi b/drivers/wifi/nrf_wifi/Kconfig.nrfwifi index 743da0e46af..ed8eeeaf61f 100644 --- a/drivers/wifi/nrf_wifi/Kconfig.nrfwifi +++ b/drivers/wifi/nrf_wifi/Kconfig.nrfwifi @@ -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 diff --git a/modules/nrf_wifi/os/CMakeLists.txt b/modules/nrf_wifi/os/CMakeLists.txt index 0c41bdf0def..8821aa1eaae 100644 --- a/modules/nrf_wifi/os/CMakeLists.txt +++ b/modules/nrf_wifi/os/CMakeLists.txt @@ -39,6 +39,7 @@ target_compile_definitions( $<$:NRF_WIFI_FEAT_KEEPALIVE> $<$:NRF_WIFI_KEEPALIVE_PERIOD_S=${CONFIG_NRF_WIFI_KEEPALIVE_PERIOD_S}> $<$:WIFI_MGMT_RAW_SCAN_RESULTS> + $<$: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}