From e943d2411ecfafeb6ea5dc1fb1a4f82c0950ae1e Mon Sep 17 00:00:00 2001 From: Triveni Danda Date: Fri, 11 Aug 2023 16:06:39 +0530 Subject: [PATCH] samples: wifi: scan: Add scan extension for passive channel dwell time Add scan extension to control time spent on passive scan channels. Signed-off-by: Triveni Danda --- samples/wifi/scan/src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/wifi/scan/src/main.c b/samples/wifi/scan/src/main.c index 30091cbf9c6..6993e6aa49b 100644 --- a/samples/wifi/scan/src/main.c +++ b/samples/wifi/scan/src/main.c @@ -51,7 +51,8 @@ const struct wifi_scan_params tests[] = { }, #if defined(CONFIG_WIFI_MGMT_FORCED_PASSIVE_SCAN) || defined(CONFIG_WIFI_SCAN_TYPE_PASSIVE) { - .scan_type = WIFI_SCAN_TYPE_PASSIVE + .scan_type = WIFI_SCAN_TYPE_PASSIVE, + .dwell_time_passive= CONFIG_WIFI_MGMT_SCAN_DWELL_TIME_PASSIVE }, #endif #ifdef CONFIG_WIFI_SCAN_BAND_2_4_GHZ