Explorar el Código

qcacmn: Fix for AP to ignore CAC complete event from firmware during CAC

Fix for AP to ignore the CAC complete event from firmware on WIN side,
during bring up on DFS channel, thereby not beacon during CAC.

Change-Id: I60107a9c571e6c6a64fb16c3f8884a7b7d32150d
CRs-fixed: 2122316
Shaakir Mohamed hace 7 años
padre
commit
ad25e73cc5
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      umac/dfs/dispatcher/src/wlan_dfs_tgt_api.c

+ 7 - 0
umac/dfs/dispatcher/src/wlan_dfs_tgt_api.c

@@ -285,12 +285,19 @@ QDF_STATUS tgt_dfs_process_radar_ind(struct wlan_objmgr_pdev *pdev,
 }
 EXPORT_SYMBOL(tgt_dfs_process_radar_ind);
 
+#ifndef QCA_MCL_DFS_SUPPORT
+QDF_STATUS tgt_dfs_cac_complete(struct wlan_objmgr_pdev *pdev, uint32_t vdev_id)
+{
+	return QDF_STATUS_SUCCESS;
+}
+#else
 QDF_STATUS tgt_dfs_cac_complete(struct wlan_objmgr_pdev *pdev, uint32_t vdev_id)
 {
 	dfs_mlme_proc_cac(pdev, vdev_id);
 
 	return QDF_STATUS_SUCCESS;
 }
+#endif
 EXPORT_SYMBOL(tgt_dfs_cac_complete);
 
 QDF_STATUS tgt_dfs_reg_ev_handler(struct wlan_objmgr_psoc *psoc,