From 9b4d3bbae75f90f5bd56c3952696b29fb38df216 Mon Sep 17 00:00:00 2001
From: Robert Schmidt <robert.schmidt@eurecom.fr>
Date: Mon, 15 Jan 2018 18:38:05 +0100
Subject: [PATCH] move scheduler function pointer typedef to proto.h

---
 openair2/LAYER2/MAC/proto.h | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/openair2/LAYER2/MAC/proto.h b/openair2/LAYER2/MAC/proto.h
index f237bbf299..00ea994ddf 100644
--- a/openair2/LAYER2/MAC/proto.h
+++ b/openair2/LAYER2/MAC/proto.h
@@ -35,6 +35,25 @@
  *  @{
  */
 
+/**
+ * slice specific scheduler
+ */
+/* TODO Navid: Protocol__FlexranMessage -> unknown when compiling without
+ * FlexRAN, what to do with it? */
+typedef void (*slice_scheduler_dl)(module_id_t mod_id,
+				int slice_id,
+				uint32_t frame,
+				uint32_t subframe,
+				int *mbsfn_flag/*,
+				Protocol__FlexranMessage **dl_info*/);
+
+typedef void (*slice_scheduler_ul)(module_id_t mod_id,
+				frame_t frame,
+				unsigned char cooperation_flag,
+				uint32_t      subframe,
+				unsigned char sched_subframe/*,
+				Protocol__FlexranMessage **ul_info*/);
+
 /** \fn void schedule_mib(module_id_t module_idP,frame_t frameP,sub_frame_t subframe);
 \brief MIB scheduling for PBCH. This function requests the MIB from RRC and provides it to L1.
 @param Mod_id Instance ID of eNB
-- 
GitLab