fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27697 )


Change subject: BTS_Tests: tune waiting timeout in TC_rsl_ms_pwr_dyn_up
......................................................................

BTS_Tests: tune waiting timeout in TC_rsl_ms_pwr_dyn_up

Since recenly, osmo-bts is using P_CON_INTERVAL=2 by default.  This
means that the MS power loop gets triggered every 4th SACCH block
(1.92s), so we need more time to reach the maximim Tx power.

Change-Id: I9266f7284fcdb0afa3473f575640689e334e89a8
Related: osmo-bts.git I91c505447f68714239a4f033d4f06e91893df201
Related: OS#5517
---
M bts/BTS_Tests.ttcn
1 file changed, 3 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/97/27697/1

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 3a3d7cc..f33e8cc 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -3042,8 +3042,9 @@
        48.058 The maximum power to be used is indicated in the BS and MS Power 
elements respectively. */
        RSL.send(ts_RSL_MS_PWR_CTRL_with_pp(g_chan_nr, pwr_max_var));

-       /* wait, then check that our power level was reduced */
-       timer T1 := 10.0;
+       /* By default, the MS power loop gets triggered every 4th SACCH block 
(1.92s).
+        * We need 9 * 4 dB steps to get from 0 dBm to 33 dBm, so 9 * 1.92s 
total. */
+       timer T1 := 9.0 * 1.92;
        T1.start;
        alt {
        [] as_l1_sacch_l1h(l1h) { repeat; }

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I9266f7284fcdb0afa3473f575640689e334e89a8
Gerrit-Change-Number: 27697
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to