Change in osmo-ttcn3-hacks[master]: SGsAP: Switch over to osmocom branch/repo to avoid bugs in official one

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Oct 28 09:52:34 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/11486 )

Change subject: SGsAP: Switch over to osmocom branch/repo to avoid bugs in official one
......................................................................

SGsAP: Switch over to osmocom branch/repo to avoid bugs in official one

The VLR and MME name are octetstring with dns-style labels and not
character strings.

Change-Id: I31a8ea04ef508beba9014aac5479693c47b7b956
---
M deps/Makefile
M library/SGsAP_Templates.ttcn
2 files changed, 20 insertions(+), 20 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/deps/Makefile b/deps/Makefile
index a1ac595..7cf9300 100644
--- a/deps/Makefile
+++ b/deps/Makefile
@@ -40,11 +40,11 @@
 			titan.ProtocolModules.LLC_v7.1.0 \
 			titan.ProtocolModules.MobileL3_v13.4.0 \
 			titan.ProtocolModules.NS_v7.3.0 \
-			titan.ProtocolModules.SGsAP_13.2.0 \
 			titan.ProtocolModules.SNDCP_v7.0.0 \
 			titan.ProtocolEmulations.SCCP
 
 OSMOGITHUB_REPOS=	titan.TestPorts.SCTPasp \
+			titan.ProtocolModules.SGsAP_13.2.0 \
 			titan.TestPorts.MTP3asp \
 			titan.ProtocolEmulations.M3UA
 
@@ -78,7 +78,7 @@
 titan.ProtocolModules.RTP_commit=		R.5.A
 titan.ProtocolModules.ROSE_commit=		R.1.C
 titan.ProtocolModules.SCTP_commit=		R.2.A
-titan.ProtocolModules.SGsAP_13.2.0_commit=	R.1.B
+titan.ProtocolModules.SGsAP_13.2.0_commit=	520dc48dd41ee15c9fd77e71d2ea7a05c58770b9
 titan.ProtocolModules.SDP_commit=		R.14.A
 titan.ProtocolModules.SMPP_commit=		R.2.A-2-gb7aee69
 titan.ProtocolModules.SNDCP_v7.0.0_commit=	R.2.A
diff --git a/library/SGsAP_Templates.ttcn b/library/SGsAP_Templates.ttcn
index aac045e..9526080 100644
--- a/library/SGsAP_Templates.ttcn
+++ b/library/SGsAP_Templates.ttcn
@@ -174,12 +174,12 @@
 
 
 /* 9.4.13 */
