# Congestion check: One out of three cells is congested
# Three cells have different number of used slots, but there is
# congestion at TCH/F in the first cell. Handover is performed with
# the best candidate.

create-n-bts 3
network
 handover2 min-free-slots tch/f 2
 handover2 min-free-slots tch/h 2
set-ts-use trx 0 0 states * TCH/F TCH/F TCH/F - TCH/HH - -
set-ts-use trx 1 0 states * TCH/F -     -     - TCH/H- - -
meas-rep lchan * * * * rxlev 30 rxqual 0 ta 0 neighbors 20 20
meas-rep lchan 0 0 3 0 rxlev 30 rxqual 0 ta 0 neighbors 21 20
expect-no-chan
expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F - TCH/HH - -
expect-ts-use trx 1 0 states * TCH/F -     -     - TCH/H- - -
congestion-check
expect-ho from lchan 0 0 3 0 to lchan 1 0 2 0
expect-ts-use trx 0 0 states * TCH/F TCH/F - - TCH/HH - -
expect-ts-use trx 1 0 states * TCH/F TCH/F - - TCH/H- - -

