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

network
 handover2 min-free-slots tch/h 4

set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *

meas-rep lchan 0 0 5 0 rxlev 31 rxqual 0 ta 0 neighbors 20
expect-no-chan
meas-rep lchan 0 0 6 0 rxlev 30 rxqual 0 ta 0 neighbors 20
expect-no-chan

congestion-check
expect-as from lchan 0 0 6 0 to lchan 0 0 1 0
expect-ts-use trx 0 0 states * TCH/F - - - TCH/H- - *
expect-ts-use trx 1 0 states * - - - - - - *

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

set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *
meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 20
expect-no-chan
meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 20
expect-no-chan

congestion-check
expect-as from lchan 0 0 5 0 to lchan 0 0 1 0
expect-ts-use trx 0 0 states * TCH/F - - - - TCH/H- *
expect-ts-use trx 1 0 states * - - - - - - *

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

set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *
meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 20
expect-no-chan
meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 21
expect-no-chan

congestion-check
expect-as from lchan 0 0 5 0 to lchan 0 0 1 0
expect-ts-use trx 0 0 states * TCH/F - - - - TCH/H- *
expect-ts-use trx 1 0 states * - - - - - - *

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

set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *
meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 21
expect-no-chan
meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 20
expect-no-chan

congestion-check
expect-as from lchan 0 0 5 0 to lchan 0 0 1 0
expect-ts-use trx 0 0 states * TCH/F - - - - TCH/H- *
expect-ts-use trx 1 0 states * - - - - - - *

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

set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *
meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 30
expect-no-chan
meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 31
expect-no-chan

congestion-check
expect-as from lchan 0 0 5 0 to lchan 0 0 1 0
expect-ts-use trx 0 0 states * TCH/F - - - - TCH/H- *
expect-ts-use trx 1 0 states * - - - - - - *

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

set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *
meas-rep lchan 0 0 5 0 rxlev 31 rxqual 0 ta 0 neighbors 31
expect-no-chan
meas-rep lchan 0 0 6 0 rxlev 30 rxqual 0 ta 0 neighbors 30
expect-no-chan

congestion-check
expect-as from lchan 0 0 6 0 to lchan 0 0 1 0
expect-ts-use trx 0 0 states * TCH/F - - - TCH/H- - *
expect-ts-use trx 1 0 states * - - - - - - *

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

set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *
meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 31
expect-no-chan
meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 30
expect-no-chan

congestion-check
expect-ho from lchan 0 0 5 0 to lchan 1 0 1 0
expect-ts-use trx 0 0 states * - - - - - TCH/H- *
expect-ts-use trx 1 0 states * TCH/F - - - - - *

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

set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *
meas-rep lchan 0 0 5 0 rxlev 31 rxqual 0 ta 0 neighbors 30
expect-no-chan
meas-rep lchan 0 0 6 0 rxlev 30 rxqual 0 ta 0 neighbors 31
expect-no-chan

congestion-check
expect-ho from lchan 0 0 6 0 to lchan 1 0 1 0
expect-ts-use trx 0 0 states * - - - - TCH/H- - *
expect-ts-use trx 1 0 states * TCH/F - - - - - *
