diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-01-20 18:36:30 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-08 00:45:37 +0100 |
commit | 56d06f3e1eb3ffb99defd6d8c3df0a938113ddb9 (patch) | |
tree | 4992e490d1b9164ce0ed6adc92c145a11711497a /src/bts.cpp | |
parent | 2ca86afdecd49d20fb8cd262a5540e9b4b8c0215 (diff) |
tbf: Use the control TS for Immediate Assignments
Currently the first TS is used, which can be different from the
control TS on downlink TBFs.
Use the control TS instead.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/bts.cpp')
-rw-r--r-- | src/bts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bts.cpp b/src/bts.cpp index 0d3e32a8..12f4e726 100644 --- a/src/bts.cpp +++ b/src/bts.cpp @@ -525,7 +525,7 @@ int BTS::rcv_rach(uint8_t ra, uint32_t Fn, int16_t qta) LOGP(DRLCMAC, LOGL_INFO, "%s TX: START Immediate " "Assignment Uplink (AGCH)\n", tbf_name(tbf)); trx_no = tbf->trx->trx_no; - ts_no = tbf->first_ts; + ts_no = tbf->control_ts; tfi = tbf->tfi(); usf = tbf->m_usf[ts_no]; tsc = tbf->tsc(); @@ -585,7 +585,7 @@ void BTS::trigger_dl_ass( void BTS::snd_dl_ass(gprs_rlcmac_tbf *tbf, uint8_t poll, const char *imsi) { int plen; - unsigned int ts = tbf->first_ts; + unsigned int ts = tbf->control_ts; LOGP(DRLCMAC, LOGL_INFO, "TX: START %s Immediate Assignment Downlink (PCH)\n", tbf_name(tbf)); bitvec *immediate_assignment = bitvec_alloc(22); /* without plen */ |