diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-11-16 15:17:22 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-11-16 15:23:38 +0100 |
commit | b55226ebec9312815403381f40bfb2056bbc14d3 (patch) | |
tree | 168edf25a3843ab231ace7acde48ee7250fdad25 /openbsc | |
parent | 3bc66b8d05d132f4661d540322668a6a885e4f39 (diff) |
[WIP] RBS2000: Add the P-GSL Timer IE to RSL CHAN ACT for PDCHlaforge/om2000
This seems to be mandatory when an Ericsson RBS2000 uses a SuperChannel
as back-haul. Still needs cleanup.
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/libbsc/abis_rsl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c index b7f7a75ce..71ff4f8e7 100644 --- a/openbsc/src/libbsc/abis_rsl.c +++ b/openbsc/src/libbsc/abis_rsl.c @@ -508,6 +508,14 @@ 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) { + /* TODO: make this conditional to the use of P-GSL / + * SuperChannel, and use a #define for 0x49 */ + const uint8_t eric_pgsl_tmr[] = { 30, 1 }; + msgb_tv_fixed_put(msg, 0x49, sizeof(eric_pgsl_tmr), + eric_pgsl_tmr); + } + msg->dst = lchan->ts->trx->rsl_link; return abis_rsl_sendmsg(msg); |