Browse Source

qcacmn: Also update passive scan dwell in concurrent mode

In concurrent mode active scan, both active and passive scan dwell
time should be updated. Because FW will use passive scan dwell for
DFS channel scan. If it still is default value 110ms, DFS channel
scan will spend much time. AP KPI will drop much.

So, for active scan, update passive and active scan dwell together
in concurrent mode.

Change-Id: I9ceb4ece6da2a794fff3b87c7be3214a9dbc46ab
CRs-Fixed: 2790910
Yu Ouyang 4 năm trước cách đây
mục cha
commit
ee22cac551
1 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 3 4
      umac/scan/core/src/wlan_scan_manager.c

+ 3 - 4
umac/scan/core/src/wlan_scan_manager.c

@@ -602,12 +602,11 @@ static void scm_req_update_concurrency_params(struct wlan_objmgr_vdev *vdev,
 		scm_update_passive_dwell_time(vdev, req);
 
 	if (policy_mgr_get_connection_count(psoc)) {
-		if (req->scan_req.scan_f_passive)
-			req->scan_req.dwell_time_passive =
-				scan_obj->scan_def.conc_passive_dwell;
-		else
+		if (!req->scan_req.scan_f_passive)
 			req->scan_req.dwell_time_active =
 				scan_obj->scan_def.conc_active_dwell;
+		req->scan_req.dwell_time_passive =
+			scan_obj->scan_def.conc_passive_dwell;
 		req->scan_req.max_rest_time =
 				scan_obj->scan_def.conc_max_rest_time;
 		req->scan_req.min_rest_time =