aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-12-23 22:48:01 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2020-12-23 22:48:01 +0100
commiteeb3f1201b762eda73a9121d0bca6656d1265d90 (patch)
treeeb296c4a3abee0653fa8f97c6fc85e756b19fb86
parent482953a922f53a4d33208d6a014310535ba4e1ac (diff)
fixed handover/test_amr_tch_h_to_f_congestion_two_cellsneels/hodec_wip
-rw-r--r--tests/handover/test_amr_tch_h_to_f_congestion_two_cells.ho_vty27
1 files changed, 13 insertions, 14 deletions
diff --git a/tests/handover/test_amr_tch_h_to_f_congestion_two_cells.ho_vty b/tests/handover/test_amr_tch_h_to_f_congestion_two_cells.ho_vty
index d2ff2a788..c16a5a92d 100644
--- a/tests/handover/test_amr_tch_h_to_f_congestion_two_cells.ho_vty
+++ b/tests/handover/test_amr_tch_h_to_f_congestion_two_cells.ho_vty
@@ -4,21 +4,20 @@
network
handover2 min-free-slots tch/f 0
- handover2 min-free-slots tch/h 6
+ handover2 min-free-slots tch/h 4
-create-bts trx-count 1 timeslots c+s4 TCH/F TCH/F TCH/F TCH/H TCH/H TCH/H PDCH
-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 1 0 states * - - - TCH/H- - - *
-meas-rep repeat 10 lchan 1 0 4 0 rxlev 30 rxqual 0 ta 0 neighbors 20
+create-bts trx-count 1 timeslots c+s4 TCH/F TCH/F TCH/F TCH/H TCH/H TCH/H PDCH
+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 1 0 states * - - - TCH/HH TCH/H- - *
+meas-rep repeat 10 lchan 1 0 4 0 rxlev 40 rxqual 0 ta 0 neighbors 20
+meas-rep repeat 10 lchan 1 0 4 1 rxlev 30 rxqual 0 ta 0 neighbors 20
+meas-rep repeat 10 lchan 1 0 5 0 rxlev 35 rxqual 0 ta 0 neighbors 20
expect-no-chan
congestion-check
-# FAIL: bts 1 has better rxlev, so the call should move to a TCH/F staying within bts 1. Instead, a handover to bts 0
-# happens:
-expect-ho from lchan 1 0 4 0 to lchan 0 0 1 0
-expect-ts-use trx 0 0 states * TCH/F - - - - - *
-expect-ts-use trx 1 0 states * - - - - - - *
-# the fail continues: later the better rxqual does *another* ho back to the original cell
-meas-rep lchan 0 0 1 0 rxlev 20 rxqual 0 ta 0 neighbors 30
-expect-ho from lchan 0 0 1 0 to lchan 1 0 1 0
+# bts 1 has better rxlev, so the call stays within bts 1 but moves to a TCH/F;
+# choose the lchan with the worst rxlev for upgrade.
+expect-ho from lchan 1 0 4 1 to lchan 1 0 1 0
expect-ts-use trx 0 0 states * - - - - - - *
-expect-ts-use trx 1 0 states * TCH/F - - - - - *
+expect-ts-use trx 1 0 states * TCH/F - - TCH/H- TCH/H- - *
+congestion-check
+expect-no-chan