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/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20758 )
Change subject: BTS_Tests: introduce TC_meas_res_speech_tch{f,h}
......................................................................
BTS_Tests: introduce TC_meas_res_speech_tch{f,h}
The new test cases are similar to TC_meas_res_sign_tch{f,h}, with
the only difference that TCH channels are activated in speech mode.
FIXME: do not hard-code L1CTL_CHAN_MODE_SPEECH_V1!
Change-Id: I8455e3749ab72a463c00dd0ed28b69ef6f389aa1
Related: OS#4799
---
M bts/BTS_Tests.ttcn
M library/L1CTL_Types.ttcn
2 files changed, 32 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/58/20758/1
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index b3bae2f..e4eb35d 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -2956,6 +2956,35 @@
Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
}
+testcase TC_meas_res_speech_tchf() runs on test_CT {
+ var template RSL_IE_ChannelMode ch_mode;
+ var ConnHdlr vc_conn;
+ var ConnHdlrPars pars;
+ f_init();
+ ch_mode := ts_RSL_ChanMode(RSL_CHRT_TCH_F, RSL_CMOD_SP_GSM1);
+ for (var integer tn := 1; tn <= 1; tn := tn + 1) {
+ pars := valueof(t_Pars(t_RslChanNr_Bm(tn), ch_mode));
+ vc_conn := f_start_handler(refers(f_TC_meas_res_periodic), pars,
+ pcu_comp := false, trxc_comp := true);
+ vc_conn.done;
+ }
+ Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
+}
+testcase TC_meas_res_speech_tchh() runs on test_CT {
+ var template RSL_IE_ChannelMode ch_mode;
+ var ConnHdlr vc_conn;
+ var ConnHdlrPars pars;
+ f_init();
+ ch_mode := ts_RSL_ChanMode(RSL_CHRT_TCH_H, RSL_CMOD_SP_GSM1);
+ for (var integer ss := 0; ss <= 1; ss := ss + 1) {
+ pars := valueof(t_Pars(t_RslChanNr_Lm(5, ss), ch_mode));
+ vc_conn := f_start_handler(refers(f_TC_meas_res_periodic), pars,
+ pcu_comp := false, trxc_comp := true);
+ vc_conn.done;
+ }
+ Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
+}
+
testcase TC_meas_res_sign_tchf() runs on test_CT {
var ConnHdlr vc_conn;
var ConnHdlrPars pars;
@@ -6982,6 +7011,8 @@
execute( TC_rach_load_idle_thresh0() );
execute( TC_rach_load_idle_below_thresh() );
execute( TC_rach_load_count() );
+ execute( TC_meas_res_speech_tchf() );
+ execute( TC_meas_res_speech_tchh() );
execute( TC_meas_res_sign_tchf() );
execute( TC_meas_res_sign_tchh() );
execute( TC_meas_res_sign_sdcch4() );
diff --git a/library/L1CTL_Types.ttcn b/library/L1CTL_Types.ttcn
index 00503e6..606e6fc 100644
--- a/library/L1CTL_Types.ttcn
+++ b/library/L1CTL_Types.ttcn
@@ -587,7 +587,7 @@
payload := {
dm_est_req := {
tsc := tsc,
- tch_mode := L1CTL_CHAN_MODE_SIGN,
+ tch_mode := L1CTL_CHAN_MODE_SPEECH_V1,
audio_mode := t_L1CTL_AudioModeNone
}
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20758
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: I8455e3749ab72a463c00dd0ed28b69ef6f389aa1
Gerrit-Change-Number: 20758
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201019/53fa5096/attachment.htm>