aboutsummaryrefslogtreecommitdiffstats
path: root/tests/handover/test_dyn_ts_amr_tch_f_to_h_congestion_assignment_2.ho_vty
blob: 08bc151ec8369d0f791e5c8f52903eb98234ab00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# If a handover from TCH/F to TCH/H frees a dynamic timeslot,
# take the freed TCH/H from the soure timeslot into account,
# both when the target is a dynamic timeslot and when the target is a static timeslot.

create-bts trx-count 1 timeslots c+s4 dyn TCH/F TCH/F TCH/H PDCH PDCH PDCH

network
 bts 0
  handover2 min-free-slots tch/f 3
  handover2 min-free-slots tch/h 2
  handover2 assignment 1

set-ts-use trx 0 0 states * TCH/F - - - * * *
# (there must be at least one measurement report on each lchan for congestion check to work)
meas-rep lchan * * * * rxlev 40 rxqual 0 ta 0 neighbors 30
congestion-check
expect-as from lchan 0 0 1 0 to lchan 0 0 4 0
expect-ts-use trx 0 0 states * pdch - - TCH/H- * * *

# Again with one more TCH/H occupied, there will still be two free TCH/H after HO on the dyn TS
set-ts-use trx 0 0 states * TCH/F - - TCH/H- * * *
meas-rep lchan * * * * rxlev 40 rxqual 0 ta 0 neighbors 30
congestion-check
expect-as from lchan 0 0 1 0 to lchan 0 0 4 1
expect-ts-use trx 0 0 states * pdch - - TCH/HH * * *

# Again, with the target being a dyn TS
create-bts trx-count 1 timeslots c+s4 dyn TCH/F TCH/F dyn PDCH PDCH PDCH

network
 bts 1
  handover2 min-free-slots tch/f 3
  handover2 min-free-slots tch/h 2
  handover2 assignment 1

set-ts-use trx 1 0 states * TCH/F TCH/F - pdch * * *
meas-rep lchan 1 * * * rxlev 40 rxqual 0 ta 0 neighbors 30
congestion-check
expect-as from lchan 1 0 1 0 to lchan 1 0 4 0
expect-ts-use trx 1 0 states * pdch TCH/F - TCH/H- * * *

# Again with one more TCH/H occupied, there will still be two free TCH/H after HO on the dyn TS
set-ts-use trx 1 0 states * TCH/F TCH/F - TCH/H- * * *
meas-rep lchan 1 * * * rxlev 40 rxqual 0 ta 0 neighbors 30
congestion-check
expect-as from lchan 1 0 1 0 to lchan 1 0 4 1
expect-ts-use trx 1 0 states * pdch TCH/F - TCH/HH * * *