Change in osmo-ttcn3-hacks[master]: allow ASP_RSL_UD on MSC_ConnHdlr 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/.

neels gerrit-no-reply at lists.osmocom.org
Tue May 25 21:46:43 UTC 2021


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


Change subject: allow ASP_RSL_UD on MSC_ConnHdlr RSL
......................................................................

allow ASP_RSL_UD on MSC_ConnHdlr RSL

In BSC_Tests_VAMOS.ttcn, in f_est_and_reassign_to_secondary_lchan()
there is a missing channel release ack. By allowing ASP_RSL_UD, this rel
ack can be sent trivially.

Change-Id: Icd04184ed87c359349d86c5e0893c2ce9de2f7f1
---
M bsc/BSC_Tests_VAMOS.ttcn
M library/RSL_Emulation.ttcn
2 files changed, 4 insertions(+), 3 deletions(-)



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

diff --git a/bsc/BSC_Tests_VAMOS.ttcn b/bsc/BSC_Tests_VAMOS.ttcn
index ac95827..851516c 100644
--- a/bsc/BSC_Tests_VAMOS.ttcn
+++ b/bsc/BSC_Tests_VAMOS.ttcn
@@ -1364,10 +1364,8 @@
 		}
 	[] RSL.receive(tr_RSL_DEACT_SACCH(g_chan_nr)) {}
 	[] RSL.receive(tr_RSL_RF_CHAN_REL(g_chan_nr)) {
-		/*
 		RSL.send(ts_ASP_RSL_UD(ts_RSL_RF_CHAN_REL_ACK(g_chan_nr),
 				       IPAC_PROTO_RSL_TRX0));
-		*/
 		}
 	/* (There must be no RSL_MT_REL_REQ on the old lchan.) */
 	}
diff --git a/library/RSL_Emulation.ttcn b/library/RSL_Emulation.ttcn
index 7aefe7a..315bc89 100644
--- a/library/RSL_Emulation.ttcn
+++ b/library/RSL_Emulation.ttcn
@@ -85,7 +85,7 @@
 };
 
 type port RSL_DCHAN_PT message {
-	inout RSLDC_ChanRqd, RSL_Message;
+	inout RSLDC_ChanRqd, RSL_Message, ASP_RSL_Unitdata;
 } with { extension "internal" };
 
 type port RSL_CCHAN_PT message {
@@ -623,6 +623,9 @@
 			cid := f_cid_by_comp_ref(vc_conn);
 			IPA_PT.send(ts_ASP_RSL_UD(rx_rsl_msg, ConnectionTable[cid].stream_id));
 			}
+		[bts_role] CLIENT_PT.receive(tr_ASP_RSL_UD(?, sid := ?)) -> value rx_rsl {
+			IPA_PT.send(ts_ASP_RSL_UD(rx_rsl.rsl, rx_rsl.streamId));
+			}
 		[not bts_role] CLIENT_PT.receive(tr_RSL_MsgType(?)) -> value rx_rsl_msg sender vc_conn {
 			cid := f_cid_by_comp_ref(vc_conn);
 			conn_id := f_trx_conn_map_resolve(ConnectionTable[cid].stream_id);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24412
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: Icd04184ed87c359349d86c5e0893c2ce9de2f7f1
Gerrit-Change-Number: 24412
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/20210525/631a7580/attachment.htm>


More information about the gerrit-log mailing list