qcacld-3.0: Modify the active dwell time in ACS scan

Currently the driver scans for the channels as part of ACS
algorithm, to select the best channel for SAP bringup.
But the active dwell time set in the scan request is Zero,
hence the active probe is not sent to the AP, and the DUT
(SAP in this case), just passively scans the channels for BSS,
which causes latency in SAP bringup.

Fix is to initialize the default active dwell time in case of
ACS scan, and set broadcast probe to true.

Change-Id: If4f001a9b272a7894125d81f2895cfa6f6ca2bc4
CRs-Fixed: 2363789
这个提交包含在:
gaurank kathpalia
2018-12-10 19:18:38 +05:30
提交者 nshrivas
父节点 41361360f9
当前提交 4ef9ba2cf8
修改 2 个文件,包含 1 行新增2 行删除

查看文件

@@ -1032,13 +1032,13 @@ QDF_STATUS sap_channel_sel(struct sap_context *sap_context)
/* Initiate a SCAN request */
ucfg_scan_init_default_params(vdev, req);
req->scan_req.dwell_time_active = 0;
scan_id = ucfg_scan_get_scan_id(mac_ctx->psoc);
req->scan_req.scan_id = scan_id;
vdev_id = wlan_vdev_get_id(vdev);
req->scan_req.vdev_id = vdev_id;
req->scan_req.scan_req_id = sap_context->req_id;
req->scan_req.scan_priority = SCAN_PRIORITY_HIGH;
req->scan_req.scan_f_bcast_probe = true;
sap_get_channel_list(sap_context, &channel_list, &num_of_channels);
#ifdef FEATURE_WLAN_AP_AP_ACS_OPTIMIZE