aboutsummaryrefslogtreecommitdiffstats
path: root/tests/handover/test_dyn_ts_favor_moving_half_used_tch_h.ho_vty
blob: 6548360e8298cf89abd96fd631acb674f34f41b1 (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
# Congestion check: favor moving a TCH/H that frees a half-used dyn TS completely.
# The algorithm should notice that this is about moving an lchan within the same cell, so all candidates will remain
# with unchanged rxlev after a re-assignment; hence the current rxlev for each candidate should not make a difference.

create-bts trx-count 1 timeslots c+s4 TCH/F dyn    dyn    dyn    dyn  - -
network
 handover2 min-free-slots tch/h 6

# Test with identical rxlev across lchans (trivial and unrealistic)
set-ts-use    trx 0 0     states *    -     TCH/HH TCH/H- TCH/HH pdch - -
meas-rep lchan * * * * rxlev 30 rxqual 0 ta 0
congestion-check
expect-as from lchan 0 0 3 0 to lchan 0 0 1 0
expect-ts-use trx 0 0     states *    TCH/F TCH/HH pdch TCH/HH pdch - -

# clear measurements for the next run
set-ts-use    trx 0 0     states *    - pdch pdch pdch pdch - -

# Check that a weaker rxlev coming up earlier in the congestion checking loop does not override the favored half-used
# TCH/H
set-ts-use    trx 0 0     states *    - TCH/HH TCH/H- TCH/HH pdch - -
meas-rep lchan 0 0 2 1 rxlev 30 rxqual 0 ta 0
meas-rep lchan 0 0 3 0 rxlev 31 rxqual 0 ta 0
meas-rep lchan 0 0 4 0 rxlev 32 rxqual 0 ta 0
meas-rep lchan 0 0 4 1 rxlev 33 rxqual 0 ta 0
congestion-check
expect-as from lchan 0 0 3 0 to lchan 0 0 1 0
expect-ts-use trx 0 0     states *    TCH/F TCH/HH pdch TCH/HH pdch - -

# clear measurements for the next run
set-ts-use    trx 0 0     states *    - pdch pdch pdch pdch - -

# Check that a weaker rxlev coming up later in the congestion checking loop does not override the favored half-used
# TCH/H
set-ts-use    trx 0 0     states *    -  TCH/HH TCH/H- TCH/HH pdch - -
meas-rep lchan 0 0 2 1 rxlev 34 rxqual 0 ta 0
meas-rep lchan 0 0 3 0 rxlev 33 rxqual 0 ta 0
meas-rep lchan 0 0 4 0 rxlev 32 rxqual 0 ta 0
meas-rep lchan 0 0 4 1 rxlev 31 rxqual 0 ta 0
congestion-check
expect-as from lchan 0 0 3 0 to lchan 0 0 1 0
expect-ts-use trx 0 0     states *    TCH/F TCH/HH pdch TCH/HH pdch - -