blob: 3ae5997c807856d6780832084ecb49150e3b3701 [file] [log] [blame]
Neels Hofmeyr1a3eaef2020-11-18 16:25:55 +01001# Congestion check: Balancing congestion by handover TCH/F -> TCH/H
2# With dynamic timeslots.
3# As soon as only one TCH/F is left, there should be HO to a dyn TS.
4
5create-bts trx-count 1 timeslots c+s4 TCH/F TCH/F TCH/F dyn dyn dyn PDCH
6
7network
8 bts 0
9 handover2 min-free-slots tch/f 2
10 handover2 min-free-slots tch/h 0
11 handover2 assignment 1
12set-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/F pdch pdch pdch
13
14# (there must be at leas one measurement report on each lchan for congestion check to work)
15meas-rep lchan 0 0 1 0 rxlev 40 rxqual 0 ta 0 neighbors 30
16meas-rep lchan 0 0 2 0 rxlev 40 rxqual 0 ta 0 neighbors 30
17meas-rep lchan 0 0 3 0 rxlev 40 rxqual 0 ta 0 neighbors 30
18meas-rep lchan 0 0 4 0 rxlev 40 rxqual 0 ta 0 neighbors 30
19
20congestion-check
21expect-no-chan
22
23create-ms bts 0 TCH/F AMR
24meas-rep lchan 0 0 5 0 rxlev 40 rxqual 0 ta 0 neighbors 30
25expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/F TCH/F pdch pdch
26
27congestion-check
28expect-ho from lchan 0 0 5 0 to lchan 0 0 6 0
29expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/F pdch TCH/H- pdch
30
31congestion-check
32expect-ho from lchan 0 0 4 0 to lchan 0 0 6 1
33expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F pdch pdch TCH/HH pdch
34
35congestion-check
36expect-no-chan
37
38create-ms bts 0 TCH/F AMR
39meas-rep lchan 0 0 4 0 rxlev 40 rxqual 0 ta 0 neighbors 30
40expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/F pdch TCH/HH pdch
41
42congestion-check
43expect-ho from lchan 0 0 4 0 to lchan 0 0 5 0
44expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F pdch TCH/H- TCH/HH pdch
45
46congestion-check
47expect-ho from lchan 0 0 1 0 to lchan 0 0 5 1
48expect-ts-use trx 0 0 states * - TCH/F TCH/F pdch TCH/HH TCH/HH pdch
49
50congestion-check
51expect-no-chan
52
53create-ms bts 0 TCH/F AMR
54meas-rep lchan 0 0 1 0 rxlev 40 rxqual 0 ta 0 neighbors 30
55expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F pdch TCH/HH TCH/HH pdch
56
57congestion-check
58expect-ho from lchan 0 0 1 0 to lchan 0 0 4 0
59expect-ts-use trx 0 0 states * - TCH/F TCH/F TCH/H- TCH/HH TCH/HH pdch
60
61congestion-check
62expect-ho from lchan 0 0 2 0 to lchan 0 0 4 1
63expect-ts-use trx 0 0 states * - - TCH/F TCH/HH TCH/HH TCH/HH pdch
64
65congestion-check
66expect-no-chan
67
68create-ms bts 0 TCH/F AMR
69meas-rep lchan 0 0 1 0 rxlev 40 rxqual 0 ta 0 neighbors 30
70expect-ts-use trx 0 0 states * TCH/F - TCH/F TCH/HH TCH/HH TCH/HH pdch
71
72congestion-check
73expect-no-chan
74
75create-ms bts 0 TCH/F AMR
76meas-rep lchan 0 0 2 0 rxlev 40 rxqual 0 ta 0 neighbors 30
77expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/HH TCH/HH TCH/HH pdch
78
79congestion-check
80expect-no-chan
81