<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/21976">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">handover_test: add test_congestion_intra_vs_inter_cell.ho_vty<br><br>Related: SYS#5032<br>Change-Id: Ib5d7047328e1dadeae42b604a2f71771f0ac3152<br>---<br>M tests/handover/handover_tests.ok<br>A tests/handover/test_congestion_intra_vs_inter_cell.ho_vty<br>2 files changed, 133 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/76/21976/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/handover/handover_tests.ok b/tests/handover/handover_tests.ok</span><br><span>index 8f53471..eab405d 100644</span><br><span>--- a/tests/handover/handover_tests.ok</span><br><span>+++ b/tests/handover/handover_tests.ok</span><br><span>@@ -10,6 +10,7 @@</span><br><span> pass test_balance_congestion_2.ho_vty</span><br><span> pass test_congestion.ho_vty</span><br><span> pass test_congestion_favor_best_target_rxlev.ho_vty</span><br><span style="color: hsl(120, 100%, 40%);">+pass test_congestion_intra_vs_inter_cell.ho_vty</span><br><span> pass test_disabled_ho_and_as.ho_vty</span><br><span> pass test_dyn_ts_amr_tch_f_to_h_congestion_assignment.ho_vty</span><br><span> pass test_dyn_ts_favor_half_used_tch_h_as_target.ho_vty</span><br><span>diff --git a/tests/handover/test_congestion_intra_vs_inter_cell.ho_vty b/tests/handover/test_congestion_intra_vs_inter_cell.ho_vty</span><br><span>new file mode 100644</span><br><span>index 0000000..f0f8e2a</span><br><span>--- /dev/null</span><br><span>+++ b/tests/handover/test_congestion_intra_vs_inter_cell.ho_vty</span><br><span>@@ -0,0 +1,132 @@</span><br><span style="color: hsl(120, 100%, 40%);">+create-bts trx-count 1 timeslots c+s4 TCH/F TCH/F TCH/F TCH/F TCH/H TCH/H PDCH</span><br><span style="color: hsl(120, 100%, 40%);">+create-bts trx-count 1 timeslots c+s4 TCH/F TCH/F TCH/F TCH/F TCH/H TCH/H PDCH</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+network</span><br><span style="color: hsl(120, 100%, 40%);">+ handover2 min-free-slots tch/h 4</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 5 0 rxlev 31 rxqual 0 ta 0 neighbors 20</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 6 0 rxlev 30 rxqual 0 ta 0 neighbors 20</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+congestion-check</span><br><span style="color: hsl(120, 100%, 40%);">+# FAIL! moving to a weaker neighbor, should move to TCH/F in current cell instead.</span><br><span style="color: hsl(120, 100%, 40%);">+# FAIL! should favor upgrading the weaker TS 6.</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ho from lchan 0 0 5 0 to lchan 1 0 1 0</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 0 0 states * - - - - - TCH/H- *</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 1 0 states * TCH/F - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# clear measurements for next run</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 1 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 20</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 20</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+congestion-check</span><br><span style="color: hsl(120, 100%, 40%);">+# FAIL! moving to a weaker neighbor, should move to TCH/F in current cell instead.</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ho from lchan 0 0 5 0 to lchan 1 0 1 0</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 0 0 states * - - - - - TCH/H- *</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 1 0 states * TCH/F - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# clear measurements for next run</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 1 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 20</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 21</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+congestion-check</span><br><span style="color: hsl(120, 100%, 40%);">+# FAIL! moving to a weaker neighbor, should move to TCH/F in current cell instead.</span><br><span style="color: hsl(120, 100%, 40%);">+# FAIL! should favor upgrading the weaker TS 5.</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ho from lchan 0 0 6 0 to lchan 1 0 1 0</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 0 0 states * - - - - TCH/H- - *</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 1 0 states * TCH/F - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# clear measurements for next run</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 1 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 21</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 20</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+congestion-check</span><br><span style="color: hsl(120, 100%, 40%);">+# FAIL! moving to a weaker neighbor, should move to TCH/F in current cell instead.</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ho from lchan 0 0 5 0 to lchan 1 0 1 0</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 0 0 states * - - - - - TCH/H- *</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 1 0 states * TCH/F - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# clear measurements for next run</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 1 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 30</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 31</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+congestion-check</span><br><span style="color: hsl(120, 100%, 40%);">+# FAIL! moving to a weaker neighbor, should move to TCH/F in current cell instead.</span><br><span style="color: hsl(120, 100%, 40%);">+# FAIL! should favor upgrading the weaker TS 5.</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ho from lchan 0 0 6 0 to lchan 1 0 1 0</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 0 0 states * - - - - TCH/H- - *</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 1 0 states * TCH/F - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# clear measurements for next run</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 1 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 5 0 rxlev 31 rxqual 0 ta 0 neighbors 31</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 6 0 rxlev 30 rxqual 0 ta 0 neighbors 30</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+congestion-check</span><br><span style="color: hsl(120, 100%, 40%);">+# FAIL! moving to a weaker neighbor, should move to TCH/F in current cell instead.</span><br><span style="color: hsl(120, 100%, 40%);">+# FAIL! should favor upgrading the weaker TS 6.</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ho from lchan 0 0 5 0 to lchan 1 0 1 0</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 0 0 states * - - - - - TCH/H- *</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 1 0 states * TCH/F - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# clear measurements for next run</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 1 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 31</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 30</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+congestion-check</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ho from lchan 0 0 5 0 to lchan 1 0 1 0</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 0 0 states * - - - - - TCH/H- *</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 1 0 states * TCH/F - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# clear measurements for next run</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 1 0 states * - - - - - - *</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- *</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 5 0 rxlev 31 rxqual 0 ta 0 neighbors 30</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+meas-rep lchan 0 0 6 0 rxlev 30 rxqual 0 ta 0 neighbors 31</span><br><span style="color: hsl(120, 100%, 40%);">+expect-no-chan</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+congestion-check</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ho from lchan 0 0 6 0 to lchan 1 0 1 0</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 0 0 states * - - - - TCH/H- - *</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 1 0 states * TCH/F - - - - - *</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/21976">change 21976</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bsc/+/21976"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ib5d7047328e1dadeae42b604a2f71771f0ac3152 </div>
<div style="display:none"> Gerrit-Change-Number: 21976 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>