aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-02-09 18:13:26 +0000
committerHarald Welte <laforge@gnumonks.org>2009-02-09 18:13:26 +0000
commit1fa60c8ab04653bae5ac29d8d93ad18b44f0f354 (patch)
tree35aa1e0c66c605576bb900347c465e9120a85fc0 /include/openbsc/gsm_data.h
parent0b4c34e3ca22da724de308b8154a2730b53fc388 (diff)
* add trau_mux implementation to relay from one incoming TRAU
channel to another one (simple voice call switching) * add a way more generic E1 input layer, abstracting out the misdn low-level interface. This also adds infrastructure for multiple TRX in one BTS, as well as multiple BTS on one E1 link * add a E1 subchannel multiplexer for sending multiple 16kbit sub-channels one one 64kBps E1 channel * add TRAU IDLE frame generation * terminate bsc_hack in case there is a E1 / mISDN init error * introduce 'e1_config.c' file with static configuration of our E1 setup (which TRX/BTS is configured for which TEI/SAPI/E1). This should later become a config file rather than a compiled C file. WARNING: all this compiles but is not tested yet. Expect fix-up committs over the next hours or so
Diffstat (limited to 'include/openbsc/gsm_data.h')
-rw-r--r--include/openbsc/gsm_data.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h
index 75b3db516..b96ec402d 100644
--- a/include/openbsc/gsm_data.h
+++ b/include/openbsc/gsm_data.h
@@ -166,6 +166,8 @@ struct gsm_bts_trx {
struct gsm_bts *bts;
/* number of this TRX in the BTS */
u_int8_t nr;
+ /* how do we talk RSL with this TRX? */
+ struct e1inp_sign_link *rsl_link;
u_int16_t arfcn;
struct gsm_bts_trx_ts ts[TRX_NR_TS];
@@ -215,6 +217,8 @@ struct gsm_bts {
u_int8_t location_area_code;
/* type of BTS */
enum gsm_bts_type type;
+ /* how do we talk OML with this TRX? */
+ struct e1inp_sign_link *oml_link;
/* Abis network management O&M handle */
struct abis_nm_h *nmh;
@@ -255,10 +259,8 @@ const char *gsm_chreq_name(enum gsm_chreq_reason_t c);
enum gsm_e1_event {
EVT_E1_NONE,
- EVT_E1_OML_UP,
- EVT_E1_RSL_UP,
- EVT_E1_OML_DN,
- EVT_E1_RSL_DN,
+ EVT_E1_TEI_UP,
+ EVT_E1_TEI_DN,
};
#endif