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
This commit is contained in:
Harald Welte 2016-11-16 15:17:22 +01:00 committed by Alexander Couzens
parent 3521af7f3a
commit f7e9a349ef
1 changed files with 7 additions and 0 deletions

View File

@ -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);