summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/layer1
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/firmware/include/layer1')
-rw-r--r--src/target/firmware/include/layer1/mframe_sched.h2
-rw-r--r--src/target/firmware/include/layer1/prim.h2
-rw-r--r--src/target/firmware/include/layer1/sync.h6
3 files changed, 10 insertions, 0 deletions
diff --git a/src/target/firmware/include/layer1/mframe_sched.h b/src/target/firmware/include/layer1/mframe_sched.h
index 74e2d271..7494eebc 100644
--- a/src/target/firmware/include/layer1/mframe_sched.h
+++ b/src/target/firmware/include/layer1/mframe_sched.h
@@ -36,6 +36,8 @@ enum mframe_task {
MF_TASK_NEIGH_PM26E,
MF_TASK_NEIGH_PM26O,
+ MF_TASK_BTS,
+
/* Test task: send Normal Burst in all timeslots */
MF_TASK_UL_ALL_NB,
};
diff --git a/src/target/firmware/include/layer1/prim.h b/src/target/firmware/include/layer1/prim.h
index 30c51ae6..654daa2f 100644
--- a/src/target/firmware/include/layer1/prim.h
+++ b/src/target/firmware/include/layer1/prim.h
@@ -31,4 +31,6 @@ extern const struct tdma_sched_item tch_a_sched_set[];
extern const struct tdma_sched_item tch_d_sched_set[];
extern const struct tdma_sched_item neigh_pm_sched_set[];
+extern const struct tdma_sched_item bts_sched_set[];
+
#endif /* _L1_PRIM_H */
diff --git a/src/target/firmware/include/layer1/sync.h b/src/target/firmware/include/layer1/sync.h
index dae85a1a..2cb5152c 100644
--- a/src/target/firmware/include/layer1/sync.h
+++ b/src/target/firmware/include/layer1/sync.h
@@ -154,6 +154,12 @@ struct l1s_state {
uint8_t tn[64];
uint8_t level[64];
} neigh_pm;
+
+ /* bts mode */
+ struct {
+ uint16_t arfcn;
+ uint8_t bsic;
+ } bts;
};
extern struct l1s_state l1s;