From 4af30533f0e01a7156ff92f7689ccf35900740c3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 25 Dec 2013 19:16:55 +0100 Subject: alloc/tests: Create an allocation test for various scenarious The allocation in the TBF/BTS code is quite complex. In parts this is due the assignment and requests occuring under differen circumstances. Attempt to re-create the commono scenarios. Remove the bogus msclass check in gprs_rlcmac_tbf::update as the allocation code will check the ms class anyway. --- tests/alloc/AllocTest.ok | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'tests/alloc/AllocTest.ok') diff --git a/tests/alloc/AllocTest.ok b/tests/alloc/AllocTest.ok index 86a8c193..271a4200 100644 --- a/tests/alloc/AllocTest.ok +++ b/tests/alloc/AllocTest.ok @@ -1,2 +1,34 @@ Testing alloc_a direction(0) Testing alloc_a direction(1) +Going to test multislot assignment. +Testing UL then DL assignment. +PDCH[6] is used for UL +PDCH[6] is control_ts for UL +PDCH[6] is first common for UL +PDCH[5] is used for DL +PDCH[6] is used for DL +PDCH[7] is used for DL +PDCH[6] is control_ts for DL +PDCH[6] is first common for DL +Testing DL then UL assignment followed by update +PDCH[6] is used for DL +PDCH[6] is control_ts for DL +PDCH[6] is first common for DL +PDCH[6] is used for UL +PDCH[6] is control_ts for UL +PDCH[6] is first common for UL +PDCH[5] is used for DL +PDCH[6] is used for DL +PDCH[7] is used for DL +PDCH[6] is control_ts for DL +PDCH[6] is first common for DL +Testing jolly example +PDCH[3] is used for UL +PDCH[3] is control_ts for UL +PDCH[3] is first common for UL +PDCH[1] is used for DL +PDCH[2] is used for DL +PDCH[3] is used for DL +PDCH[4] is used for DL +PDCH[3] is control_ts for DL +PDCH[3] is first common for DL -- cgit v1.2.3