Explorar el Código

qcacmn: Add compile time macro for scheduler queues in regdb

WIN does not use scheduler queue in regdb. Hence, do not compile
scheduler queue in regdb.

Change-Id: I9694a1780cd65ac2360044152cf7d13748fbe8cc
CRs-Fixed: 2223207
Shashikala Prabhu hace 7 años
padre
commit
f667999f9a
Se han modificado 1 ficheros con 18 adiciones y 0 borrados
  1. 18 0
      umac/regulatory/core/src/reg_services.c

+ 18 - 0
umac/regulatory/core/src/reg_services.c

@@ -2527,6 +2527,7 @@ static struct reg_sched_payload
 	return payload;
 }
 
+#ifdef CONFIG_MCL
 static QDF_STATUS reg_chan_change_flush_cbk_sb(struct scheduler_msg *msg)
 {
 	struct reg_sched_payload *load = msg->bodyptr;
@@ -2734,7 +2735,24 @@ static QDF_STATUS reg_sched_11d_msg(struct wlan_objmgr_psoc *psoc)
 
 	return status;
 }
+#else
+QDF_STATUS reg_send_scheduler_msg_sb(struct wlan_objmgr_psoc *psoc,
+					struct wlan_objmgr_pdev *pdev)
+{
+	return QDF_STATUS_SUCCESS;
+}
 
+static QDF_STATUS reg_send_scheduler_msg_nb(struct wlan_objmgr_psoc *psoc,
+					struct wlan_objmgr_pdev *pdev)
+{
+	return QDF_STATUS_SUCCESS;
+}
+
+static QDF_STATUS reg_sched_11d_msg(struct wlan_objmgr_psoc *psoc)
+{
+	return QDF_STATUS_SUCCESS;
+}
+#endif
 
 static void reg_propagate_mas_chan_list_to_pdev(struct wlan_objmgr_psoc *psoc,
 						void *object, void *arg)