aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libcommon
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-03-04 13:41:31 +0100
committerHarald Welte <laforge@gnumonks.org>2011-03-04 13:44:07 +0100
commitfd355a3c6feccca5b774c0b3291a6066d0459067 (patch)
treec6840a0623d7bb863b2ba3ef2356bdbfa3fe9aa8 /openbsc/src/libcommon
parent89579b4317a7f7ab6ee706399bee4b8f25a12c3a (diff)
[HSL] initial support for the HSL 2.75G Femtocell
The HSL Femtocell seems to be a poor man implementation of the ip.access Abis/IP protocol, but cutting corners wherever possible. We try to workaround those corners wherever possible...
Diffstat (limited to 'openbsc/src/libcommon')
-rw-r--r--openbsc/src/libcommon/gsm_data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/libcommon/gsm_data.c b/openbsc/src/libcommon/gsm_data.c
index f181fd16..b2c52e4b 100644
--- a/openbsc/src/libcommon/gsm_data.c
+++ b/openbsc/src/libcommon/gsm_data.c
@@ -416,6 +416,7 @@ static const struct value_string bts_types[] = {
{ GSM_BTS_TYPE_BS11, "bs11" },
{ GSM_BTS_TYPE_NANOBTS, "nanobts" },
{ GSM_BTS_TYPE_RBS2000, "rbs2000" },
+ { GSM_BTS_TYPE_HSL_FEMTO, "hsl_femto" },
{ 0, NULL }
};
@@ -571,6 +572,8 @@ int gsm_set_bts_type(struct gsm_bts *bts, enum gsm_bts_type type)
bts->model = model;
switch (bts->type) {
+ case GSM_BTS_TYPE_HSL_FEMTO:
+ bts->c0->rsl_tei = 0;
case GSM_BTS_TYPE_NANOBTS:
/* Set the default OML Stream ID to 0xff */
bts->oml_tei = 0xff;