move scheduler function pointer typedef to proto.h

This commit is contained in:
Robert Schmidt
2018-01-31 16:42:01 +01:00
parent a03877e7f7
commit 9b4d3bbae7
+19
View File
@@ -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