Change in osmo-ttcn3-hacks[master]: RAN_Emulation: allow sending UnitData from MSC_ConnHdlr

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
Wed Jun 17 11:30:35 UTC 2020


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

Change subject: RAN_Emulation: allow sending UnitData from MSC_ConnHdlr
......................................................................

RAN_Emulation: allow sending UnitData from MSC_ConnHdlr

Add BSSAP_N_UNITDATA_req to RAN_Conn_PT, so that we are able to send a Paging
from a test function that runs on MSC_ConnHdlr.

This will be needed by upcoming MSC pool tests, see
I21cbab193cd0de2e5692665442eae113d5f61904.

Change-Id: I36d486db05169b0fc3f19112b5a9008248d62930
---
M library/RAN_Emulation.ttcnpp
1 file changed, 6 insertions(+), 0 deletions(-)

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



diff --git a/library/RAN_Emulation.ttcnpp b/library/RAN_Emulation.ttcnpp
index 7e98b8b..5450706 100644
--- a/library/RAN_Emulation.ttcnpp
+++ b/library/RAN_Emulation.ttcnpp
@@ -162,6 +162,7 @@
 	inout
 #ifdef RAN_EMULATION_BSSAP
 		PDU_BSSAP,
+		BSSAP_N_UNITDATA_req,
 		/* Client requests us to create SCCP Connection */
 		BSSAP_Conn_Req,
 #endif
@@ -839,6 +840,7 @@
 		var BSSAP_N_DISCONNECT_ind disc_ind;
 		var BSSAP_Conn_Req creq;
 		var PDU_BSSAP bssap;
+		var BSSAP_N_UNITDATA_req bssap_ud;
 		var RAN_ConnHdlr vc_conn;
 		var integer targetPointCode;
 		var N_Sd_Array last_n_sd;
@@ -898,6 +900,10 @@
 			BSSAP.send(ts_BSSAP_DATA_req(conn_id, bssap));
 			}
 
+		[] CLIENT.receive(BSSAP_N_UNITDATA_req:?) -> value bssap_ud sender vc_conn {
+			BSSAP.send(bssap_ud);
+			}
+
 		/* Disconnect request client -> SCCP */
 		[] CLIENT.receive(RAN_Conn_Prim:MSC_CONN_PRIM_DISC_REQ) -> sender vc_conn {
 			var integer conn_id := f_conn_id_by_comp(vc_conn);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18762
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: I36d486db05169b0fc3f19112b5a9008248d62930
Gerrit-Change-Number: 18762
Gerrit-PatchSet: 6
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
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/20200617/fde2f312/attachment.htm>


More information about the gerrit-log mailing list