1 #ifndef _L1_MFRAME_SCHED_H
2 #define _L1_MFRAME_SCHED_H
35 /* Test task: send Normal Burst in all timeslots */
39 enum mf_sched_item_flag {
40 MF_F_SACCH = (1 << 0),
43 /* The scheduler itself */
44 struct mframe_scheduler {
50 uint8_t mframe_task2chan_nr(enum mframe_task mft, uint8_t ts);
52 /* Enable a specific task */
53 void mframe_enable(enum mframe_task task_id);
55 /* Disable a specific task */
56 void mframe_disable(enum mframe_task task_id);
58 /* Replace the current active set by the new one */
59 void mframe_set(uint32_t tasks);
61 /* Schedule mframe_sched_items according to current MF TASK list */
62 void mframe_schedule(void);
64 /* reset the scheduler, disabling all tasks */
65 void mframe_reset(void);
67 #endif /* _MFRAME_SCHED_H */