neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/24796 )


Change subject: hodec2: add test case showing low rxqual tch/h<->tch/f 
oscillation
......................................................................

hodec2: add test case showing low rxqual tch/h<->tch/f oscillation

Related: SYS#5198
Change-Id: I43726c5563c9c31389600ef0ff6855add5af3a03
---
A tests/handover/test_amr_tch_h_to_f_rxqual_oscillation.ho_vty
1 file changed, 29 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/96/24796/1

diff --git a/tests/handover/test_amr_tch_h_to_f_rxqual_oscillation.ho_vty 
b/tests/handover/test_amr_tch_h_to_f_rxqual_oscillation.ho_vty
new file mode 100644
index 0000000..a98e917
--- /dev/null
+++ b/tests/handover/test_amr_tch_h_to_f_rxqual_oscillation.ho_vty
@@ -0,0 +1,29 @@
+# Low RxQual causes upgrade of TCH/H to TCH/F.
+# That leads to congestion of TCH/F, but do not handover back to non-congested 
TCH/H.
+
+network
+ handover2 afs-bias rxlev 0
+ handover2 min rxqual 5
+ handover2 window rxqual averaging 1
+ handover2 min-free-slots tch/f 3
+ 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
+set-ts-use trx 0 0 states        *    -     -     -     TCH/H- -     -     *
+meas-rep lchan 0 0 4 0 rxlev 30 rxqual 6 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 - - - - - *
+
+meas-rep lchan 0 0 1 0 rxlev 30 rxqual 6 ta 0
+congestion-check
+# FAIL: should stay on TCH/F because rxqual is low, do not oscillate between 
TCH/F and /H.
+expect-as from lchan 0 0 1 0 to lchan 0 0 4 0
+expect-ts-use trx 0 0 states * - - - TCH/H- - - *
+meas-rep lchan 0 0 4 0 rxlev 30 rxqual 6 ta 0
+expect-as from lchan 0 0 4 0 to lchan 0 0 1 0
+expect-ts-use trx 0 0 states * TCH/F - - - - - *
+meas-rep lchan 0 0 1 0 rxlev 30 rxqual 6 ta 0
+congestion-check
+expect-as from lchan 0 0 1 0 to lchan 0 0 4 0
+expect-ts-use trx 0 0 states * - - - TCH/H- - - *

--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/24796
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I43726c5563c9c31389600ef0ff6855add5af3a03
Gerrit-Change-Number: 24796
Gerrit-PatchSet: 1
Gerrit-Owner: neels <[email protected]>
Gerrit-MessageType: newchange

Reply via email to