projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
452e1b5
)
layer1: add l1s_cell_info (sync info) for neighbor cells
author
Harald Welte
<laforge@gnumonks.org>
Tue, 6 Apr 2010 09:39:36 +0000
(17:39 +0800)
committer
Harald 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
patch
|
blob
|
history
diff --git
a/src/target/firmware/include/layer1/sync.h
b/src/target/firmware/include/layer1/sync.h
index
a30a1e2
..
f136c9a
100644
(file)
--- 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;