summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/layer1
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-04-06 17:39:36 +0800
committerHarald Welte <laforge@gnumonks.org>2010-04-06 17:39:36 +0800
commit8e9f7e38ffa60568c05d569d67067ff38e69ad3a (patch)
tree19acaaf0966cc8c4c2585c747434519a6720e3e6 /src/target/firmware/include/layer1
parent452e1b5219c9d96a26c104c77af8978eceb802c4 (diff)
layer1: add l1s_cell_info (sync info) for neighbor cells
We don't actually use this information array yet... but hopefully we'll start filling it soon.
Diffstat (limited to 'src/target/firmware/include/layer1')
-rw-r--r--src/target/firmware/include/layer1/sync.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/target/firmware/include/layer1/sync.h b/src/target/firmware/include/layer1/sync.h
index a30a1e24..f136c9a6 100644
--- a/src/target/firmware/include/layer1/sync.h
+++ b/src/target/firmware/include/layer1/sync.h
@@ -27,6 +27,7 @@ enum l1s_chan {
_NUM_L1S_CHAN
};
+#define L1S_NUM_NEIGH_CELL 6
struct l1s_state {
struct gsm_time current_time; /* current GSM time */
@@ -35,6 +36,9 @@ struct l1s_state {
/* the cell on which we are camping right now */
struct l1_cell_info serving_cell;
+ /* neighbor cell sync info */
+ struct l1_cell_info neigh_cell[L1S_NUM_NEIGH_CELL];
+
/* TDMA scheduler */
struct tdma_scheduler tdma_sched;