aboutsummaryrefslogtreecommitdiffstats
path: root/tests/handover/test_balance_congestion_tchf_tchh.ho_vty
blob: 7f9039f78df9db1d799c4118a0c828c2d7eebb60 (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
48
49
50
51
# Balance congestion across cells and across TCH/F and TCH/H.

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

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

# both TCH/H and TCH/F have one lchan above congestion, nothing happens
set-ts-use trx 0 0 states		*	TCH/F	TCH/F	-	-	TCH/HH  TCH/HH  -
meas-rep lchan * * * * rxlev 10 rxqual 0 ta 0
congestion-check
expect-no-chan

# TCH/F = +1, TCH/H = +2 above congestion. Moving a TCH/H to TCH/F would just reverse the situation to F=+2 H=+1. Nothing happens.
set-ts-use trx 0 0 states		*	TCH/F	TCH/F	-	-	TCH/HH  TCH/HH  TCH/H-
meas-rep lchan * * * * rxlev 10 rxqual 0 ta 0
congestion-check
expect-no-chan

# F=+1 H=+3. Balance to F=+2 H=+2
set-ts-use trx 0 0 states		*	TCH/F	TCH/F	-	-	TCH/HH  TCH/HH  TCH/HH
meas-rep lchan * * * * rxlev 10 rxqual 0 ta 0
congestion-check
expect-ho from lchan 0 0 5 0 to lchan 0 0 3 0

# Now the exact same thing, just with different min-free-slots settings for
# tch/f vs tch/h

network
 handover2 min-free-slots tch/f 3
 handover2 min-free-slots tch/h 5

# both TCH/H and TCH/F have one lchan above congestion, nothing happens
set-ts-use trx 0 0 states		*	TCH/F	TCH/F	-	-	TCH/HH  -	-
meas-rep lchan * * * * rxlev 20 rxqual 0 ta 0
congestion-check
expect-no-chan

# TCH/F = +1, TCH/H = +2 above congestion. Moving a TCH/H to TCH/F would just
# reverse the situation to F=+2 H=+1. Nothing happens.
set-ts-use trx 0 0 states		*	TCH/F	TCH/F	-	-	TCH/HH  TCH/H-  -
meas-rep lchan * * * * rxlev 20 rxqual 0 ta 0
congestion-check
expect-no-chan

# F=+1 H=+3. Balance to F=+2 H=+2
set-ts-use trx 0 0 states		*	TCH/F	TCH/F	-	-	TCH/HH  TCH/HH  -
meas-rep lchan * * * * rxlev 20 rxqual 0 ta 0
congestion-check
expect-ho from lchan 0 0 5 0 to lchan 0 0 3 0