1 #ifndef _L1_SCHED_GSMTIME_H
2 #define _L1_SCHED_GSMTIME_H
5 #include <osmocore/linuxlist.h>
7 struct sched_gsmtime_event {
8 struct llist_head list;
9 const struct tdma_sched_item *si;
11 uint16_t p3; /* parameter for TDMA scheduler */
14 /* initialize the GSMTIME scheduler */
15 void sched_gsmtime_init(void);
17 /* Scheduling of a single event at a givnen GSM time */
18 int sched_gsmtime(const struct tdma_sched_item *si, uint32_t fn, uint16_t p3);
20 /* execute all GSMTIME one-shot events pending for 'current_fn' */
21 int sched_gsmtime_execute(uint32_t current_fn);