Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
/**
* @author STF 519
* @version $Id: $
* @desc This module provides Lib S1AP Templates used by the test component for S1AP tests.
*/
module LibS1AP_Templates
{
import from S1AP_Constants language "ASN.1:1997" all;
import from S1AP_CommonDataTypes language "ASN.1:1997" all;
// import from S1AP_Containers language "ASN.1:1997" all;
import from S1AP_IEs language "ASN.1:1997" all;
import from S1AP_PDU_Contents language "ASN.1:1997" all;
import from S1AP_PDU_Descriptions language "ASN.1:1997" all;
import from LibS1AP_Types all;
group g_S1AP{
group g_S1AP_PDU{
template S1AP_PDU m_initiatingMessage (ProcedureCode p_procedureCode, anytype p_value):= {
initiatingMessage := {
procedureCode := p_procedureCode,
criticality := reject,
value_ := p_value
}
}
}//end group g_S1AP_PDU
group Class1{
group Send{
group HandoverPreparation{
group initiatingMessage{
}//End group initiatingMessage
group successfulOutcome{
}//End group successfulOutcome
group unsuccessfulOutcome{
}//End group unsuccessfulOutcome
}//End group HandoverPreparation
group HandoverResourceAllocation{
}//End group HandoverResourceAllocation
group ERABSetup{
//template S1AP_PDU m_initiatingMessage_E_RABSetup(template RecordOf_ProtocolIE p_value) := {
template InitiatingMessage m_initiatingMessage_E_RABSetup(template RecordOf_ProtocolIE p_value) := {
//initiatingMessage := {
procedureCode := id_E_RABSetup,
criticality := reject,
value_ := {RecordOf_ProtocolIE := valueof(p_value)}
//}
}
}//End group ERABSetup
//TODO: Other....
}
group Receive{
group HandoverPreparation{
}//End group HandoverPreparation
group HandoverResourceAllocation{
}//End group HandoverResourceAllocation
group ERABSetup{
//template S1AP_PDU mw_successfulOutcome_E_RABSetupResponse(template (present) ProcedureCode p_procedureCode := ?,
// template (present) RecordOf_ProtocolIE p_value)
// := {
template SuccessfulOutcome mw_successfulOutcome_E_RABSetupResponse(template (present) ProcedureCode p_procedureCode := ?,
template (present) RecordOf_ProtocolIE p_value)
:= {
//successfulOutcome := {
procedureCode := p_procedureCode,
criticality := reject,
value_ := {RecordOf_ProtocolIE := p_value}
//}
}
}//End group ERABSetup
//TODO: Other....
}
}//End of group Class1
group Class2{
}//End of group Class2
}// End of group g_S1AP
group S1AP_Protocol_IEs{
group Send_IEs{
group E_RAB_IEsend {
template(value) ProtocolIE m_E_RAB_IE_MME (template(value)MME_UE_S1AP_ID p_value:= 1):= {
id := S1AP_Constants.id_MME_UE_S1AP_ID,
criticality := reject,
value_ := { MME_UE_S1AP_ID := valueof(p_value) }
}
template(value) ProtocolIE m_E_RAB_IE_ENB (ENB_UE_S1AP_ID p_value:= 1):= {
id := S1AP_Constants.id_eNB_UE_S1AP_ID,
criticality := reject,
value_ := { ENB_UE_S1AP_ID := p_value }
}
template(value) ProtocolIE m_E_RAB_IE_ERAB (template(value)RecordOf_E_RABToBeSetupItemBearerSUReq p_value := {m_E_RABToBeSetupItemBearerSUReq}):= {
id := S1AP_Constants.id_E_RABToBeSetupListBearerSUReq,
criticality := reject,
value_ := { RecordOf_E_RABToBeSetupItemBearerSUReq := valueof(p_value) }
}
}//end group E_RAB_IEsend
} // end group Send_IEs
group Receive_IEs{
template ProtocolIE mw_E_RAB_IE_MME(template(present) MME_UE_S1AP_ID p_parm
:= ?) := {
id := S1AP_Constants.id_MME_UE_S1AP_ID,
criticality := ignore,
value_ := {MME_UE_S1AP_ID := p_parm}
}
template ProtocolIE mw_E_RAB_IE_ENB(template(present) ENB_UE_S1AP_ID p_parm
:= ?) := {
id := S1AP_Constants.id_eNB_UE_S1AP_ID,
criticality := ignore,
value_ := {ENB_UE_S1AP_ID := p_parm}
}
template ProtocolIE mw_E_RAB_IE_ERAB
(template(present) RecordOf_E_RABSetupItemBearerSURes p_value := {mw_E_RABSetupItemBearerSURes}):= {
id := S1AP_Constants.id_E_RABSetupListBearerSURes,
criticality := ignore,
value_ := { RecordOf_E_RABSetupItemBearerSURes := p_value }
}
template ProtocolIE mw_E_RAB_IE_fSUL
(template(present) RecordOf_E_RABItem p_value := {?}):= {
id := S1AP_Constants.id_E_RABFailedToSetupListBearerSURes,
criticality := ignore,
value_ := { RecordOf_E_RABItem := p_value }
}
} // end group Receive_IEs
group g_IEParameters {
template(value)
E_RABToBeSetupItemBearerSUReq m_E_RABToBeSetupItemBearerSUReq
(E_RAB_ID p_e_RAB_ID := 0,
template(value) E_RABLevelQoSParameters p_e_RABlevelQoSParameters:=m_e_RABlevelQoSParameters) := {
e_RAB_ID := p_e_RAB_ID,
e_RABlevelQoSParameters := valueof(p_e_RABlevelQoSParameters),
transportLayerAddress := '0'B,
gTP_TEID := '00000000'O,
nAS_PDU := '0000'O,
iE_Extensions := omit
}
template(value) E_RABLevelQoSParameters m_e_RABlevelQoSParameters (QCI p_qCI := 0):= {
qCI := p_qCI,
allocationRetentionPriority := {
priorityLevel := 0,
pre_emptionCapability := shall_not_trigger_pre_emption,
pre_emptionVulnerability := pre_emptable,
iE_Extensions := omit
},
gbrQosInformation := omit,
iE_Extensions := omit
}
template(present) E_RABSetupItemBearerSURes mw_E_RABSetupItemBearerSURes (template(present) E_RAB_ID p_e_RAB_ID := ?):= {
e_RAB_ID := p_e_RAB_ID,
transportLayerAddress := '?'B,
gTP_TEID := ?,
iE_Extensions := *
}
template(present) E_RABItem mw_E_RABItem(template(present) E_RAB_ID
p_e_RAB_ID := ?,
template(present) Cause p_cause :=
?) := {
e_RAB_ID := p_e_RAB_ID,cause := p_cause,iE_Extensions := *
}
} // end of group g_IEParameters
}// End of group S1AP_Protocol_IEs
/**
* @desc Type functions
*/
group functionsForTemplates {
} // End of group functionsForTemplates
} // end module LibS1AP_Templates