aboutsummaryrefslogtreecommitdiffstats
path: root/tests/alloc/AllocTest.ok
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-07-27 21:42:01 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-08-21 11:19:50 +0200
commit441768a82396ec14ee37fde65801b65f87051b90 (patch)
tree02120ca0bc10f04f999e07a6e199d9f7729173c8 /tests/alloc/AllocTest.ok
parent60664a4df16a96df2eff462aff6f085c875d7551 (diff)
WIP: Assume MultiSlot Class 1 if unknownpespin/bsn
Until now, if timeslot resources where being allocated for an MS for which its msclass is not known, msclass=12 was being selected. While it's true that msclass=12 is quite a usual one implemented by phones (Rx=4, Rx=4, Sum=5), some MS implementations may not support such modes. As a result, if the PCU allocates a TBF for an MS which its msclass is not known (eg. because it used 1-phase access aka no Pkt Res Req), then a minimal msclass=1 must be assumed. Otherwise, it may assign more multislots than the MS can handle, and will work incorrectly since an amount of RLC/MAC blocks won't be sent/received properly. Test output changes in MslotTest.ok are expected since some allocations are accumulative, and ms_class=0 is called the first one. TbfTest.err changes happen in test_ms_merge_dl_tbf_different_trx(). Change-Id: If80fdd793db7dad029faa83dbf980ffc4959e2e5
Diffstat (limited to 'tests/alloc/AllocTest.ok')
-rw-r--r--tests/alloc/AllocTest.ok44
1 files changed, 18 insertions, 26 deletions
diff --git a/tests/alloc/AllocTest.ok b/tests/alloc/AllocTest.ok
index bad9a488..1f1ae876 100644
--- a/tests/alloc/AllocTest.ok
+++ b/tests/alloc/AllocTest.ok
@@ -4,37 +4,29 @@ Testing alloc_a direction(0)
Testing alloc_a direction(1)
Going to test multislot assignment MS_CLASS=0
Testing UL then DL assignment.
-PDCH[6] is used for UL
-PDCH(bts=0,trx=0,ts=6) is control_ts for UL
-PDCH(bts=0,trx=0,ts=6) is first common for UL
+PDCH[5] is used for UL
+PDCH(bts=0,trx=0,ts=5) is control_ts for UL
+PDCH(bts=0,trx=0,ts=5) is first common for UL
PDCH[5] is used for DL
-PDCH[6] is used for DL
-PDCH[7] is used for DL
-PDCH(bts=0,trx=0,ts=6) is control_ts for DL
-PDCH(bts=0,trx=0,ts=6) is first common for DL
+PDCH(bts=0,trx=0,ts=5) is control_ts for DL
+PDCH(bts=0,trx=0,ts=5) is first common for DL
Testing DL then UL assignment followed by update
-PDCH[6] is used for DL
-PDCH(bts=0,trx=0,ts=6) is control_ts for DL
-PDCH(bts=0,trx=0,ts=6) is first common for DL
-PDCH[6] is used for UL
-PDCH[7] is used for UL
-PDCH(bts=0,trx=0,ts=6) is control_ts for UL
-PDCH(bts=0,trx=0,ts=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(bts=0,trx=0,ts=6) is control_ts for DL
-PDCH(bts=0,trx=0,ts=6) is first common for DL
+PDCH(bts=0,trx=0,ts=5) is control_ts for DL
+PDCH(bts=0,trx=0,ts=5) is first common for DL
+PDCH[5] is used for UL
+PDCH(bts=0,trx=0,ts=5) is control_ts for UL
+PDCH(bts=0,trx=0,ts=5) is first common for UL
+PDCH[5] is used for DL
+PDCH(bts=0,trx=0,ts=5) is control_ts for DL
+PDCH(bts=0,trx=0,ts=5) is first common for DL
Testing jolly example
-PDCH[3] is used for UL
-PDCH(bts=0,trx=0,ts=3) is control_ts for UL
-PDCH(bts=0,trx=0,ts=3) is first common for UL
+PDCH[1] is used for UL
+PDCH(bts=0,trx=0,ts=1) is control_ts for UL
+PDCH(bts=0,trx=0,ts=1) 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(bts=0,trx=0,ts=3) is control_ts for DL
-PDCH(bts=0,trx=0,ts=3) is first common for DL
+PDCH(bts=0,trx=0,ts=1) is control_ts for DL
+PDCH(bts=0,trx=0,ts=1) is first common for DL
Going to test multislot assignment MS_CLASS=1
Testing UL then DL assignment.
PDCH[5] is used for UL