Change in osmo-bsc[master]: hodec2: add low-rxqual-assignment penalty timer (1/2)

neels gerrit-no-reply at lists.osmocom.org
Thu Jul 15 09:28:21 UTC 2021


neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/24936 )

Change subject: hodec2: add low-rxqual-assignment penalty timer (1/2)
......................................................................

hodec2: add low-rxqual-assignment penalty timer (1/2)

First add a handover test script that shows the behavior without the
low-rxqual-assignment penalty timer implemented. When implemented, the
changes to this test script will show the change in behavior.

Related: SYS#5198
Change-Id: I799fce709c86401546ccfe41b9f57fd579bcd987
---
M tests/handover/test_amr_tch_h_to_f_rxqual.ho_vty
1 file changed, 26 insertions(+), 0 deletions(-)

Approvals:
  daniel: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/tests/handover/test_amr_tch_h_to_f_rxqual.ho_vty b/tests/handover/test_amr_tch_h_to_f_rxqual.ho_vty
index 10db404..32a95e1 100644
--- a/tests/handover/test_amr_tch_h_to_f_rxqual.ho_vty
+++ b/tests/handover/test_amr_tch_h_to_f_rxqual.ho_vty
@@ -14,3 +14,29 @@
 # average rxqual now at 6 which is worse than 5, reassign to TCH/F due to bad rxqual.
 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 repeat 2 lchan 0 0 1 0 rxlev 30 rxqual 5 ta 0
+
+# After the upgrade to TCH/F, there should be a penalty timer against re-assgnment within this cell.
+# Configure congestion resolution so that it would normally want to do a re-assignment:
+network
+ handover2 min-free-slots tch/f 3
+ handover2 window rxlev averaging 1
+ handover2 min rxlev -90
+
+# The penalty timer is still active, no re-assignment from congestion of TCH/H
+congestion-check
+# "FAIL": the penalty timer is not yet implemented
+#expect-no-chan
+#expect-ts-use trx 0 0 states * TCH/F - - - - - *
+expect-as from lchan 0 0 1 0 to lchan 0 0 4 0
+expect-ts-use trx 0 0 states * - - - TCH/H- - - *
+
+# But handover to another cell is not held off
+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/F - - - - - *
+expect-ts-use trx 1 0 states * - - - - - - *
+
+meas-rep lchan 0 0 1 0 rxlev 30 rxqual 5 ta 0 neighbors 35
+expect-ho from lchan 0 0 1 0 to lchan 1 0 4 0
+expect-ts-use trx 0 0 states * - - - - - - *
+expect-ts-use trx 1 0 states * - - - TCH/H- - - *

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I799fce709c86401546ccfe41b9f57fd579bcd987
Gerrit-Change-Number: 24936
Gerrit-PatchSet: 3
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210715/4e503ccd/attachment.htm>


More information about the gerrit-log mailing list