-template (value) MME_Name ts_SGsAP_IE_MmeName(template (value) charstring name) := {
+template (value) MME_Name ts_SGsAP_IE_MmeName(template (value) octetstring name) := {
 	iEI := '00001001'B,
 	lengthIndicator := lengthof(valueof(name)),
 	name := name
 };
-template MME_Name tr_SGsAP_IE_MmeName(template charstring name) := {
+template MME_Name tr_SGsAP_IE_MmeName(template octetstring name) := {
 	iEI := '00001001'B,
 	lengthIndicator := ?,
 	name := name
@@ -303,12 +303,12 @@
 
 
 /* 9.4.22 */
-template (value) VLR_Name ts_SGsAP_IE_VlrName(template (value) charstring name) := {
+template (value) VLR_Name ts_SGsAP_IE_VlrName(template (value) octetstring name) := {
 	iEI := '00000010'B,
 	lengthIndicator := lengthof(name),
 	name := name
 }
-template VLR_Name tr_SGsAP_IE_VlrName(template charstring name) := {
+template VLR_Name tr_SGsAP_IE_VlrName(template octetstring name) := {
 	iEI := '00000010'B,
 	lengthIndicator := ?,
 	name := name
@@ -397,7 +397,7 @@
 
 /* 8.6 */
 template (value) PDU_SGsAP ts_SGsAP_EPS_DETACH_IND(hexstring imsi,
-						   template (value) charstring mme_name,
+						   template (value) octetstring mme_name,
 						   template (value) IMSI_detachFromEPS_serviceType det_serv_typ) := {
 	sGsAP_EPS_DETACH_INDICATION:= {
 		messageType := '00010001'B,
@@ -407,7 +407,7 @@
 	}
 }
 template PDU_SGsAP tr_SGsAP_EPS_DETACH_IND(template hexstring imsi,
-					   template charstring mme_name,
+					   template octetstring mme_name,
 					   template IMSI_detachFromEPS_serviceType det_serv_typ) := {
 	sGsAP_EPS_DETACH_INDICATION:= {
 		messageType := '00010001'B,
@@ -433,7 +433,7 @@
 
 /* 8.8 */
 template (value) PDU_SGsAP ts_SGsAP_IMSI_DETACH_IND(hexstring imsi,
-						    template (value) charstring mme_name,
+						    template (value) octetstring mme_name,
 						    template (value) IMSI_detachFromNonEPS_serviceType det_serv_typ) := {
 	sGsAP_IMSI_DETACH_INDICATION := {
 		messageType := '00010011'B,
@@ -443,7 +443,7 @@
 	}
 }
 template PDU_SGsAP tr_SGsAP_IMSI_DETACH_IND(template hexstring imsi,
-					    template charstring mme_name := ?,
+					    template octetstring mme_name := ?,
 					    template IMSI_detachFromNonEPS_serviceType det_serv_typ := ?) := {
 	sGsAP_IMSI_DETACH_INDICATION := {
 		messageType := '00010011'B,
@@ -498,7 +498,7 @@
 
 /* 8.11 */
 template (value) PDU_SGsAP ts_SGsAP_LU_REQ(hexstring imsi,
-					   template (value) charstring mme_name,
+					   template (value) octetstring mme_name,
 					   template (value) EPS_location_update_type eps_lu_type,
 					   template (value) LocationAreaIdValue new_lai) := {
 	sGsAP_LOCATION_UPDATE_REQUEST := {
@@ -517,7 +517,7 @@
 	}
 }
 template PDU_SGsAP tr_SGsAP_LU_REQ(template hexstring imsi,
-				   template charstring mme_name := ?,
+				   template octetstring mme_name := ?,
 				   template EPS_location_update_type eps_lu_type := ?,
 				   template LocationAreaIdValue new_lai := ?) := {
 	sGsAP_LOCATION_UPDATE_REQUEST := {
@@ -574,7 +574,7 @@
 
 /* 8.14 */
 template (value) PDU_SGsAP ts_SGsAP_PAGING_REQ(hexstring imsi,
-						template (value) charstring vlr_name,
+						template (value) octetstring vlr_name,
 						template (value) Service_Indicator serv_ind,
 						template (omit) OCT4 tmsi) :=
 {
@@ -596,7 +596,7 @@
 	}
 }
 template PDU_SGsAP tr_SGsAP_PAGING_REQ(template hexstring imsi,
-					template charstring vlr_name,
+					template octetstring vlr_name,
 					template Service_Indicator serv_ind,
 					template OCT4 tmsi) :=
 {
@@ -619,21 +619,21 @@
 }
 
 /* 8.15 */
-template (value) PDU_SGsAP ts_SGsAP_RESET_ACK_MME(template (value) charstring mme_name) := {
+template (value) PDU_SGsAP ts_SGsAP_RESET_ACK_MME(template (value) octetstring mme_name) := {
 	sGsAP_RESET_ACK := {
 		messageType := '00010110'B,
 		mME_Name := ts_SGsAP_IE_MmeName(mme_name),
 		vLR_Name := omit
 	}
 }
-template (value) PDU_SGsAP ts_SGsAP_RESET_ACK_VLR(template (value) charstring vlr_name) := {
+template (value) PDU_SGsAP ts_SGsAP_RESET_ACK_VLR(template (value) octetstring vlr_name) := {
 	sGsAP_RESET_ACK := {
 		messageType := '00010110'B,
 		mME_Name := omit,
 		vLR_Name := ts_SGsAP_IE_VlrName(vlr_name)
 	}
 }
-template PDU_SGsAP tr_SGsAP_RESET_ACK(template charstring mme_name, template charstring vlr_name) := {
+template PDU_SGsAP tr_SGsAP_RESET_ACK(template octetstring mme_name, template octetstring vlr_name) := {
 	sGsAP_RESET_ACK := {
 		messageType := '00010110'B,
 		mME_Name := tr_SGsAP_IE_MmeName(mme_name),
@@ -642,21 +642,21 @@
 }
 
 /* 8.16 */
-template (value) PDU_SGsAP ts_SGsAP_RESET_IND_MME(template (value) charstring mme_name) := {
+template (value) PDU_SGsAP ts_SGsAP_RESET_IND_MME(template (value) octetstring mme_name) := {
 	sGsAP_RESET_INDICATION := {
 		messageType := '00010101'B,
 		mME_Name := ts_SGsAP_IE_MmeName(mme_name),
 		vLR_Name := omit
 	}
 }
-template (value) PDU_SGsAP ts_SGsAP_RESET_IND_VLR(template (value) charstring vlr_name) := {
+template (value) PDU_SGsAP ts_SGsAP_RESET_IND_VLR(template (value) octetstring vlr_name) := {
 	sGsAP_RESET_INDICATION := {
 		messageType := '00010101'B,
 		mME_Name := omit,
 		vLR_Name := ts_SGsAP_IE_VlrName(vlr_name)
 	}
 }
-template PDU_SGsAP tr_SGsAP_RESET_IND(template charstring mme_name, template charstring vlr_name) := {
+template PDU_SGsAP tr_SGsAP_RESET_IND(template octetstring mme_name, template octetstring vlr_name) := {
 	sGsAP_RESET_INDICATION := {
 		messageType := '00010101'B,
 		mME_Name := tr_SGsAP_IE_MmeName(mme_name),

-- 
To view, visit https://gerrit.osmocom.org/11486
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I31a8ea04ef508beba9014aac5479693c47b7b956
Gerrit-Change-Number: 11486
Gerrit-PatchSet: 3
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181028/bd987245/attachment.htm>


More information about the gerrit-log mailing list