Neels Hofmeyr | 1a3eaef | 2020-11-18 16:25:55 +0100 | [diff] [blame^] | 1 | # 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 | |
| 5 | create-bts trx-count 1 timeslots c+s4 TCH/F TCH/F TCH/F dyn dyn dyn PDCH |
| 6 | |
| 7 | network |
| 8 | bts 0 |
| 9 | handover2 min-free-slots tch/f 2 |
| 10 | handover2 min-free-slots tch/h 0 |
| 11 | handover2 assignment 1 |
| 12 | set-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) |
| 15 | meas-rep lchan 0 0 1 0 rxlev 40 rxqual 0 ta 0 neighbors 30 |
| 16 | meas-rep lchan 0 0 2 0 rxlev 40 rxqual 0 ta 0 neighbors 30 |
| 17 | meas-rep lchan 0 0 3 0 rxlev 40 rxqual 0 ta 0 neighbors 30 |
| 18 | meas-rep lchan 0 0 4 0 rxlev 40 rxqual 0 ta 0 neighbors 30 |
| 19 | |
| 20 | congestion-check |
| 21 | expect-no-chan |
| 22 | |
| 23 | create-ms bts 0 TCH/F AMR |
| 24 | meas-rep lchan 0 0 5 0 rxlev 40 rxqual 0 ta 0 neighbors 30 |
| 25 | expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/F TCH/F pdch pdch |
| 26 | |
| 27 | congestion-check |
| 28 | expect-ho from lchan 0 0 5 0 to lchan 0 0 6 0 |
| 29 | expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/F pdch TCH/H- pdch |
| 30 | |
| 31 | congestion-check |
| 32 | expect-ho from lchan 0 0 4 0 to lchan 0 0 6 1 |
| 33 | expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F pdch pdch TCH/HH pdch |
| 34 | |
| 35 | congestion-check |
| 36 | expect-no-chan |
| 37 | |
| 38 | create-ms bts 0 TCH/F AMR |
| 39 | meas-rep lchan 0 0 4 0 rxlev 40 rxqual 0 ta 0 neighbors 30 |
| 40 | expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/F pdch TCH/HH pdch |
| 41 | |
| 42 | congestion-check |
| 43 | expect-ho from lchan 0 0 4 0 to lchan 0 0 5 0 |
| 44 | expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F pdch TCH/H- TCH/HH pdch |
| 45 | |
| 46 | congestion-check |
| 47 | expect-ho from lchan 0 0 1 0 to lchan 0 0 5 1 |
| 48 | expect-ts-use trx 0 0 states * - TCH/F TCH/F pdch TCH/HH TCH/HH pdch |
| 49 | |
| 50 | congestion-check |
| 51 | expect-no-chan |
| 52 | |
| 53 | create-ms bts 0 TCH/F AMR |
| 54 | meas-rep lchan 0 0 1 0 rxlev 40 rxqual 0 ta 0 neighbors 30 |
| 55 | expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F pdch TCH/HH TCH/HH pdch |
| 56 | |
| 57 | congestion-check |
| 58 | expect-ho from lchan 0 0 1 0 to lchan 0 0 4 0 |
| 59 | expect-ts-use trx 0 0 states * - TCH/F TCH/F TCH/H- TCH/HH TCH/HH pdch |
| 60 | |
| 61 | congestion-check |
| 62 | expect-ho from lchan 0 0 2 0 to lchan 0 0 4 1 |
| 63 | expect-ts-use trx 0 0 states * - - TCH/F TCH/HH TCH/HH TCH/HH pdch |
| 64 | |
| 65 | congestion-check |
| 66 | expect-no-chan |
| 67 | |
| 68 | create-ms bts 0 TCH/F AMR |
| 69 | meas-rep lchan 0 0 1 0 rxlev 40 rxqual 0 ta 0 neighbors 30 |
| 70 | expect-ts-use trx 0 0 states * TCH/F - TCH/F TCH/HH TCH/HH TCH/HH pdch |
| 71 | |
| 72 | congestion-check |
| 73 | expect-no-chan |
| 74 | |
| 75 | create-ms bts 0 TCH/F AMR |
| 76 | meas-rep lchan 0 0 2 0 rxlev 40 rxqual 0 ta 0 neighbors 30 |
| 77 | expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/HH TCH/HH TCH/HH pdch |
| 78 | |
| 79 | congestion-check |
| 80 | expect-no-chan |
| 81 | |