diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-11-16 15:17:22 +0100 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2017-03-23 02:10:21 +0100 |
commit | f7e9a349efde8987a7da48fb5e331199ba3bb21f (patch) | |
tree | 02966636efaa9f978b03ea16e26dbbdc6d51d670 /openbsc | |
parent | 3521af7f3aacc373f48450d06cabf795f6a4a5b1 (diff) |
RBS2000: Add the P-GSL Timer IE to RSL CHAN ACT for PDCH
This seems to be mandatory when an Ericsson RBS2000 uses a SuperChannel
as back-haul.
Change-Id: I793e7d62df1ca9f9c38d39e22d3868064d446c8d
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/libbsc/abis_rsl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c index 5939e75bf..26cafc28e 100644 --- a/openbsc/src/libbsc/abis_rsl.c +++ b/openbsc/src/libbsc/abis_rsl.c @@ -507,6 +507,13 @@ static int rsl_chan_activate_lchan_as_pdch(struct gsm_lchan *lchan) msgb_tv_put(msg, RSL_IE_ACT_TYPE, RSL_ACT_OSMO_PDCH); + if (lchan->ts->trx->bts->type == GSM_BTS_TYPE_RBS2000 && + lchan->ts->trx->bts->rbs2000.use_superchannel) { + const uint8_t eric_pgsl_tmr[] = { 30, 1 }; + msgb_tv_fixed_put(msg, RSL_IE_ERIC_PGSL_TIMERS, + sizeof(eric_pgsl_tmr), eric_pgsl_tmr); + } + msg->dst = lchan->ts->trx->rsl_link; return abis_rsl_sendmsg(msg); |