diff options
author | Harald Welte <laforge@gnumonks.org> | 2020-08-01 17:00:34 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-08-01 17:13:36 +0200 |
commit | 2428bab7c053b4428855cb2c4e95c32f7374db82 (patch) | |
tree | 26a0ff9a3269a3e1b024e5d17c6349955af78855 | |
parent | 1e5e7004dc7987b23f5791366efdf374675e346b (diff) |
BS-11: Fix "CONNECT TERRESTRIAL TRAFFIC"
On a TS 12.21 spec compliant BTS, each Um traffic channel must be mapped
to an E1 sub-slot on the terrestrial back-haul. This happens via
the CONNECT TERRESTRIAL TRAFFIC message.
We always had code to sen that message, but it got deactivated when
ts->pchan_is / ts->pchan_from_config was introduced. Of course,
while we are bringing up OML, there is no 'pchan_is' set yet. We only
have 'pchan_from_config' and must use it.
Change-Id: I8988a027b0e897bd9dda460590f974d6be34a4fa
-rw-r--r-- | src/osmo-bsc/bts_siemens_bs11.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/osmo-bsc/bts_siemens_bs11.c b/src/osmo-bsc/bts_siemens_bs11.c index c8084214f..08694eab0 100644 --- a/src/osmo-bsc/bts_siemens_bs11.c +++ b/src/osmo-bsc/bts_siemens_bs11.c @@ -404,9 +404,16 @@ static void nm_reconfig_ts(struct gsm_bts_trx_ts *ts) if (is_ipaccess_bts(ts->trx->bts)) return; - if (ts_is_tch(ts)) - abis_nm_conn_terr_traf(ts, e1l->e1_nr, e1l->e1_ts, - e1l->e1_ts_ss); + switch (ts->pchan_from_config) { + case GSM_PCHAN_TCH_F: + abis_nm_conn_terr_traf(ts, e1l->e1_nr, e1l->e1_ts, e1l->e1_ts_ss); + break; + case GSM_PCHAN_TCH_H: + LOG_TS(ts, LOGL_ERROR, "No support for half-rate over E1 yet!\n"); + break; + default: + break; + } } static void nm_reconfig_trx(struct gsm_bts_trx *trx) |