layer1: add l1s_cell_info (sync info) for neighbor cells
authorHarald Welte <laforge@gnumonks.org>
Tue, 6 Apr 2010 09:39:36 +0000 (17:39 +0800)
committerHarald Welte <laforge@gnumonks.org>
Tue, 6 Apr 2010 09:39:36 +0000 (17:39 +0800)
We don't actually use this information array yet... but hopefully
we'll start filling it soon.

src/target/firmware/include/layer1/sync.h

index a30a1e2..f136c9a 100644 (file)
@@ -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;