Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8631602 authored by Sandeep Puligilla's avatar Sandeep Puligilla Committed by nshrivas
Browse files

qcacmn: Increase scan active dwelltime for NAN+STA mode

STA not able to scan APs when NAN+STA concurrency is enabled.

Increase the active scan dwell time from 40ms to 60ms when
NAN+STA is enabled.

Change-Id: Ie3f3cccecaed3a5622a9f93f952edc0aec4f56d9
CRs-Fixed: 2699662
parent b73a4a41
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -560,7 +560,7 @@ int scm_scan_get_burst_duration(int max_ch_time, bool miracast_enabled)
	return burst_duration;
}

#define SCM_ACTIVE_DWELL_TIME_NAN      40
#define SCM_ACTIVE_DWELL_TIME_NAN      60
#define SCM_ACTIVE_DWELL_TIME_SAP      40

/**
@@ -772,8 +772,7 @@ static void scm_req_update_concurrency_params(struct wlan_objmgr_vdev *vdev,

	if (ndi_present) {
		req->scan_req.dwell_time_active =
			QDF_MIN(req->scan_req.dwell_time_active,
				SCM_ACTIVE_DWELL_TIME_NAN);
						SCM_ACTIVE_DWELL_TIME_NAN;
		req->scan_req.dwell_time_active_2g =
			QDF_MIN(req->scan_req.dwell_time_active_2g,
			SCM_ACTIVE_DWELL_TIME_NAN);