Change in osmo-ttcn3-hacks[master]: bsc: Allow setting expected ms max power level with module param

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Nov 5 19:31:50 UTC 2019


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15930 )

Change subject: bsc: Allow setting expected ms max power level with module param
......................................................................

bsc: Allow setting expected ms max power level with module param

It will allow changing ms max power in osmo-bsc.cfg as well as TTCN3
expactancies in BSC_Tests.cfg easily in docker-playground.git without
needing to recompile or change code in TTCN3.

Change-Id: Ib00c96902377582bc32778c5b947a6b4274041aa
---
M bsc/BSC_Tests.ttcn
1 file changed, 3 insertions(+), 0 deletions(-)

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



diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index e25bf7f..e7a4c13 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -130,6 +130,8 @@
 	   unconditionally once new version of osmo-bsc is released (current
 	   version: 1.4.1) */
 	boolean mp_enable_osmux_test := true;
+	/* Value set in osmo-bsc.cfg "ms max power" */
+	uint8_t mp_exp_ms_power_level := 7;
 }
 
 private function f_gen_test_hdlr_pars() return TestHdlrParams {
@@ -140,6 +142,7 @@
 	} else {
 		pars.aoip := false;
 	}
+	pars.exp_ms_power_level := mp_exp_ms_power_level;
 
 	return pars;
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15930
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: Ib00c96902377582bc32778c5b947a6b4274041aa
Gerrit-Change-Number: 15930
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191105/585bd464/attachment.htm>


More information about the gerrit-log mailing list