laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38275?usp=email )

Change subject: library/s1ap: add templates for INITIAL CONTEXT SETUP
......................................................................

library/s1ap: add templates for INITIAL CONTEXT SETUP

Change-Id: I249e34ce91c874d4b6628d367672b58a77da041e
---
M library/s1ap/S1AP_Templates.ttcn
1 file changed, 96 insertions(+), 4 deletions(-)

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




diff --git a/library/s1ap/S1AP_Templates.ttcn b/library/s1ap/S1AP_Templates.ttcn
index cd99ce2..e7fed9d 100644
--- a/library/s1ap/S1AP_Templates.ttcn
+++ b/library/s1ap/S1AP_Templates.ttcn
@@ -507,6 +507,80 @@
  * 9.1.4 Context Management
  
*********************************************************************************/

+template (value) UEAggregateMaximumBitrate
+ts_UEAggregateMaximumBitrate(template (value) BitRate dl := 1073741824,
+                            template (value) BitRate ul := 1073741824) := {
+       uEaggregateMaximumBitRateDL := dl,
+       uEaggregateMaximumBitRateUL := ul,
+       iE_Extensions := omit
+}
+template (present) UEAggregateMaximumBitrate
+tr_UEAggregateMaximumBitrate(template (present) BitRate dl := ?,
+                            template (present) BitRate ul := ?) := {
+       uEaggregateMaximumBitRateDL := dl,
+       uEaggregateMaximumBitRateUL := ul,
+       iE_Extensions := *
+}
+
+template (value) UESecurityCapabilities
+ts_UESecurityCapabilities(template (value) EncryptionAlgorithms eea := 
'1110000000000000'B,
+                         template (value) IntegrityProtectionAlgorithms eia := 
'1110000000000000'B) := {
+       encryptionAlgorithms := eea,
+       integrityProtectionAlgorithms := eia,
+       iE_Extensions := omit
+}
+template (present) UESecurityCapabilities
+tr_UESecurityCapabilities(template (present) EncryptionAlgorithms eea := ?,
+                         template (present) IntegrityProtectionAlgorithms eia 
:= ?) := {
+       encryptionAlgorithms := eea,
+       integrityProtectionAlgorithms := eia,
+       iE_Extensions := *
+}
+
+template (value) E_RABToBeSetupItemCtxtSUReq
+ts_E_RABToBeSetupItemCtxtSUReq(template (value) E_RAB_ID rab_id,
+                              template (value) E_RABLevelQoSParameters 
qos_params,
+                              template (value) TransportLayerAddress tla,
+                              template (value) GTP_TEID gtp_teid,
+                              template (omit) NAS_PDU nas_pdu) := {
+       e_RAB_ID := rab_id,
+       e_RABlevelQoSParameters := qos_params,
+       transportLayerAddress := tla,
+       gTP_TEID := gtp_teid,
+       nAS_PDU := nas_pdu,
+       iE_Extensions := omit
+}
+template (present) E_RABToBeSetupItemCtxtSUReq
+tr_E_RABToBeSetupItemCtxtSUReq(template (present) E_RAB_ID rab_id := ?,
+                              template (present) E_RABLevelQoSParameters 
qos_params := ?,
+                              template (present) TransportLayerAddress tla := 
?,
+                              template (present) GTP_TEID gtp_teid := ?,
+                              template NAS_PDU nas_pdu := *) := {
+       e_RAB_ID := rab_id,
+       e_RABlevelQoSParameters := qos_params,
+       transportLayerAddress := tla,
+       gTP_TEID := gtp_teid,
+       nAS_PDU := nas_pdu,
+       iE_Extensions := *
+}
+
+template (value) E_RABToBeSetupListCtxtSUReq
+ts_E_RABToBeSetupListCtxtSUReq(template (value) E_RABToBeSetupItemCtxtSUReq 
it) := {
+       {
+               id := S1AP_Constants.id_E_RABToBeSetupItemCtxtSUReq,
+               criticality := reject,
+               value_ := { E_RABToBeSetupItemCtxtSUReq := it }
+       }
+}
+template (present) E_RABToBeSetupListCtxtSUReq
+tr_E_RABToBeSetupListCtxtSUReq(template (present) E_RABToBeSetupItemCtxtSUReq 
it) := {
+       {
+               id := S1AP_Constants.id_E_RABToBeSetupItemCtxtSUReq,
+               criticality := reject,
+               value_ := { E_RABToBeSetupItemCtxtSUReq := it }
+       }
+}
+
 /* 9.1.4.1 INITIAL CONTEXT SETUP REQ */
 template (value) S1AP_PDU
 ts_S1AP_IntialCtxSetupReq(template (value) MME_UE_S1AP_ID mme_id,
@@ -597,16 +671,34 @@

 /* 9.1.4.3 INITIAL CONTEXT SETUP RESPONSE */
 template (value) E_RABSetupItemCtxtSURes
-ts_S1AP_RABSetupItemCtxtSURes(template (value) E_RAB_ID rab_id := 5,
-                             template (value) TransportLayerAddress tla := 
'00001010000101110001100000000100'B,
-                             template (value) GTP_TEID gtp_teid := 
'00000002'O) := {
+ts_S1AP_RABSetupItemCtxtSURes(template (value) E_RAB_ID rab_id,
+                             template (value) TransportLayerAddress tla,
+                             template (value) GTP_TEID gtp_teid) := {
        e_RAB_ID := rab_id,
        transportLayerAddress := tla,
        gTP_TEID := gtp_teid,
        iE_Extensions := omit
 }
+template (present) E_RABSetupItemCtxtSURes
+tr_S1AP_RABSetupItemCtxtSURes(template (present) E_RAB_ID rab_id := ?,
+                             template (present) TransportLayerAddress tla := ?,
+                             template (present) GTP_TEID gtp_teid := ?) := {
+       e_RAB_ID := rab_id,
+       transportLayerAddress := tla,
+       gTP_TEID := gtp_teid,
+       iE_Extensions := *
+}
+
 template (value) E_RABSetupListCtxtSURes
-ts_S1AP_RABSetupListCtxtSURes(template (value) E_RABSetupItemCtxtSURes it := 
ts_S1AP_RABSetupItemCtxtSURes()) := {
+ts_S1AP_RABSetupListCtxtSURes(template (value) E_RABSetupItemCtxtSURes it) := {
+       {
+               id := S1AP_Constants.id_E_RABSetupItemCtxtSURes,
+               criticality := ignore,
+               value_ := { E_RABSetupItemCtxtSURes := it }
+       }
+}
+template (present) E_RABSetupListCtxtSURes
+tr_S1AP_RABSetupListCtxtSURes(template (present) E_RABSetupItemCtxtSURes it := 
?) := {
        {
                id := S1AP_Constants.id_E_RABSetupItemCtxtSURes,
                criticality := ignore,

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38275?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I249e34ce91c874d4b6628d367672b58a77da041e
Gerrit-Change-Number: 38275
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to