1 #ifndef _L1_MFRAME_SCHED_H
2 #define _L1_MFRAME_SCHED_H
31 /* Test task: send Normal Burst in all timeslots */
35 enum mf_sched_item_flag {
36 MF_F_SACCH = (1 << 0),
39 /* The scheduler itself */
40 struct mframe_scheduler {
46 uint8_t mframe_task2chan_nr(enum mframe_task mft, uint8_t ts);
48 /* Enable a specific task */
49 void mframe_enable(enum mframe_task task_id);
51 /* Disable a specific task */
52 void mframe_disable(enum mframe_task task_id);
54 /* Replace the current active set by the new one */
55 void mframe_set(uint32_t tasks);
57 /* Schedule mframe_sched_items according to current MF TASK list */
58 void mframe_schedule(void);
60 /* reset the scheduler, disabling all tasks */
61 void mframe_reset(void);
63 #endif /* _MFRAME_SCHED_H */