summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-16 15:17:22 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2017-02-24 15:18:20 +0100
commit90e55b235bb13905b6b1dc2fbe8400ce0dd1d80b (patch)
tree0d06ca07fd7b20e8bda51a5b16549343c740a33c
parentece256a562d7daef69c208111d2ca72058fd383f (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
-rw-r--r--openbsc/src/libbsc/abis_rsl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index 1cae832..028a91c 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);