aboutsummaryrefslogtreecommitdiffstats
path: root/tests/handover/test_dyn_ts_congestion_tch_f_vs_tch_h_2.ho_vty
blob: ef71d3e262809c3937fe9626b0a493c8edcb54ff (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
# If a handover from one TCH kind to the other occupies a dynamic timeslot,
# also adhere to congestion constraints of the other TCH kind, since taking up
# a dyn TS may reduce the available slot count for both kinds of TCH.

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

# A TCH/H has better rxlev at a neighbor, and the neighbor's TCH/H slots would
# not become congested. But taking up a neighbor's dynamic timeslot for TCH/H
# would reduce the TCH/F availability to cause congestion on TCH/F. No HO.

network
 handover2 min-free-slots tch/f 2
 handover2 min-free-slots tch/h 2

set-ts-use trx 0 0 states * - - - TCH/H- pdch pdch *
set-ts-use trx 1 0 states * TCH/F TCH/F TCH/F TCH/HH pdch pdch *

meas-rep lchan * * * * rxlev 40 rxqual 0 ta 0 neighbors 30
expect-no-chan

meas-rep lchan 0 0 4 0 rxlev 20 rxqual 0 ta 0 neighbors 40
# no handover because that results in congestion on TCH/F in bts 1
expect-no-chan


# Now the same situation, except there already is a half occupied TCH/H, hence an added TCH/H would not change the TCH/F
# situation. The handover is performed.

set-ts-use trx 0 0 states * - - - TCH/H- pdch pdch *
set-ts-use trx 1 0 states * TCH/F TCH/F TCH/F TCH/HH TCH/H- pdch *

meas-rep lchan 0 0 4 0 rxlev 20 rxqual 0 ta 0 neighbors 40
expect-ho from lchan 0 0 4 0 to lchan 1 0 5 1