Change in osmo-ttcn3-hacks[master]: BSC_Tests: introduce f_mt_l3_transceive() sending BSSAP -> RSL

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.org
Fri Oct 2 20:42:25 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20384 )

Change subject: BSC_Tests: introduce f_mt_l3_transceive() sending BSSAP -> RSL
......................................................................

BSC_Tests: introduce f_mt_l3_transceive() sending BSSAP -> RSL

Change-Id: I5f1685815a4477b4d50351d3518ae21dd7d20139
Related: OS#3716
---
M bsc/BSC_Tests.ttcn
1 file changed, 17 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved



diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 544e79b..0632852 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -4484,6 +4484,23 @@
 	setverdict(pass);
 }
 
+private function f_mt_l3_transceive(template (present) RslLinkId link_id := tr_RslLinkID_DCCH(0),
+				    template (value) OCT1 dlci := '00'O,
+				    octetstring l3 := '0123456789'O)
+runs on MSC_ConnHdlr {
+	BSSAP.send(PDU_BSSAP:{
+		discriminator := '1'B,
+		spare := '0000000'B,
+		dlci := dlci,
+		lengthIndicator := lengthof(l3),
+		pdu := {
+			dtap := l3
+		}
+	});
+	RSL.receive(tr_RSL_DATA_REQ(g_chan_nr, link_id, l3));
+	setverdict(pass);
+}
+
 /* BSC asks for inter-BSC HO, but the MSC decides that it won't happen and
  * simply never sends a BSSMAP Handover Command. */
 private function f_tc_ho_out_fail_no_msc_response(charstring id) runs on MSC_ConnHdlr {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20384
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: I5f1685815a4477b4d50351d3518ae21dd7d20139
Gerrit-Change-Number: 20384
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/20201002/30ea41ec/attachment.htm>


More information about the gerrit-log mailing list