diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-11-16 15:17:22 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-11-16 18:20:26 +0100 |
commit | 9b6171df7f2d2f50851da140e21b9e37e3012f1b (patch) | |
tree | a4485bebd452f8efad56ce56121dbab76a3009c5 /openbsc | |
parent | d4ee48ee6072e7f0ad4799f1a6ef6107d30f314a (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 b7f7a75ce..3e4d7cb9a 100644 --- a/openbsc/src/libbsc/abis_rsl.c +++ b/openbsc/src/libbsc/abis_rsl.c @@ -508,6 +508,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); |