|
@@ -1403,6 +1403,21 @@ void sap_reset_clean_freq_array(struct sap_context *sap_context)
|
|
|
{}
|
|
|
#endif
|
|
|
|
|
|
+/**
|
|
|
+ * wlansap_set_aux_scan_ctrl_ext_flag() – update aux scan policy
|
|
|
+ * @req: pointer to scan request
|
|
|
+ *
|
|
|
+ * Set aux scan bits in scan_ctrl_ext_flag value depending on scan type.
|
|
|
+ *
|
|
|
+ * Return: None
|
|
|
+ */
|
|
|
+static void wlansap_set_aux_scan_ctrl_ext_flag(struct scan_start_request *req)
|
|
|
+{
|
|
|
+ sap_debug("Set Reliable Scan Flag");
|
|
|
+ req->scan_req.scan_ctrl_flags_ext |=
|
|
|
+ SCAN_FLAG_EXT_AUX_RELIABLE_SCAN;
|
|
|
+}
|
|
|
+
|
|
|
QDF_STATUS sap_channel_sel(struct sap_context *sap_context)
|
|
|
{
|
|
|
QDF_STATUS qdf_ret_status;
|
|
@@ -1536,6 +1551,9 @@ QDF_STATUS sap_channel_sel(struct sap_context *sap_context)
|
|
|
}
|
|
|
|
|
|
sap_context->acs_req_timestamp = qdf_get_time_of_the_day_ms();
|
|
|
+
|
|
|
+ if (wlan_scan_get_aux_support(mac_ctx->psoc))
|
|
|
+ wlansap_set_aux_scan_ctrl_ext_flag(req);
|
|
|
qdf_ret_status = wlan_scan_start(req);
|
|
|
if (qdf_ret_status != QDF_STATUS_SUCCESS) {
|
|
|
sap_err("scan request fail %d!!!", qdf_ret_status);
|