Change in osmo-ttcn3-hacks[master]: BTS_Tests[_VAMOS]: use default param values for ts_RSL_MultirateCfg
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/29341 ) Change subject: BTS_Tests[_VAMOS]: use default param values for ts_RSL_MultirateCfg ...................................................................... BTS_Tests[_VAMOS]: use default param values for ts_RSL_MultirateCfg There is no real need to pass the multi-rate parameters explicitly in each invocation of ts_RSL_MultirateCfg. The exact multi-rate configuration does not matter in scope of BTS specific tests. Change-Id: I24117af8c5b7b11fe4b8f24fca5279ad97b46fab --- M bts/BTS_Tests.ttcn M bts/BTS_Tests_VAMOS.ttcn 2 files changed, 5 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/41/29341/1 diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index e71aed9..fed45a9 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -8264,7 +8264,7 @@ /* TS1, TCH/F, V3 (AMR codec) */ pars := valueof(t_Pars(ts_RslChanNr_Bm(1), ts_RSL_ChanMode(RSL_CHRT_TCH_F, RSL_CMOD_SP_GSM3))); - pars.mr_conf := valueof(ts_RSL_MultirateCfg(false, 0, '00000100'B /* 5,90k */)); + pars.mr_conf := valueof(ts_RSL_MultirateCfg); vc_conn := f_start_handler(refers(f_TC_speech_rtp), pars); vc_conn.done; @@ -8283,7 +8283,7 @@ /* TS1, TCH/H0, V3 (AMR codec) */ pars := valueof(t_Pars(ts_RslChanNr_Lm(5, 0), ts_RSL_ChanMode(RSL_CHRT_TCH_H, RSL_CMOD_SP_GSM3))); - pars.mr_conf := valueof(ts_RSL_MultirateCfg(false, 0, '00000100'B /* 5,90k */)); + pars.mr_conf := valueof(ts_RSL_MultirateCfg); vc_conn := f_start_handler(refers(f_TC_speech_rtp), pars); vc_conn.done; @@ -8383,7 +8383,7 @@ /* TS5, TCH/H0, V3 (AMR codec) */ pars := valueof(t_Pars(ts_RslChanNr_Bm(1), ts_RSL_ChanMode(RSL_CHRT_TCH_F, RSL_CMOD_SP_GSM3))); - pars.mr_conf := valueof(ts_RSL_MultirateCfg(false, 0, '00000100'B /* 5,90k */)); + pars.mr_conf := valueof(ts_RSL_MultirateCfg); vc_conn := f_start_handler(refers(f_TC_speech_osmux), pars); vc_conn.done; @@ -8397,7 +8397,7 @@ /* TS5, TCH/H0, V3 (AMR codec) */ pars := valueof(t_Pars(ts_RslChanNr_Lm(5, 0), ts_RSL_ChanMode(RSL_CHRT_TCH_H, RSL_CMOD_SP_GSM3))); - pars.mr_conf := valueof(ts_RSL_MultirateCfg(false, 0, '00000100'B /* 5,90k */)); + pars.mr_conf := valueof(ts_RSL_MultirateCfg); vc_conn := f_start_handler(refers(f_TC_speech_osmux), pars); vc_conn.done; diff --git a/bts/BTS_Tests_VAMOS.ttcn b/bts/BTS_Tests_VAMOS.ttcn index 637a256..2d03411 100644 --- a/bts/BTS_Tests_VAMOS.ttcn +++ b/bts/BTS_Tests_VAMOS.ttcn @@ -175,7 +175,7 @@ pars[ch] := valueof(t_Pars(test[i][ch].chan_nr, test[i][ch].chan_mode)); if (test[i][ch].chan_mode.coding_alg_rate == RSL_CMOD_SP_GSM3) { - pars[ch].mr_conf := valueof(ts_RSL_MultirateCfg(false, 0, '00000100'B /* 5,90k */)); + pars[ch].mr_conf := valueof(ts_RSL_MultirateCfg); } vc_conn[ch] := f_start_handler(handler, pars[ch], l1ctl := false); } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/29341 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: I24117af8c5b7b11fe4b8f24fca5279ad97b46fab Gerrit-Change-Number: 29341 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
fixeria