Change in osmo-ttcn3-hacks[master]: add rsl arg to f_mo_l3_transceive, f_mt_l3_transceive

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/.

neels gerrit-no-reply at lists.osmocom.org
Mon Oct 12 18:58:34 UTC 2020


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


Change subject: add rsl arg to f_mo_l3_transceive, f_mt_l3_transceive
......................................................................

add rsl arg to f_mo_l3_transceive, f_mt_l3_transceive

Change-Id: I6c42418cc4dcc98573a78c3fd5d905ddf6dc3a87
---
M bsc/BSC_Tests.ttcn
1 file changed, 8 insertions(+), 6 deletions(-)



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

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index d3c8feb..82a7dd2 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -2085,9 +2085,9 @@
 		}
 
 		/* Send MO message: RSL -> BSSAP */
-		f_mo_l3_transceive(link_id, dlci, l3);
+		f_mo_l3_transceive(RSL, link_id, dlci, l3);
 		/* Send MT message: BSSAP -> RSL */
-		f_mt_l3_transceive(link_id, dlci, l3);
+		f_mt_l3_transceive(RSL, link_id, dlci, l3);
 	}
 }
 testcase TC_tch_dlci_link_id_sapi() runs on test_CT {
@@ -4546,13 +4546,14 @@
 	f_shutdown_helper();
 }
 
-private function f_mo_l3_transceive(template (value) RslLinkId link_id := ts_RslLinkID_DCCH(0),
+private function f_mo_l3_transceive(RSL_DCHAN_PT rsl := RSL,
+				    template (value) RslLinkId link_id := ts_RslLinkID_DCCH(0),
 				    template (present) OCT1 dlci := ?,
 				    octetstring l3 := '0123456789'O)
 runs on MSC_ConnHdlr {
 	/* The old lchan and conn should still be active. See that arbitrary L3
 	 * is still going through. */
-	RSL.send(ts_RSL_DATA_IND(g_chan_nr, link_id, l3));
+	rsl.send(ts_RSL_DATA_IND(g_chan_nr, link_id, l3));
 	var template PDU_BSSAP exp_data := {
 		    discriminator := '1'B,
 		    spare := '0000000'B,
@@ -4566,7 +4567,8 @@
 	setverdict(pass);
 }
 
-private function f_mt_l3_transceive(template (present) RslLinkId link_id := tr_RslLinkID_DCCH(0),
+private function f_mt_l3_transceive(RSL_DCHAN_PT rsl := RSL,
+				    template (present) RslLinkId link_id := tr_RslLinkID_DCCH(0),
 				    template (value) OCT1 dlci := '00'O,
 				    octetstring l3 := '0123456789'O)
 runs on MSC_ConnHdlr {
@@ -4579,7 +4581,7 @@
 			dtap := l3
 		}
 	});
-	RSL.receive(tr_RSL_DATA_REQ(g_chan_nr, link_id, l3));
+	rsl.receive(tr_RSL_DATA_REQ(g_chan_nr, link_id, l3));
 	setverdict(pass);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20618
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: I6c42418cc4dcc98573a78c3fd5d905ddf6dc3a87
Gerrit-Change-Number: 20618
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201012/5c5ae40b/attachment.htm>


More information about the gerrit-log mailing list