aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_data_shared.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-04-15 16:04:46 +0200
committerHarald Welte <laforge@gnumonks.org>2016-04-16 13:47:56 +0200
commit59a1bf3dae0d0a9e914d3c615c6aa7fc8955d7b5 (patch)
tree9cf34ba7801d64b98029dc0f2d571fe9cf88fab4 /openbsc/include/openbsc/gsm_data_shared.h
parent5fa7e36bbc100c5cec4542280ca717ae4800b316 (diff)
Add basic SI2quater support
* support for sending arbitrary static SI2quater. * vty interface for neightbor EARFCNs specific to SI2quater. * dynamic generation of SI2quater messages. * unit test for SI2quater messages. Fixes: OS#1630
Diffstat (limited to 'openbsc/include/openbsc/gsm_data_shared.h')
-rw-r--r--openbsc/include/openbsc/gsm_data_shared.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index 000207dd9..cbc0c77f0 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -105,6 +105,7 @@ struct gsm_abis_mo {
#define A38_XOR_MAX_KEY_LEN 16
#define A38_COMP128_KEY_LEN 16
#define RSL_ENC_ALG_A5(x) (x+1)
+#define MAX_EARFCN_LIST 512
/* is the data link established? who established it? */
#define LCHAN_SAPI_UNUSED 0
@@ -715,12 +716,16 @@ struct gsm_bts {
struct bitvec neigh_list;
struct bitvec cell_alloc;
struct bitvec si5_neigh_list;
+ struct bitvec si2quater_na_list;
+ struct osmo_earfcn_si2q si2quater_neigh_list;
struct {
/* bitmask large enough for all possible ARFCN's */
uint8_t neigh_list[1024/8];
uint8_t cell_alloc[1024/8];
/* If the user wants a different neighbor list in SI5 than in SI2 */
uint8_t si5_neigh_list[1024/8];
+ uint8_t meas_bw_list[MAX_EARFCN_LIST];
+ uint16_t earfcn_list[MAX_EARFCN_LIST];
} data;
} si_common;