aboutsummaryrefslogtreecommitdiffstats
path: root/tests/handover/test_penalty_timer.ho_vty
blob: 22b9a95293a6fb8580750e10a1edecefa7526dcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Penalty timer must not run
# The MS will try to handover to a better cell, but this will fail.
# Even though the cell is still better, handover will not be performed
# due to penalty timer after handover failure

create-n-bts 2
set-ts-use trx 0 0 states * TCH/F - - - - - -
meas-rep lchan 0 0 1 0 rxlev 20 rxqual 0 ta 0 neighbors 30
expect-chan lchan 1 0 1 0
expect-ho-cmd lchan 0 0 1 0
ho-failed
# first BTS still services the call:
expect-ts-use trx 0 0 states * TCH/F - - - - - -
# lchan 1 0 1 0 is in LCHAN_ST_WAIT_AFTER_ERROR because the handover failed:
expect-ts-use trx 1 0 states * !     - - - - - -
meas-rep lchan 0 0 1 0 rxlev 20 rxqual 0 ta 0 neighbors 30
expect-no-chan