aboutsummaryrefslogtreecommitdiffstats
path: root/tests/handover/test_amr_tch_h_to_f_rxlev.ho_vty
blob: 34fb5e613eae4e506bf294f2f357bd088e5529d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Low RxLev causes upgrade of TCH/H to TCH/F

network
 handover2 afs-bias rxlev 0
 handover2 min rxlev -80
 handover2 window rxlev averaging 10

create-bts trx-count 1 timeslots c+s4 TCH/F TCH/F TCH/F TCH/H  TCH/H TCH/H PDCH
set-ts-use trx 0 0 states        *    -     -     -     TCH/H- -     -     *
meas-rep repeat 9 lchan 0 0 4 0 rxlev 23 rxqual 1 ta 0
# not enough values for rxlev averaging
expect-no-chan
meas-rep lchan 0 0 4 0 rxlev 23 rxqual 1 ta 0
# average rxlev is now -110 + 23 = -87 < -80: reassign to TCH/F due to bad rxlev
#expect-as from lchan 0 0 4 0 to lchan 0 0 1 0
#expect-ts-use trx 0 0 states * TCH/F - - - - - *
# FAIL: osmo-bsc does not move to TCH/F from bad rxlev
expect-no-chan