Browse Source

qcacld-3.0: Increase SAP ACS scan priority to high from low

The function sap_goto_channel_sel triggers the pre start bss
scan for SAP. After this scan is queued, the hostapd process
gets scheduled after 3 secs and proceeds to select the channel
to start the SAP. If scan completion for the ACS scan was not
received, it selects the default channels. ACS scan is sent to
firmware with low priority like other normal scan.
Increasing the priority of the scan will ensure that the scan
completion is done prior to the other existing scans pending on
the queue.

Escalate the priority of the ACS scan from low to high.

Change-Id: Ibe558a4a323f276cce6eaabb3b62db217dbd5a94
CRs-Fixed: 2245200
Pragaspathi Thilagaraj 7 năm trước cách đây
mục cha
commit
fbfa88ea39
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      core/sap/src/sap_fsm.c

+ 1 - 0
core/sap/src/sap_fsm.c

@@ -1012,6 +1012,7 @@ QDF_STATUS sap_goto_channel_sel(struct sap_context *sap_context,
 		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;
 		sap_get_channel_list(sap_context, &channel_list,
 				  &num_of_channels);
 #ifdef FEATURE_WLAN_AP_AP_ACS_OPTIMIZE