浏览代码

qcacld-3.0: Modify the active dwell time in scan for ssid

Currently the driver scans for the bssid if it is not present
in the scan cache, due to expire of scan results.
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
(STA in this case), just passively scans the channels for that
BSSID, which causes latency in connection.

Fix is to initialize the default active dwell time in case of
scan for ssid.

Change-Id: I38c8c0335e10544d165c510b59e013e9ee2a5031
CRs-Fixed: 2363980
gaurank kathpalia 6 年之前
父节点
当前提交
41361360f9
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      core/sme/src/csr/csr_api_scan.c

+ 0 - 2
core/sme/src/csr/csr_api_scan.c

@@ -1473,14 +1473,12 @@ QDF_STATUS csr_scan_for_ssid(struct mac_context *mac_ctx, uint32_t session_id,
 				session->selfMacAddr.bytes,
 				WLAN_LEGACY_SME_ID);
 	ucfg_scan_init_default_params(vdev, req);
-	req->scan_req.dwell_time_active = 0;
 	req->scan_req.scan_id = scan_id;
 	req->scan_req.vdev_id = session_id;
 	req->scan_req.scan_req_id = mac_ctx->scan.requester_id;
 	req->scan_req.scan_f_passive = false;
 	req->scan_req.scan_f_bcast_probe = false;
 
-
 	if (QDF_P2P_CLIENT_MODE == profile->csrPersona)
 		req->scan_req.scan_priority = SCAN_PRIORITY_HIGH;