소스 검색

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 년 전
부모
커밋
ee22cac551
1개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  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 =