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/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Nov 1 16:43:05 UTC 2019


pespin has uploaded this change for review. ( 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(-)



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

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index e25bf7f..1cced21 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_bsc_cfg_ms_max_power := 7;
 }
 
 private function f_gen_test_hdlr_pars() return TestHdlrParams {
@@ -140,6 +142,7 @@
 	} else {
 		pars.aoip := false;
 	}
+	pars.exp_ms_power_level := mp_bsc_cfg_ms_max_power;
 
 	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: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191101/2f93c510/attachment.htm>


More information about the gerrit-log mailing list