qcacmn: Set active 2g channel dwell time to 0 for p2p scan

Set the active dwell time of 2g channels to 0 in case of
p2p search or listen.

Change-Id: I5d601d03ec30337022f582a5c0134e6b6c9e1550
CRs-Fixed: 2305409
This commit is contained in:
Bala Venkatesh
2018-10-16 17:56:54 +05:30
committed by nshrivas
부모 383ec70e7c
커밋 4f70bd3f3e

파일 보기

@@ -805,6 +805,7 @@ ucfg_scan_req_update_params(struct wlan_objmgr_vdev *vdev,
req->scan_req.scan_f_add_tpc_ie_in_probe = true;
} else {
req->scan_req.adaptive_dwell_time_mode = SCAN_DWELL_MODE_STATIC;
req->scan_req.dwell_time_active_2g = 0;
if (req->scan_req.p2p_scan_type == SCAN_P2P_LISTEN) {
req->scan_req.repeat_probe_time = 0;
} else {