Change in ...osmo-ttcn3-hacks[master]: RSL_Types: Fix definition of RLL ERROR INDICATION

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Jun 2 20:36:52 UTC 2019


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14345


Change subject: RSL_Types: Fix definition of RLL ERROR INDICATION
......................................................................

RSL_Types: Fix definition of RLL ERROR INDICATION

This message uses the "RLM Cause IE" and not the "Cause IE"

Change-Id: If3b92ab475817922c05c9af691d9f79da33804ac
---
M library/RSL_Types.ttcn
1 file changed, 5 insertions(+), 4 deletions(-)



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

diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index 588dc4b..456d6d2 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -987,23 +987,24 @@
 
 	/* 8.3.3 BTS -> BSC */
 	template (value) RSL_Message ts_RSL_ERROR_IND(template (value) RslChannelNr chan_nr,
-						      template (value) RslLinkId link_id, RSL_Cause cause) := {
+						      template (value) RslLinkId link_id,
+						      template (value) octetstring rlm_cause) := {
 		msg_disc := ts_RSL_MsgDisc(RSL_MDISC_RLL, false),
 		msg_type := RSL_MT_ERROR_IND,
 		ies :={
 			t_RSL_IE(RSL_IE_CHAN_NR, RSL_IE_Body:{chan_nr := chan_nr}),
 			t_RSL_IE(RSL_IE_LINK_IDENT, RSL_IE_Body:{link_id := link_id}),
-			t_RSL_IE(RSL_IE_CAUSE, RSL_IE_Body:{cause := ts_RSL_IE_Cause(cause)})
+			t_RSL_IE(RSL_IE_CAUSE, RSL_IE_Body:{rlm_cause := ts_RSL_LV(rlm_cause)})
 		}
 	}
 	template RSL_Message tr_RSL_ERROR_IND(template RslChannelNr chan_nr, template RslLinkId link_id,
-						template RSL_Cause cause := ?) := {
+					      template octetstring rlm_cause := ?) := {
 		msg_disc := tr_RSL_MsgDisc(RSL_MDISC_RLL, false),
 		msg_type := RSL_MT_ERROR_IND,
 		ies :={
 			tr_RSL_IE(RSL_IE_Body:{chan_nr := chan_nr}),
 			tr_RSL_IE(RSL_IE_Body:{link_id := link_id}),
-			tr_RSL_IE(RSL_IE_Body:{cause := tr_RSL_IE_Cause(cause)})
+			tr_RSL_IE(RSL_IE_Body:{rlm_cause := tr_RSL_LV(rlm_cause)})
 		}
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14345
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: If3b92ab475817922c05c9af691d9f79da33804ac
Gerrit-Change-Number: 14345
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190602/18f600e2/attachment.html>


More information about the gerrit-log mailing list