diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2014-08-07 12:57:44 +0200 |
---|---|---|
committer | Daniel Willmann <daniel@totalueberwachung.de> | 2014-08-07 16:12:04 +0200 |
commit | 351a57339659c06c05e62b46b21e5d54f1ebac84 (patch) | |
tree | b5fe40185e299da97314cdeb3ebfe2746baf44c6 /tests/alloc | |
parent | 3016888ee0e201d6ff18a62d0334a8bcac3f8732 (diff) |
tests/alloc: Use the specific UL/DL TBF classes instead of the base
Ticket: SYS#389
Sponsored by: On-Waves ehf
Diffstat (limited to 'tests/alloc')
-rw-r--r-- | tests/alloc/AllocTest.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/alloc/AllocTest.cpp b/tests/alloc/AllocTest.cpp index 830ca900..e89ff346 100644 --- a/tests/alloc/AllocTest.cpp +++ b/tests/alloc/AllocTest.cpp @@ -174,7 +174,8 @@ static void test_alloc_b(int ms_class) int tfi; uint8_t ts_no, trx_no; - gprs_rlcmac_tbf *ul_tbf, *dl_tbf; + gprs_rlcmac_ul_tbf *ul_tbf; + gprs_rlcmac_dl_tbf *dl_tbf; printf("Testing DL then UL assignment followed by update\n"); @@ -327,7 +328,8 @@ static void test_alloc_b(bool ts0, bool ts1, bool ts2, bool ts3, bool ts4, bool int tfi; uint8_t ts_no, trx_no; - gprs_rlcmac_tbf *ul_tbf, *dl_tbf; + gprs_rlcmac_ul_tbf *ul_tbf; + gprs_rlcmac_dl_tbf *dl_tbf; bts = the_bts.bts_data(); bts->alloc_algorithm = alloc_algorithm_b; |