TS alloc: properly count UL slots
Add cycle to mark multiple allocated UL slots similar to the way we count DL slots in AllocTest. Until multislot UL allocation is implemented it does not affect test output. Change-Id: I2705405119421da3066c6c6bdd5830df4c133a36 Related: OS#2282
This commit is contained in:
parent
5759a19020
commit
5b0df1f1c5
|
@ -602,6 +602,10 @@ static unsigned alloc_many_tbfs(BTS *the_bts, unsigned min_class,
|
|||
if (dl_tbf->pdch[i])
|
||||
dl_slots |= 1 << i;
|
||||
|
||||
for (i = 0; ul_tbf && i < ARRAY_SIZE(ul_tbf->pdch); i += 1)
|
||||
if (ul_tbf->pdch[i])
|
||||
ul_slots |= 1 << i;
|
||||
|
||||
for (i = 0; trx && i < ARRAY_SIZE(trx->pdch); i += 1) {
|
||||
struct gprs_rlcmac_pdch *pdch = &trx->pdch[i];
|
||||
|
||||
|
|
Loading…
Reference in New Issue