aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-05-01 14:59:07 +0000
committerHarald Welte <laforge@gnumonks.org>2009-05-01 14:59:07 +0000
commitedb377854282e0efe1acd5c6ad400bf7817efc8b (patch)
tree2023491043615f0cbf94dba64c43e22e59a44215 /include
parent4593ff3ace523272acd62e1ccac946b634438390 (diff)
* Add support for multiple ip.access nanoBTS at one BSC
* keep track of site_id/bts_id in struct gsm_bts * dynamically match incoming OML/RSL over TCP connections by BTS Unit ID * introduce new debug category DINP (separate from DMI for hexdumps) * remove ia_config() as it is no longer needed * * ensure that signalling links / E1 line information is correctly printed * when bootstrapping RSL or OML, tell us for which BTS it is being doen * separate bootstrap_bts() out from bootstrap_network() * statically configure two ip.access BTS, one with unit id's 1800/0/0 and 1801/0/0
Diffstat (limited to 'include')
-rw-r--r--include/openbsc/debug.h1
-rw-r--r--include/openbsc/e1_input.h3
-rw-r--r--include/openbsc/gsm_data.h6
3 files changed, 8 insertions, 2 deletions
diff --git a/include/openbsc/debug.h b/include/openbsc/debug.h
index ec9cbbb3c..626bcf545 100644
--- a/include/openbsc/debug.h
+++ b/include/openbsc/debug.h
@@ -16,6 +16,7 @@
#define DMI 0x1000
#define DMIB 0x2000
#define DMUX 0x4000
+#define DINP 0x8000
#ifdef DEBUG
#define DEBUGP(ss, fmt, args...) debugp(ss, __FILE__, __LINE__, 0, fmt, ## args)
diff --git a/include/openbsc/e1_input.h b/include/openbsc/e1_input.h
index 8b9521d61..6d5a0be87 100644
--- a/include/openbsc/e1_input.h
+++ b/include/openbsc/e1_input.h
@@ -147,9 +147,8 @@ struct subch_mux *e1inp_get_mux(u_int8_t e1_nr, u_int8_t ts_nr);
/* e1_config.c */
int e1_config(struct gsm_bts *bts, int cardnr, int release_l2);
-int ia_config(struct gsm_bts *bts);
int ia_config_connect(struct gsm_bts *bts, struct sockaddr_in *sin);
-int ipaccess_setup(struct e1inp_line *line);
+int ipaccess_setup(struct gsm_network *gsmnet);
struct llist_head e1inp_driver_list;
struct llist_head e1inp_line_list;
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h
index 6c08b0399..8ad127a16 100644
--- a/include/openbsc/gsm_data.h
+++ b/include/openbsc/gsm_data.h
@@ -296,6 +296,12 @@ struct gsm_bts {
struct {
struct gsm_nm_state nm_state;
} site_mgr;
+
+ /* ip.accesss Unit ID's have Site/BTS/TRX layout */
+ struct {
+ u_int16_t site_id;
+ u_int16_t bts_id;
+ } ip_access;
/* transceivers */
int num_trx;