From b175c2a21765b4ec914cfd5e0902fb95e2d2b171 Mon Sep 17 00:00:00 2001 From: Karun Kumar Eagalapati Date: Tue, 17 Dec 2024 17:23:00 +0530 Subject: [PATCH 1/2] [nrf fromlist] manifest: Update nrf_wifi for disabling priority window Update nrf_wifi for disabling priority window for scan. Upstream PR #: 83104 Signed-off-by: Karun Kumar Eagalapati --- west.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/west.yml b/west.yml index 6061b2c5a05..3718b356b0a 100644 --- a/west.yml +++ b/west.yml @@ -303,7 +303,7 @@ manifest: revision: 3cfca0192ff84da919e9bc7978bcc2239cd6a395 path: modules/bsim_hw_models/nrf_hw_models - name: nrf_wifi - revision: f6b950a3b5c0187fe499b0e518426d5bf88b7e68 + revision: pull/13/head path: modules/lib/nrf_wifi - name: open-amp revision: b735edbc739ad59156eb55bb8ce2583d74537719 From aea537c6d048f23be6b8412e60ef124fbf85173f Mon Sep 17 00:00:00 2001 From: Kapil Bhatt Date: Tue, 17 Dec 2024 19:00:58 +0530 Subject: [PATCH 2/2] [nrf fromlist] wifi: nrf_wifi: Add Kconfig option to disabling priority window Add Kconfig option to disabling priority window for scan. Upstream PR #: 83104 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 0bb9b21b314..7fdd373133b 100644 --- a/drivers/wifi/nrf_wifi/Kconfig.nrfwifi +++ b/drivers/wifi/nrf_wifi/Kconfig.nrfwifi @@ -813,4 +813,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 daef05f2098..b37158ef9b3 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}