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.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20996 )
Change subject: BTS_Tests/DTX: eliminate redundant f_TC functions
......................................................................
BTS_Tests/DTX: eliminate redundant f_TC functions
Change-Id: I4db97d3bea152668c14ce1fb85700364dfdaa575
Related: OS#4801
---
M bts/BTS_Tests.ttcn
1 file changed, 3 insertions(+), 13 deletions(-)
Approvals:
laforge: Looks good to me, approved
pespin: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 735a36a..a2394a0 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -6705,7 +6705,7 @@
/***********************************************************************
* DTX Related (see GSM 05.08, section 8.3)
***********************************************************************/
-private function f_test_l2_fill_frames(boolean dtxd) runs on ConnHdlr {
+private function f_TC_tch_sign_l2_fill_frame(charstring id) runs on ConnHdlr {
var L1ctlDlMessage dl;
var GsmFrameNumber first_fn;
var boolean is_first_frame := true;
@@ -6742,7 +6742,7 @@
first_fn := dl.dl_info.frame_nr;
}
- if (dtxd) {
+ if (g_pars.chan_mode.dtx_d) {
if (fn > first_fn + frame_dtx_tchf_mod) {
T.stop;
f_rsl_chan_deact();
@@ -6818,14 +6818,6 @@
}
}
-private function f_TC_tch_sign_l2_fill_frame(charstring id) runs on ConnHdlr {
- f_test_l2_fill_frames(false);
-}
-
-private function f_TC_tch_sign_l2_fill_frame_dtxd(charstring id) runs on ConnHdlr {
- f_test_l2_fill_frames(true);
-}
-
private function f_tch_sign_l2_fill_frame(boolean dtxd) runs on test_CT {
var template RSL_IE_ChannelMode ch_mode;
var ConnHdlr vc_conn;
@@ -6839,10 +6831,8 @@
if (i >= 4) { /* DTX is only allowed on TCH/F */
break;
}
- vc_conn := f_start_handler(refers(f_TC_tch_sign_l2_fill_frame_dtxd), pars);
- } else {
- vc_conn := f_start_handler(refers(f_TC_tch_sign_l2_fill_frame), pars);
}
+ vc_conn := f_start_handler(refers(f_TC_tch_sign_l2_fill_frame), pars);
vc_conn.done;
}
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20996
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: I4db97d3bea152668c14ce1fb85700364dfdaa575
Gerrit-Change-Number: 20996
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201102/fcafe43d/attachment.htm>