summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-16 15:17:22 +0100
committerAlexander Couzens <lynxis@fe80.eu>2017-03-13 09:53:10 +0100
commitb2fd750d91bd06fd4333086db207ce363952c313 (patch)
tree879592cd0f9246e512bd2df60b578647240ac593
parenta5d0218e02cfd9fe240e666d918e923915184621 (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 5939e75..26cafc2 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);