diff options
| author | Manikandan Mohan <manikand@qca.qualcomm.com> | 2014-11-06 12:22:10 -0800 |
|---|---|---|
| committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | 2014-11-07 17:44:12 +0530 |
| commit | c433b6af2be53cf52ff14d34b1c4bf2b2ad3dc77 (patch) | |
| tree | 063db2d54a515bba31839aaa70f7ecad8e4fc357 | |
| parent | 746a172b076a061aa578bcf74188ba47905b276d (diff) | |
qcacld SAP: Set ACS Scan as active scan type
ACS scan type is set active scan to reduce the ACS scan delay
and thereby improving the SAP startup time. Further even
though scan type is give as active, the scan offload done
in FW takes care of passive scan for DFS channels.
Change-Id: I8512526c363886ac50ca2a9952d47b9afd38fbcd
CRs-fixed: 746027
| -rw-r--r-- | CORE/SAP/src/sapFsm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CORE/SAP/src/sapFsm.c b/CORE/SAP/src/sapFsm.c index 632f5cb94b22..8147ff3d594b 100644 --- a/CORE/SAP/src/sapFsm.c +++ b/CORE/SAP/src/sapFsm.c @@ -2092,8 +2092,10 @@ sapGotoChannelSel #endif vos_mem_zero(&scanRequest, sizeof(scanRequest)); - /* Set scanType to Passive scan */ - scanRequest.scanType = eSIR_PASSIVE_SCAN; + /* Set scanType to Active scan. FW takes care of using passive + * scan for DFS and active for non DFS channels. + */ + scanRequest.scanType = eSIR_ACTIVE_SCAN; /* Set min and max channel time to zero */ scanRequest.minChnTime = 0; |
