mme: Implement missing UE attach steps
Related: OS#6294
Change-Id: Ib4a69aef40bf9dd17d640f650e459668f8415aaa
diff --git a/library/s1ap/S1AP_Templates.ttcn b/library/s1ap/S1AP_Templates.ttcn
index 9e75cec..26e1ae1 100644
--- a/library/s1ap/S1AP_Templates.ttcn
+++ b/library/s1ap/S1AP_Templates.ttcn
@@ -22,7 +22,7 @@
*********************************************************************************/
/*********************************************************************************
- * 9.1.8 Management Messages
+ * 9.1.8 Management Messages
*********************************************************************************/
/* 9.1.8.4 S1 SETUP REQUEST */
@@ -578,11 +578,30 @@
}
/* 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) := {
+ e_RAB_ID := rab_id,
+ transportLayerAddress := tla,
+ gTP_TEID := gtp_teid,
+ iE_Extensions := omit
+}
+template (value) E_RABSetupListCtxtSURes
+ts_S1AP_RABSetupListCtxtSURes(template (value) E_RABSetupItemCtxtSURes it := ts_S1AP_RABSetupItemCtxtSURes()) := {
+ {
+ id := S1AP_Constants.id_E_RABSetupItemCtxtSURes,
+ criticality := ignore,
+ value_ := { E_RABSetupItemCtxtSURes := it }
+ }
+}
+
template (value) S1AP_PDU
ts_S1AP_InitialCtxSetupResp(template (value) MME_UE_S1AP_ID mme_id,
template (value) ENB_UE_S1AP_ID enb_id,
- template (value) E_RABSetupListCtxtSURes rab_setup_items,
- template (value) E_RABList rab_items) := {
+ template (value) E_RABSetupListCtxtSURes rab_setup_items
+ /*OPTIONAL: template (value) E_RABList rab_items */
+ ) := {
successfulOutcome := {
procedureCode := id_InitialContextSetup,
criticality := reject,
@@ -598,14 +617,15 @@
criticality := reject,
value_ := {ENB_UE_S1AP_ID := enb_id}
}, {
- id := S1AP_Constants.id_E_RABSetupListBearerSURes,
+ id := S1AP_Constants.id_E_RABSetupListCtxtSURes,
criticality := ignore,
value_ := {E_RABSetupListCtxtSURes := rab_setup_items}
- }, {
+ }
+ /*, {
id := S1AP_Constants.id_E_RABFailedToSetupListBearerSURes,
criticality := ignore,
value_ := {E_RABList := rab_items}
- }
+ }*/
}
}
}