mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
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
This commit is contained in:
parent
9afaef18bf
commit
2eb8560c88
1 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue