From 2eb8560c8836846dccf13e4f9f63556b9976762c Mon Sep 17 00:00:00 2001 From: Amruta Kulkarni Date: Tue, 10 Mar 2020 14:22:47 -0700 Subject: [PATCH] qcacmn: Set default active dwell 2g time to 40ms for SAP For SAP related scan (ACS,OBSS), set the active dwell time in 2G to 40 ms. Change-Id: I5a34fc207ac281f5616e6071c66594f61451a512 CRs-Fixed: 2636152 --- umac/scan/core/src/wlan_scan_manager.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/umac/scan/core/src/wlan_scan_manager.c b/umac/scan/core/src/wlan_scan_manager.c index 3dfc1c3972a0..9b33138594f9 100644 --- a/umac/scan/core/src/wlan_scan_manager.c +++ b/umac/scan/core/src/wlan_scan_manager.c @@ -561,6 +561,7 @@ int scm_scan_get_burst_duration(int max_ch_time, bool miracast_enabled) } #define SCM_ACTIVE_DWELL_TIME_NAN 40 +#define SCM_ACTIVE_DWELL_TIME_SAP 40 /** * scm_req_update_concurrency_params() - update scan req params depending on @@ -649,7 +650,7 @@ static void scm_req_update_concurrency_params(struct wlan_objmgr_vdev *vdev, * time for 2g channels instead of dwell_time_active_2g */ if (vdev->vdev_mlme.vdev_opmode == QDF_SAP_MODE) - req->scan_req.dwell_time_active_2g = 0; + req->scan_req.dwell_time_active_2g = SCM_ACTIVE_DWELL_TIME_SAP; if (req->scan_req.scan_type == SCAN_TYPE_DEFAULT) { /*