summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2011-12-01 11:07:10 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2016-09-25 08:11:46 +0200
commit54fa680f182623f0e39ddc9be594c7b8afe62dd5 (patch)
tree9fa08410b56b7a0caa288de01ab84670561694a3 /src/host/layer23/include
parentcffc0dcb958c50c34d9809099e64485a955c8df9 (diff)
layer23/mobile: Adding summary of up to 6 strongest neighbour cells
Diffstat (limited to 'src/host/layer23/include')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/gsm322.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/gsm322.h b/src/host/layer23/include/osmocom/bb/mobile/gsm322.h
index 66bc8522..e136999c 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/gsm322.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/gsm322.h
@@ -147,6 +147,13 @@ struct gsm322_neighbour {
uint8_t prio_low;
};
+/* a summary of the 6 strongest neighbour cells */
+struct gsm322_nb_summary {
+ uint8_t valid;
+ int8_t rxlev_dbm;
+ uint16_t arfcn;
+};
+
#define GSM322_NB_NEW 0 /* new NB instance */
#define GSM322_NB_NOT_SUP 1 /* ARFCN not supported */
#define GSM322_NB_RLA_C 2 /* valid measurement available */
@@ -190,6 +197,7 @@ struct gsm322_cellsel {
uint16_t last_serving_arfcn; /* the ARFCN of last cell */
uint8_t last_serving_valid; /* there is a last cell */
struct gsm322_neighbour *neighbour; /* when selecting neighbour cell */
+ struct gsm322_nb_summary nb_summary[6];
time_t resel_when; /* timestamp of last re-selection */
int8_t nb_meas_set;
int16_t rxlev_sum_dbm; /* sum of received levels */