From c26f6f5a4e56602ab90a55fa737dd8eef733fd69 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 | 5 +++++ modules/nrf_wifi/os/CMakeLists.txt | 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/wifi/nrf_wifi/Kconfig.nrfwifi b/drivers/wifi/nrf_wifi/Kconfig.nrfwifi index 1c76a3a74c8539f..4d93246c61d5283 100644 --- a/drivers/wifi/nrf_wifi/Kconfig.nrfwifi +++ b/drivers/wifi/nrf_wifi/Kconfig.nrfwifi @@ -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 diff --git a/modules/nrf_wifi/os/CMakeLists.txt b/modules/nrf_wifi/os/CMakeLists.txt index a409fb81023bafd..e39bca21c92fec7 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_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}