Change in osmo-ttcn3-hacks[master]: WIP: bts/BTS_Tests: add sample test case using frequency hopping

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.org
Wed May 27 16:12:46 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18531 )


Change subject: WIP: bts/BTS_Tests: add sample test case using frequency hopping
......................................................................

WIP: bts/BTS_Tests: add sample test case using frequency hopping

Change-Id: I6f0e8c78710f8b31689217ef31d7b4c1646bdf28
---
M bts/BTS_Tests.ttcn
1 file changed, 35 insertions(+), 0 deletions(-)



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

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 603d2e2..188d3f0 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -6375,6 +6375,41 @@
 /*	repetition of SABM or DISC N200 times without ACK */
 /*	receptiom of SABM in multi-frame established state */
 
+function f_TC_fh_uplink_sacch(charstring id) runs on ConnHdlr {
+	var L1ctlDlMessage l1_dl;
+	var uint5_t ta_to_test := 16;
+
+	f_l1_tune(L1CTL);
+	RSL.clear;
+
+	f_est_dchan();
+	L1CTL.clear;
+
+	/* Expect 8 consequent SACCH blocks */
+	for (var integer i := 0; i < 8; i := i + 1) {
+		f_exp_sacch(true);
+	}
+
+	f_rsl_chan_deact();
+	f_L1CTL_DM_REL_REQ(L1CTL, g_chan_nr);
+
+	setverdict(pass);
+}
+
+testcase TC_fh_uplink_sacch() runs on test_CT {
+	var ConnHdlr vc_conn;
+	var ConnHdlrPars pars;
+
+	f_init();
+
+	pars := valueof(t_Pars(t_RslChanNr_SDCCH4(0, 0), ts_RSL_ChanMode_SIGN,
+				maio_hsn := { maio := 8, hsn := 0 }));
+	vc_conn := f_start_handler(refers(f_TC_fh_uplink_sacch), pars);
+	vc_conn.done;
+
+	Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
+}
+
 
 /* TODO Areas:
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18531
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: I6f0e8c78710f8b31689217ef31d7b4c1646bdf28
Gerrit-Change-Number: 18531
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200527/d07a4ba2/attachment.htm>


More information about the gerrit-log mailing list