Эх сурвалжийг харах

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
Amruta Kulkarni 5 жил өмнө
parent
commit
2eb8560c88

+ 2 - 1
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) {
 		/*