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.orgHarald Welte has submitted this change and it was merged.
Change subject: gtp: Add some CAUSE enum definitions
......................................................................
gtp: Add some CAUSE enum definitions
Change-Id: Id52eb710201428ba180ca6ffd5129f3126e54850
---
M library/GTP_Templates.ttcn
1 file changed, 12 insertions(+), 0 deletions(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/library/GTP_Templates.ttcn b/library/GTP_Templates.ttcn
index 44d9682..d8a43c2 100644
--- a/library/GTP_Templates.ttcn
+++ b/library/GTP_Templates.ttcn
@@ -7,6 +7,18 @@
import from GTP_CodecPort all;
import from IPCP_Types all;
+ /* Table 38 of 3GPP TS 29.060 */
+ type enumerated GTP_Cause {
+ GTP_CAUSE_REQUEST_IMEI (1),
+ GTP_CAUSE_REQUEST_IMSI_AND_IMEI (2),
+ GTP_CAUSE_NO_IDENTITY_NEDED (3),
+ GTP_CAUSE_MS_REFUSES (4),
+ GTP_CAUSE_MS_IS_NOT_GPRS_RESPONDING (5),
+ /* reserved */
+ GTP_CAUSE_REQUEST_ACCEPTED (128)
+ /* FIXME */
+ };
+
/* generalized GTP-C receive template */
template PDU_GTPC tr_GTP1C_PDU(template OCT1 msg_type, template OCT4 teid, template GTPC_PDUs pdu := ?) := {
/* N-PDU Number flag (PN) shall be set to '0'. A GTP-C receiver shall not return an
--
To view, visit https://gerrit.osmocom.org/7016
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id52eb710201428ba180ca6ffd5129f3126e54850
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder