mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
qcacmn: Configure Default DBS scan for DBS HW
Previously, for high accuracy scan, configured scan policy SCAN_DBS_POLICY_FORCE_NONDBS takes more time to scan. For DBS HW, to improve scan time, this should be changed to SCAN_DBS_POLICY_DEFAULT. Change-Id: I692e2a8b4fd9c97b526197edc57b830fa091a456 CRs-Fixed: 2927022
This commit is contained in:
parent
2cfc1dab45
commit
3fb6ac72f3
1 changed files with 3 additions and 2 deletions
|
|
@ -445,8 +445,8 @@ scm_update_dbs_scan_ctrl_ext_flag(struct scan_start_request *req)
|
|||
PM_NDI_MODE,
|
||||
NULL);
|
||||
|
||||
if (ndi_present && !policy_mgr_is_hw_dbs_2x2_capable(psoc)) {
|
||||
scm_debug("NDP present go for DBS scan");
|
||||
if (ndi_present || policy_mgr_is_hw_dbs_2x2_capable(psoc)) {
|
||||
scm_debug("NDP present or HW 2x2 capable, go for DBS scan");
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
|
@ -455,6 +455,7 @@ scm_update_dbs_scan_ctrl_ext_flag(struct scan_start_request *req)
|
|||
scan_dbs_policy = SCAN_DBS_POLICY_FORCE_NONDBS;
|
||||
goto end;
|
||||
}
|
||||
|
||||
if ((req->scan_req.scan_policy_low_power) ||
|
||||
(req->scan_req.scan_policy_low_span)) {
|
||||
scm_debug("low power/span scan received, going for dbs scan");
|
||||
|
|
|
|||
Loading…
Reference in a new issue