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 <pes...@sysmocom.de> Gerrit-MessageType: newchange