aboutsummaryrefslogtreecommitdiffstats
path: root/tests/handover/test_amr_tch_h_and_afs_bias.ho_vty
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2021-06-03 15:19:40 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2021-06-08 03:01:51 +0200
commitd4dbf235edce76b495ca0dbcbec9c939be412948 (patch)
tree27ad9dab08513e2046b521e577ca4ad818fbdd9a /tests/handover/test_amr_tch_h_and_afs_bias.ho_vty
parentb96f708fb5f324a30217b0e79915bc9336b0e4f0 (diff)
hodec2: add handover_test cases for upgrade of TCH/H -> TCH/F
Add test_amr_tch_h_and_afs_bias.ho_vty test_amr_tch_h_to_f_rxlev.ho_vty test_amr_tch_h_to_f_rxlev_congested.ho_vty test_amr_tch_h_to_f_rxqual.ho_vty test_amr_tch_h_to_f_rxqual_congested.ho_vty Related: SYS#5198 SYS#5365 Change-Id: Ib88f7e00d8bd77e2b02a7242a0fab4dd79333037
Diffstat (limited to 'tests/handover/test_amr_tch_h_and_afs_bias.ho_vty')
-rw-r--r--tests/handover/test_amr_tch_h_and_afs_bias.ho_vty18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/handover/test_amr_tch_h_and_afs_bias.ho_vty b/tests/handover/test_amr_tch_h_and_afs_bias.ho_vty
new file mode 100644
index 000000000..127727ffa
--- /dev/null
+++ b/tests/handover/test_amr_tch_h_and_afs_bias.ho_vty
@@ -0,0 +1,18 @@
+# TCH/H has good RxLev and RxQual, AFS bias should not move it to TCH/F
+
+network
+ handover2 power budget hysteresis 3
+ handover2 min rxlev -90
+ handover2 min rxqual 5
+ handover2 afs-bias rxlev 1
+
+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 lchan 0 0 4 0 rxlev 50 rxqual 1 ta 0
+# The TCH/H should stay where it is, because its levels are fine.
+#expect-no-chan
+# FAIL: osmo-bsc applies AFS bias to the intra-cell move from TCH/H to TCH/F.
+# but intra-cell re-assignment does not employ a bower budget hysteresis.
+# So in the presence of afs-bias, all TCH/H *always* move over to TCH/F.
+# That should only happen when rxlev or rxqual ratings are too low.
+expect-as from lchan 0 0 4 0 to lchan 0 0 1 0