Newer
Older
* @param p_value Send template with IE for E-RAB_SetupRequest
*/
function f_send_E_RABSetupRequest(in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_E_RABSetupRequest(p_value))
} // End of function f_send_E_RABSetupRequest
/**
* @desc Send S1AP Message E-RAB_SetupResponse
* @param p_value Send template with IE for E-RAB_SetupResponse
*/
function f_send_E_RABSetupResponse(in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_E_RABSetupResponse(p_value))
} // End of function f_send_E_RABSetupResponse
/**
* @desc Send S1AP Message E-RAB_ReleaseRequest
* @param p_value Send template with IE for E-RAB_ReleaseRequest
*/
function f_send_E_RABReleaseRequest(in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_E_RABReleaseRequest(p_value))
} // End of function f_send_E_RABReleaseRequest
/**
* @desc Send S1AP Message E-RAB_ModifiedRequest
* @param p_value Send template with IE for E-RAB_ModifiedRequest
*/
function f_send_E_RABModifiedRequest(in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_E_RABModifiedRequest(p_value))
} // End of function f_send_E_RABModifiedRequest
/**
* @desc Send S1AP Message E-RAB_ModifiedInd
* @param p_value Send template with IE for E-RAB_ModifiedInd
*/
function f_send_E_RABModifiedInd(in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_E_RABModifiedInd(p_value))
} // End of function f_send_E_RABModifiedInd
/**
* @desc Send S1AP Message InitialContext_SetupRequest
* @param p_value Send template with IE for InitialContext_SetupRequest
*/
function f_send_InitialContext_SetupRequest(
in template (value) RecordOf_ProtocolIE p_value,
in template (value) Criticality p_criticality := reject
f_send_S1AP_initiatingMessage(
m_InitialContextSetupRequest(
p_value,
p_criticality
))
} // End of function f_send_InitialContext_SetupRequest
/**
* @desc Send S1AP Message f_send_HandoverRequired
* @param p_value Send template with IE for HandoverRequest
*/
function f_send_HandoverRequired(in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_HandoverRequired(p_value))
} // End of function f_send_HandoverRequest
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
/**
* @desc Send S1AP Message f_send_HandoverRequest
* @param p_value Send template with IE for HandoverRequest
*/
function f_send_HandoverRequest(in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_HandoverRequest(p_value))
} // End of function f_send_HandoverRequest
/**
* @desc Send S1AP Message Handover Cancel Acknowledge
* @param p_value Send template with IE for Handover Cancel Acknowledge
*/
function f_send_HandoverCancelAcknowledge(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_successfulOutcome(m_HandoverCancelAck(p_value))
} // End of function f_send_HandoverCancelAcknowledge
/**
* @desc Send S1AP Message Handover Command
* @param p_value Send template with IE for Handover Command
*/
function f_send_HandoverCommand(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_successfulOutcome(m_HandoverCommand(p_value))
} // End of function f_send_HandoverCommand
/**
* @desc Send S1AP Message Path Switch Request Acknowledge
* @param p_value Send template with IE for Path Switch Request Acknowledge
*/
function f_send_PathSwitchRequestAcknowledge(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_successfulOutcome(m_PathSwitchRequestAck(p_value))
} // End of function f_send_PathSwitchRequestAcknowledge
* @desc Send S1AP Message S1 SETUP RESPONSE
* @param p_value Send template with IE for S1 SETUP RESPONSE
*/
function f_send_S1_Setup_Response(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_successfulOutcome(m_s1_Setup_Response(p_value))
} // End of function f_send_S1_Setup_Response
/**
* @desc Send S1AP Message ENB CONFIGURATION UPDATE ACKNOWLEDGE
* @param p_value Send template with IE for ENB CONFIGURATION UPDATE ACKNOWLEDGE
*/
function f_send_eNB_Configuration_Update_Acknowledge(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_successfulOutcome(m_eNB_Configuration_Update_Acknowledge(p_value))
} // End of function f_send_eNB_Configuration_Update_Acknowledge
* @param p_value Send template with IE for RESET
*/
function f_send_Reset(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_reset(p_value))
} // End of function f_send_Reset
/**
* @desc Send S1AP Message S1 SETUP REQUEST
* @param p_value Send template with IE for S1 SETUP REQUEST
*/
function f_send_S1_Setup_Request(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_s1_Setup_Request(p_value))
} // End of function f_send_S1_Setup_Request
/**
* @desc Send S1AP Message ENB CONFIGURATION UPDATE
* @param p_value Send template with IE for ENB CONFIGURATION UPDATE
*/
function f_send_eNB_Configuration_Update(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_eNB_Configuration_Update(p_value))
} // End of function f_send_eNB_Configuration_Update
/**
* @desc Send S1AP Message MME CONFIGURATION UPDATE
* @param p_value Send template with IE for MME CONFIGURATION UPDATE
*/
function f_send_MME_Configuration_Update(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_mME_Configuration_Update(p_value))
} // End of function f_send_MME_Configuration_Update
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
/**
* @desc Send S1AP Message TRACE START
* @param p_value Send template with IE for TRACE START
*/
function f_send_Trace_Start(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_trace_Start(p_value))
} // End of function f_send_Trace_Start
/**
* @desc Send S1AP Message DEACTIVATE TRACE
* @param p_value Send template with IE for DEACTIVATE TRACE
*/
function f_send_deactivate_Trace(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_deactivate_Trace(p_value))
} // End of function f_send_deactivate_Trace
/**
* @desc Send S1AP Message LOCATION REPORTING CONTROL
* @param p_value Send template with IE for LOCATION REPORTING CONTROL
*/
function f_send_Location_Reporting_Control(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_location_Reporting_Control(p_value))
} // End of function f_send_Location_Reporting_Control
/**
* @desc Send S1AP Message LOCATION REPORT FAILURE INDICATION
* @param p_value Receive template for LOCATION REPORT FAILURE INDICATION IEs
*/
function f_send_Location_Report_Failure_Indication(
template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_location_Report_Failure_Indication(p_value))
} // End of f_send_Location_Report_Failure_Indication
/**
* @desc Send S1AP Message WRITE-REPLACE WARNING REQUEST
* @param p_value Send template with IE for WRITE-REPLACE WARNING REQUEST
*/
function f_send_Write_Replace_Warning_Request(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_write_Replace_Warning_Request(p_value))
} // End of function f_send_Write_Replace_Warning_Request
/**
* @desc Send S1AP Message WRITE-REPLACE WARNING RESPONSE
* @param p_value Send template with IE for WRITE-REPLACE WARNING RESPONSE
*/
function f_send_Write_Replace_Warning_Response(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_write_Replace_Warning_Response(p_value))
} // End of function f_send_Write_Replace_Warning_Response
/**
* @desc Send S1AP Message KILL REQUEST
* @param p_value Send template with IE for KILL REQUEST
*/
function f_send_Kill_Request(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_kill_Request(p_value))
} // End of function f_send_Kill_Request
/**
* @desc Send S1AP Message KILL REQUEST
* @param p_value Send template with IE for KILL REQUEST
*/
function f_send_Kill_Response(
in template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_kill_Response(p_value))
} // End of function f_send_Kill_Response
/**
* @desc Send S1AP Message UE Context Release Command
* @param p_value Send template for UE CONTEXT RELEASE REQUEST
* @see ETSI TS 136 413 V13.4.0 Clause 9.1.4.6 UE CONTEXT RELEASE COMMAND
*/
function f_send_UE_Context_Release_Command(
template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_UeContextReleaseCommand(p_value))
} // End of f_send_UE_Context_Release_Command
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
/**
* @desc Send S1AP Message UE Context Release Complete
* @param p_value Send template for UE CONTEXT RELEASE COMPLETE
* @see ETSI TS 136 413 V13.4.0 Clause 9.1.4.7 UE CONTEXT RELEASE COMPLETE
*/
function f_send_UE_Context_Release_Complete(
template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_UeContextReleaseComplete(p_value))
} // End of f_send_UE_Context_Release_Command
/**
* @desc Send S1AP Message UE Context Release Request
* @param p_value Receive template for UE CONTEXT RELEASE REQUEST
* @see ETSI TS 136 413 V13.4.0 Clause 9.1.4.5 UE CONTEXT RELEASE REQUEST
*/
function f_send_UE_Context_Release_Request(
template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_UeContextReleaseRequest(p_value))
} // End of f_send_UE_Context_Release_Request
/**
* @desc Send S1AP Message UE Context Suspend Request
* @param p_value Receive template for UE CONTEXT SUSPEND REQUEST
* @see ETSI TS 136 413 V13.4.0 Clause 9.1.4.15 UE CONTEXT SUSPEND REQUEST
*/
function f_send_UE_Context_Suspend_Request(
template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_UeContextSuspendRequest(p_value))
} // End of f_send_UE_Context_Suspend_Request
/**
* @desc Send S1AP Message UE Context Modification Request
* @param p_value Send template for UE CONTEXT MODIFICATION REQUEST
* @see ETSI TS 136 413 V13.4.0 Clause 9.1.4.8 UE CONTEXT MODIFICATION COMMAND
*/
function f_send_UE_Context_Modification_Request(
template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_UeContextModificationRequest(p_value))
} // End of f_send_UE_Context_Modification_Request
/**
* @desc Send S1AP Message UE Context Modification Indication
* @param p_value Send template for UE CONTEXT MODIFICATION INDICATION
* @see ETSI TS 136 413 V13.4.0 Clause 9.1.4.13 UE CONTEXT MODIFICATION INDICATION
*/
function f_send_UE_Context_Modification_Indication(
template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_UeContextModificationIndication(p_value))
} // End of f_send_UE_Context_Modification_Request
/**
* @desc Send S1AP Message UE Context Resume Request
* @param p_value Send template for UE CONTEXT RESUME REQUEST
* @see ETSI TS 136 413 V13.4.0 Clause 9.1.4.17 UE CONTEXT RESUME REQUEST
*/
function f_send_Ue_Context_Resume_Request(
in template (value) RecordOf_ProtocolIE p_value,
in template (value) Criticality p_criticality := reject
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(
m_UeContextResumeRequest(
p_value,
p_criticality
)
)
} // End of f_send_UE_Context_Modification_Request
/**
* @desc Send S1AP Message UE Radio Capability Match Request
* @param p_value Send template for UE_RADIO_CAPABILITY_MATCH_REQUEST
* @see ETSI TS 136 413 V13.4.0 Clause 9.1.4.11 UE CONTEXT MODIFICATION COMMAND
*/
function f_send_UE_Radio_Capability_Match_Request(
template (value) RecordOf_ProtocolIE p_value
) runs on S1APComponent {
f_send_S1AP_initiatingMessage(m_UeRadioCapabilityMatchRequest(p_value))
} // End of f_send_UE_Radio_Capability_Match_Request
/**
* @desc Setup full procedure functions
* @see ETSI TS 136 413 V13.4.0 Clause 8.1 List of S1AP Elementary procedures
*/
group fullProcedures {
/**
* @desc Setup a full E-RAB Setup procedure
*/
function f_rABSetupRequest() runs on S1APComponent {
f_send_E_RABSetupRequest(m_E_RABSetupReqIEs(
vc_MME_UE_ID,
{
m_E_RABToBeSetupItemBearerSUReq(1),
m_E_RABToBeSetupItemBearerSUReq(
2,
m_e_RABlevelQoSParameters
(255)
)
}
));
f_recv_E_RABSetupResponse(mw_E_RABSetupResIEs_FailedToSetupList(
vc_MME_UE_ID,
{
mw_E_RABSetupItemBearerSURes(1)
},
{
mw_E_RABItem(
2,
{
radioNetwork :=not_supported_QCI_value
}
)
}
));
} // End of function f_rABSetupRequest
/**
* @desc Setup a full E-RAB Release procedure
*/
function f_rABSetupRelease() runs on S1APComponent {
// Local variables
const E_RAB_ID c_E_RAB_ID_A := 0;
f_send_E_RABReleaseRequest(m_E_RABReleaseReqIEs(
vc_MME_UE_ID,
vc_eNB_UE_ID,
{
m_E_RABItem(
c_E_RAB_ID_A,
)
}
));
f_recv_E_RABReleaseResponse(mw_E_RABReleaseResIEs(
vc_MME_UE_ID,
vc_eNB_UE_ID,
{
mw_E_RABItem(
c_E_RAB_ID_A
)
}
));
} // End of function f_rABSetupRelease
/**
* @desc Initiate an Handover procedure
*/
function f_initiate_handover() runs on S1APComponent {
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
// Local variables
const Source_ToTarget_TransparentContainer c_source_ToTarget_TransparentContainer := '12121212'O;
f_send_HandoverRequest(
m_HandoverReqIEs(
vc_MME_UE_ID,
intralte, // Handover Type
m_cause_ran(
successful_handover
), // Cause
m_UEAggregateMaximumBitrate(1,1), // UE Aggregate_Max_Bit_Rate
{
m_E_RABToBeSetupItemHOReq (
-,
-,
-,
m_e_RABlevelQoSParameters (5)
)
}, // E_RabsToBeSetupList
c_source_ToTarget_TransparentContainer, // SourceToTargetTransparentContainer
m_UESecurityCapabilities(
'0101010101010101'B,
'0101010101010101'B
), // UeSecurityCapabilities
m_securityContext // SecurityContext
));
} // End of function f_initiate_handover
/**
* @desc Initiate a Trace Start procedure
*/
function f_initiate_traceStart() runs on S1APComponent {
f_send_Trace_Start(
m_trace_StartIEs(
m_traceActivation(
PX_EUTRAN_TRACE_ID,
PX_INTERFACES_TO_TRACE,
PX_TRACE_DEPTH,
PX_TRANSPORT_LAYER_ADDRESS
)));
} // End of function f_initiate_traceStart
/**
* @desc Initiate a Deactivate Trace procedure
*/
function f_initiate_deactivateTrace() runs on S1APComponent {
f_send_deactivate_Trace(
m_deactivate_TraceIEs(
vc_MME_UE_ID,
vc_eNB_UE_ID,
PX_EUTRAN_TRACE_ID
));
} // End of function f_initiate_deactivateTrace
/**
* @desc Initiate a an Write-Replace Warning Request procedure
*/
function f_writeReplaceWarningExchanges() runs on S1APComponent {
if (fx_MME_Write_Replace_Warning_procedure() == true) {
f_recv_Write_Replace_Warning_Request(
mw_write_Replace_Warning_RequestIEs(
PX_MESSAGE_IDENTIFIER,
PX_SERIAL_NUMBER,
PX_REPETITION_PERIOD,
PX_NUMBER_OF_BROADCASTS_REQUESTED
));
f_send_Write_Replace_Warning_Response(
m_write_Replace_Warning_ResponseIEs(
PX_MESSAGE_IDENTIFIER,
PX_SERIAL_NUMBER
));
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
}
} // End of group fullProcedures
group externalFunctions {
/**
* @desc Trigger a Handover preparation procedure
* @return true on success, false otherwise
*/
external function fx_eNB_Handover_preparation_procedure() return boolean;
/**
* @desc Trigger a Handover notification procedure
* @return true on success, false otherwise
*/
external function fx_eNB_Handover_notification_procedure() return boolean;
/**
* @desc Trigger a Path switch request procedure
* @return true on success, false otherwise
*/
external function fx_eNB_Path_switch_request_procedure() return boolean;
/**
* @desc Trigger an INITIAL UE MESSAGE procedure
* @return true on success, false otherwise
*/
external function fx_eNB_Initiate_NAS_transport_procedure() return boolean;
/**
* @desc Trigger an INITIAL UE MESSAGE procedure
* @return true on success, false otherwise
*/
external function fx_eNB_NAS_transport_procedure() return boolean;
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
/**
* @desc Trigger an S1 SETUP procedure
* @return true on success, false otherwise
*/
external function fx_eNB_S1_Setup_Request_procedure() return boolean;
/**
* @desc Trigger an eNB Configuration Update procedure
* @return true on success, false otherwise
*/
external function fx_eNB_Configuration_Update_procedure() return boolean;
/**
* @desc Trigger an an Overload Start procedure
* @return true on success, false otherwise
*/
external function fx_eNB_Overload_Start_procedure() return boolean;
/**
* @desc Trigger an an Overload Stop procedure
* @return true on success, false otherwise
*/
external function fx_eNB_Overload_Stop_procedure() return boolean;
/**
* @desc Trigger an Error Indication procedure
* @return true on success, false otherwise
*/
external function fx_eNB_Error_Indication_procedure() return boolean;
/**
* @desc Trigger a RESET procedure
* @return true on success, false otherwise
*/
external function fx_eNB_Reset_procedure() return boolean;
/**
* @desc Trigger a CDMA2000 to be forwarded procedure
* @return true on success, false otherwise
*/
external function fx_eNB_Uplink_S1_CDMA2000_Tunnelling_procedure() return boolean;
/**
* @desc Trigger a UE CAPABILITY INFO INDICATION procedure
* @return true on success, false otherwise
*/
external function fx_eNB_UE_Capability_Info_Indication_procedure() return boolean;
/**
* @desc Force the UE to be registered to a new cell
* @return true on success, false otherwise
*/
external function fx_move_UE_to_new_cell() return boolean;
/**
* @desc Check htat UE stop reporting at change of serving cell
* @return true on success, false otherwise
*/
external function fx_check_UE_stops_reporting() return boolean;
/**
* @desc Trigger a PWS Restart Indication procedure
* @return true on success, false otherwise
*/
external function fx_eNB_PWS_Restart_Indication_procedure() return boolean;
/**
* @desc Trigger a PWS Failure Indication procedure
* @return true on success, false otherwise
*/
external function fx_eNB_PWS_Failure_Indication_procedure() return boolean;
/**
* @desc Trigger an ENB direct information Transfer procedure
* @return true on success, false otherwise
*/
external function fx_eNB_Direct_Information_Transfer_procedure() return boolean;
/**
* @desc Trigger an ENB Configuration Transfer procedure
* @return true on success, false otherwise
*/
external function fx_eNB_Configuration_Transfer_procedure() return boolean;
/**
* @desc Trigger a LPPa Transport procedure using a UE associated signalling on eNodeB
* @param p_associated_signalling_mode Set to true for an associated signalling mode, false otherwise
* @return true on success, false otherwise
*/
external function fx_eNB_LPPa_Transport_procedure_ind(
in boolean p_associated_signalling_mode
) return boolean;
} // End of group eNBRole
group mmeRole {
/**
* @desc Trigger a Handover preparation procedure
* @return true on success, false otherwise
*/
external function fx_MME_Handover_preparation_procedure() return boolean;
/**
* @desc Trigger a Handover notification procedure
* @return true on success, false otherwise
*/
external function fx_MME_Handover_notification_procedure() return boolean;
/**
* @desc Trigger a PAGING event
* @return true on success, false otherwise
*/
external function fx_MME_Paging_procedure() return boolean;
/**
* @desc Trigger a DOWNLINK NAS TRANSPORT event
* @return true on success, false otherwise
*/
external function fx_MME_Downlink_NAS_Transport_procedure() return boolean;
/**
* @desc Trigger a REROUTE NAS REQUEST event
* @return true on success, false otherwise
*/
external function fx_MME_Reroute_NAS_Request_procedure() return boolean;
/**
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
* @desc Trigger a RESET event
* @return true on success, false otherwise
*/
external function fx_MME_Reset_procedure() return boolean;
/**
* @desc Trigger an ERROR INDICATION event
* @return true on success, false otherwise
*/
external function fx_MME_Error_Indication_procedure() return boolean;
/**
* @desc Trigger a CDMA2000 signalling event
* @return true on success, false otherwise
*/
external function fx_MME_Downlink_S1_CDMA2000_Tunnelling_procedure() return boolean;
/**
* @desc Trigger a Trace Start procedure
* @return true on success, false otherwise
*/
external function fx_MME_Trace_Start_procedure() return boolean;
/**
* @desc Trigger a Deactivate Trace procedure
* @return true on success, false otherwise
*/
external function fx_MME_Deactivate_Trace_procedure() return boolean;
/**
* @desc Trigger a Location Reporting Control procedure
* @return true on success, false otherwise
*/
external function fx_MME_Location_Reporting_Control_procedure() return boolean;
/**
* @desc Trigger a Write-Replace Warning procedure
* @return true on success, false otherwise
*/
external function fx_MME_Write_Replace_Warning_procedure() return boolean;
/**
* @desc Trigger a Kill procedure
* @return true on success, false otherwise
*/
external function fx_MME_Kill_procedure() return boolean;
/**
* @desc Trigger an MME Direct Information Transfer procedure
* @return true on success, false otherwise
*/
external function fx_MME_Direct_Information_Transfer_procedure() return boolean;
/**
* @desc Trigger an MME Configuration Transfer procedure
* @return true on success, false otherwise
*/
external function fx_MME_Configuration_Transfer_procedure() return boolean;
/**
* @desc Trigger a LPPa Transport procedure using a UE associated signalling on MME
* @param p_associated_signalling_mode Set to true for an associated signalling mode, false otherwise
* @return true on success, false otherwise
*/
external function fx_MME_LPPa_Transport_procedure_ind(
in boolean p_associated_signalling_mode
) return boolean;
external function fx_eNB_erab_Release_indication_procedure( in boolean p_param) return boolean;
} // End of group externalFunctions
function f_preambleS1AP_MME()
runs on S1APComponent {
function f_preambleS1AP_eNB()
runs on S1APComponent {
} // End of function f_preambleS1AP_eNB
} // End of group preamble_S1AP
function f_postambleS1AP_MME()
runs on S1APComponent {
} // End of function f_postambleS1AP_MME
/**
* @desc
* @verdict
*/
function f_postambleS1AP_eNB()
runs on S1APComponent {
} // End of function f_postambleS1AP_eNB
} // End of group postamble_S1AP
} // End of group postambles
/**
* @desc Global 'altstep' statements description
*/
group globalSteps {
/**
* @desc This is a test step that init S1AP component
*/
function f_S1AP_Init_Component()
runs on S1APComponent {
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
} // End of function f_S1AP_Init_Component
/**
* @desc Component termination
*/
function f_S1AP_terminate_component()
runs on S1APComponent {
log("component terminated - forced!");
deactivate;
stop;
} // End of function f_S1AP_terminate_component
/**
* @desc Component termination
*/
function f_componentStop()
runs on S1APComponent {
syncPort.send(m_syncClientStop);
S1_MMEeNB_P.clear;
stop;
} // End of function f_componentStop
/**
* @desc Original copied from older LibCommon_VerdictControl
*/
function f_getVerdict() // FIXME Are you sure we really need it???
return FncRetCode {
var FncRetCode v_ret := e_error;
if (getverdict == pass or getverdict == none) {
v_ret := e_success;
}
return v_ret;
} // End of function
} // End of group globalSteps
/**
* @desc Default 'altstep' statements description
*/
group defaultsTestStep {
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
runs on S1APComponent {
[] any timer.timeout {
all timer.stop;
if (vc_serverStop==false) {
f_selfOrClientSyncAndVerdict("error", e_timeout);
}
else {
stop;
}
}
[] S1_MMEeNB_P.receive (S1AP_PDU:{initiatingMessage := ?}) -> value vc_recvS1AP_PDUDefault {
repeat;
}
[] S1_MMEeNB_P.receive (S1AP_PDU:{successfulOutcome := ?}) -> value vc_recvS1AP_PDUDefault {
repeat;
}
[] S1_MMEeNB_P.receive (S1AP_PDU:{unsuccessfulOutcome := ?}) -> value vc_recvS1AP_PDUDefault {
repeat;
}
[] S1_MMEeNB_P.receive (S1AP_PDU:?) -> value vc_recvS1AP_PDUDefault {
if (vc_serverStop==false) {
f_selfOrClientSyncAndVerdict("error", e_error);
}
else {
stop;
}
}
[] S1_MMEeNB_P.receive {
if (vc_serverStop==false) {
f_selfOrClientSyncAndVerdict("error", e_error);
}
else {
stop;
}
}
[] a_shutdown() {
// Process temination on error
log("*** a_defaultS1AP() : Process temination on error ***");
// Terminate component execution
stop;
}
runs on S1APComponent {
[] any timer.timeout {
all timer.stop;
if (vc_serverStop==false) {
f_selfOrClientSyncAndVerdict("error", e_timeout);
}
else {
stop;
}
}
runs on S1APComponent {
[] any timer.timeout {
all timer.stop;
if (vc_serverStop==false) {
f_selfOrClientSyncAndVerdict("error", e_timeout);
}
else {
stop;
}
}