diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2021-07-13 22:41:12 +0200 |
---|---|---|
committer | neels <nhofmeyr@sysmocom.de> | 2021-07-15 09:28:18 +0000 |
commit | 12d80e89453bc31320143f2f02d9eb999903017d (patch) | |
tree | a1596855ae1184a31ac59f100e10dfe0fb6d82fb /tests | |
parent | b4176e52009f33193418ce05438b768d50091e5d (diff) |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/handover/test_amr_tch_h_to_f_rxqual.ho_vty | 26 |
1 files changed, 26 insertions, 0 deletions
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 10db40434..32a95e16d 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 @@ meas-rep lchan 0 0 4 0 rxlev 30 rxqual 6 ta 0 # 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- - - * |