STF519 Week#11: Intermediate commit due to heavy changes
This commit is contained in:
parent
9a446f880b
commit
9d4cf73b7e
|
@ -146,5 +146,20 @@ module LibS1AP_Pixits {
|
|||
*/
|
||||
modulepar TransportLayerAddress PX_TRANSPORT_LAYER_ADDRESS := oct2bit('0a00000a'O);
|
||||
|
||||
/** @desc CDMA2000 message
|
||||
* @see ETSI TS 136 413 Clause 9.2.1.23 CDMA2000-PDU
|
||||
*/
|
||||
modulepar octetstring PX_CDMA200_PDU := ''O;
|
||||
|
||||
/** @desc CDMA2000 RAT type
|
||||
* @see ETSI TS 136 413 Clause 9.2.1.24 CDMA2000 RAT Type
|
||||
*/
|
||||
modulepar Cdma2000RATType PX_CDMA200_RAT_TYPE := hRPD;
|
||||
|
||||
/** @desc CDMA2000 Reference Cell ID
|
||||
* @see ETSI TS 136 413 Clause 9.2.1.25 CDMA2000 Sector ID
|
||||
*/
|
||||
modulepar octetstring PX_CDMA200_SECTOR_ID := ''O;
|
||||
|
||||
} // End of module LibS1AP_Pixits
|
||||
|
||||
|
|
|
@ -149,6 +149,46 @@ module LibS1AP_Steps {
|
|||
f_recv_S1AP_successfulOutcome(mw_E_RABSetupResponse(p_value))
|
||||
} // End of f_recv_E_RABSetupResponse
|
||||
|
||||
/**
|
||||
* @desc Receive S1AP Message RESET
|
||||
* @param p_value Receive template for RESET IEs
|
||||
*/
|
||||
function f_recv_Reset(
|
||||
template (present) RecordOf_ProtocolIE p_value := ?
|
||||
) runs on S1APComponent {
|
||||
f_recv_S1AP_initiatingMessage(mw_reset(p_value))
|
||||
} // End of f_recv_Reset
|
||||
|
||||
/**
|
||||
* @desc Receive S1AP Message RESET ACKNOWLEDGE
|
||||
* @param p_value Receive template for RESET ACKNOWLEDGE IEs
|
||||
*/
|
||||
function f_recv_Reset_Acknowledge(
|
||||
template (present) RecordOf_ProtocolIE p_value := ?
|
||||
) runs on S1APComponent {
|
||||
f_recv_S1AP_successfulOutcome(mw_reset_Acknowledge(p_value))
|
||||
} // End of f_recv_Reset_Acknowledge
|
||||
|
||||
/**
|
||||
* @desc Receive S1AP Message an UPLINK S1 CDMA2000 TUNNELLING
|
||||
* @param p_value Receive template for UPLINK S1 CDMA2000 TUNNELLING IEs
|
||||
*/
|
||||
function f_recv_Uplink_S1_CDMA2000_Tunnelling(
|
||||
template (present) RecordOf_ProtocolIE p_value := ?
|
||||
) runs on S1APComponent {
|
||||
f_recv_S1AP_initiatingMessage(mw_uplink_S1_CDMA2000_Tunnelling(p_value))
|
||||
} // End of f_recv_Uplink_S1_CDMA2000_Tunnelling
|
||||
|
||||
/**
|
||||
* @desc Receive S1AP Message UE CAPABILITY INFO INDICATION
|
||||
* @param p_value Receive template for UE CAPABILITY INFO INDICATION IEs
|
||||
*/
|
||||
function f_recv_eNB_UE_Capability_Info_Indication(
|
||||
template (present) RecordOf_ProtocolIE p_value := ?
|
||||
) runs on S1APComponent {
|
||||
f_recv_S1AP_initiatingMessage(mw_uE_Capability_Info_Indication(p_value))
|
||||
} // End of f_recv_eNB_UE_Capability_Info_Indication
|
||||
|
||||
/**
|
||||
* @desc Receive S1AP Message TRACE FAILURE INDICATION
|
||||
* @param p_value Receive template for TRACE FAILURE INDICATION IEs
|
||||
|
@ -159,6 +199,16 @@ module LibS1AP_Steps {
|
|||
f_recv_S1AP_initiatingMessage(mw_trace_Failure_Indication(p_value))
|
||||
} // End of f_recv_Trace_Failure_Indication
|
||||
|
||||
/**
|
||||
* @desc Receive S1AP Message CELL TRAFFIC TRACE
|
||||
* @param p_value Receive template for CELL TRAFFIC TRACE IEs
|
||||
*/
|
||||
function f_recv_Cell_Traffic_Trace(
|
||||
template (present) RecordOf_ProtocolIE p_value := ?
|
||||
) runs on S1APComponent {
|
||||
f_recv_S1AP_initiatingMessage(mw_cell_Traffic_Trace(p_value))
|
||||
} // End of f_recv_Cell_Traffic_Trace
|
||||
|
||||
/**
|
||||
* @desc Receive S1AP Message LOCATION REPORT
|
||||
* @param p_value Receive template for LOCATION REPORT IEs
|
||||
|
@ -232,6 +282,17 @@ module LibS1AP_Steps {
|
|||
f_recv_S1AP_initiatingMessage(mw_eNB_Direct_Information_Transfer(p_value))
|
||||
} // End of f_recv_eNB_Configuration_Transfer
|
||||
|
||||
/**
|
||||
* @desc Receive S1AP Message DOWNLINK S1 CDMA2000 TUNNELLING
|
||||
* @param p_value Receive template for DOWNLINK S1 CDMA2000 TUNNELLING IEs
|
||||
* @see ETSI TS 136 413 V13.4.0 Clause 9.1.9.1 DOWNLINK S1 CDMA2000 TUNNELLING
|
||||
*/
|
||||
function f_recv_Downlink_S1_CDMA2000_Tunnelling(
|
||||
template (present) RecordOf_ProtocolIE p_value := ?
|
||||
) runs on S1APComponent {
|
||||
f_recv_S1AP_initiatingMessage(mw_downlink_S1_CDMA2000_Tunnelling(p_value))
|
||||
} // End of f_recv_Downlink_S1_CDMA2000_Tunnelling
|
||||
|
||||
/**
|
||||
* @desc Receive S1AP Message TRACE START
|
||||
* @param p_value Receive template for TRACE START IEs
|
||||
|
@ -314,7 +375,7 @@ module LibS1AP_Steps {
|
|||
* @param p_value Receive template for MME DIRECT INFORMATION TRANSFER IEs
|
||||
* @see ETSI TS 136 413 V13.4.0 Clause 9.1.15 MME DIRECT INFORMATION TRANSFER
|
||||
*/
|
||||
function fx_MME_Direct_Information_Transfer_procedure(
|
||||
function f_MME_Direct_Information_Transfer_procedure(
|
||||
template (present) RecordOf_ProtocolIE p_value := ?
|
||||
) runs on S1APComponent {
|
||||
f_recv_S1AP_initiatingMessage(mw_Mme_Configuration_Transfer(p_value))
|
||||
|
@ -455,6 +516,16 @@ module LibS1AP_Steps {
|
|||
f_send_S1AP_initiatingMessage(m_E_RABSetupRequest(p_value))
|
||||
} // End of function f_send_E_RABSetupRequest
|
||||
|
||||
/**
|
||||
* @desc Send S1AP Message REST
|
||||
* @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 TRACE START
|
||||
* @param p_value Send template with IE for TRACE START
|
||||
|
@ -594,7 +665,14 @@ module LibS1AP_Steps {
|
|||
* @desc Initiate a Trace Start procedure
|
||||
*/
|
||||
function f_initiate_traceStart() runs on S1APComponent {
|
||||
// TODO
|
||||
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
|
||||
|
||||
/**
|
||||
|
@ -615,6 +693,24 @@ module LibS1AP_Steps {
|
|||
|
||||
group externalFunctions {
|
||||
|
||||
/**
|
||||
* @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
|
||||
|
@ -631,67 +727,79 @@ module LibS1AP_Steps {
|
|||
* @desc Trigger a PWS Restart Indication procedure
|
||||
* @return true on success, false otherwise
|
||||
*/
|
||||
external function fx_ENB_PWS_Restart_Indication_procedure_ind() return boolean;
|
||||
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_ind() return boolean;
|
||||
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_ind() return boolean;
|
||||
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_ind() return boolean;
|
||||
external function fx_ENB_Configuration_Transfer_procedure() return boolean;
|
||||
|
||||
/**
|
||||
* @desc Trigger a RESET event
|
||||
* @return true on success, false otherwise
|
||||
*/
|
||||
external function fx_MME_Reset_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_ind() return boolean;
|
||||
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_ind() return boolean;
|
||||
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_ind() return boolean;
|
||||
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_ind() return boolean;
|
||||
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_ind() return boolean;
|
||||
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_ind() return boolean;
|
||||
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_ind() return boolean;
|
||||
external function fx_MME_Configuration_Transfer_procedure() return boolean;
|
||||
|
||||
/**
|
||||
* @desc Trigger a LPPa Transport procedure using a UE associated signalling on eNodeB
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -33,6 +33,11 @@ module LibS1AP_TypesAndValues {
|
|||
*/
|
||||
type record of E_RABItem RecordOf_E_RABItem;
|
||||
|
||||
/**
|
||||
* @desc List of E-RABs Subject to Forwarding
|
||||
*/
|
||||
type record of E_RABDataForwardingItem RecordOf_E_RABDataForwardingItem;
|
||||
|
||||
/**
|
||||
* @desc This data structure redefines ASN.1 ProtocolIE-Field data structure die to parameterization limitation of TTCN-3 tools
|
||||
* @member id Protocol Information Element identifier
|
||||
|
|
|
@ -201,6 +201,224 @@ module S1AP_TCFunctions {
|
|||
|
||||
} // End of group ERAB_management_group
|
||||
|
||||
/**
|
||||
* @desc Management group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.7 Management group
|
||||
*/
|
||||
group Management_group {
|
||||
|
||||
/**
|
||||
* @desc Testcase function for TC_S1AP_ENB_TRP_01
|
||||
*/
|
||||
function f_TC_S1AP_ENB_MNP_01() runs on S1APComponent {
|
||||
// Local variables
|
||||
|
||||
// Preamble
|
||||
f_S1AP_enb_init();
|
||||
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
|
||||
|
||||
// Test body
|
||||
f_send_Reset(
|
||||
m_resetIEs(
|
||||
m_cause_nas(
|
||||
unspecified // TODO Check value to be used
|
||||
),
|
||||
m_resetType_all
|
||||
));
|
||||
|
||||
f_recv_Reset_Acknowledge(
|
||||
mw_reset_AcknowledgeIEs(
|
||||
{
|
||||
?/*mw_uE_associatedLogicalS1_ConnectionItemResAck_IE(
|
||||
mw_uE_associatedLogicalS1_ConnectionItem(
|
||||
vc_MME_UE_ID,
|
||||
vc_ENB_UE_ID
|
||||
))*/
|
||||
}
|
||||
));
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
|
||||
|
||||
// Postamble
|
||||
f_postamble_S1AP_eNB();
|
||||
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
|
||||
|
||||
} // End of function f_TC_S1AP_ENB_MNP_01
|
||||
|
||||
/**
|
||||
* @desc Testcase function for TC_S1AP_ENB_TRP_02
|
||||
*/
|
||||
function f_TC_S1AP_ENB_MNP_02() runs on S1APComponent {
|
||||
// Local variables
|
||||
|
||||
// Preamble
|
||||
f_S1AP_enb_init();
|
||||
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
|
||||
|
||||
// Test body
|
||||
// 1. to indicate a Reset procedure initiated from the E-UTRAN
|
||||
if (fx_ENB_Reset_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a RESET
|
||||
f_recv_Reset(
|
||||
mw_resetIEs(
|
||||
mw_cause_nas(
|
||||
unspecified // TODO Check value to be used
|
||||
),
|
||||
m_resetType_all
|
||||
));
|
||||
}
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
|
||||
|
||||
// Postamble
|
||||
f_postamble_S1AP_eNB();
|
||||
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
|
||||
|
||||
} // End of function f_TC_S1AP_ENB_MNP_02
|
||||
|
||||
/**
|
||||
* @desc Testcase function for TC_S1AP_ENB_TRP_03
|
||||
*/
|
||||
function f_TC_S1AP_ENB_MNP_03() runs on S1APComponent {
|
||||
// Local variables
|
||||
|
||||
// Preamble
|
||||
f_S1AP_enb_init();
|
||||
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
|
||||
|
||||
// Test body
|
||||
f_send_Reset(
|
||||
m_resetIEs(
|
||||
m_cause_nas(
|
||||
unspecified // TODO Check value to be used
|
||||
),
|
||||
m_resetType_partOfS1_Interface(
|
||||
{
|
||||
m_uE_associatedLogicalS1_ConnectionItemResAck_IE(
|
||||
m_uE_associatedLogicalS1_ConnectionItem(
|
||||
0,
|
||||
0
|
||||
))
|
||||
}
|
||||
)
|
||||
));
|
||||
|
||||
f_recv_Reset_Acknowledge(
|
||||
mw_reset_AcknowledgeIEs(
|
||||
{
|
||||
?/*mw_uE_associatedLogicalS1_ConnectionItemResAck_IE(
|
||||
mw_uE_associatedLogicalS1_ConnectionItem(
|
||||
vc_MME_UE_ID,
|
||||
vc_ENB_UE_ID
|
||||
))*/
|
||||
}
|
||||
));
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
|
||||
|
||||
// Postamble
|
||||
f_postamble_S1AP_eNB();
|
||||
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
|
||||
|
||||
} // End of function f_TC_S1AP_ENB_MNP_03
|
||||
|
||||
} // End of group Management_group
|
||||
|
||||
/**
|
||||
* @desc S1 CDMA 2000 tunnelling group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.8 S1 CDMA 2000 tunnelling group
|
||||
*/
|
||||
group S1_CDMA_2000_tunnelling_group {
|
||||
|
||||
/**
|
||||
* @desc Testcase function for TC_S1AP_ENB_STP_01
|
||||
*/
|
||||
function f_TC_S1AP_ENB_STP_01() runs on S1APComponent {
|
||||
// Local variables
|
||||
|
||||
// Preamble
|
||||
f_S1AP_enb_init();
|
||||
// Preamble action: E-RAB Setup is exchanged.
|
||||
f_rABSetupRequest();
|
||||
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
|
||||
|
||||
// Test body
|
||||
// 1. to indicate a CDMA2000 to be forwarded
|
||||
if (fx_ENB_Uplink_S1_CDMA2000_Tunnelling_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a an UPLINK_S1_CDMA2000_TUNNELLING
|
||||
f_recv_Uplink_S1_CDMA2000_Tunnelling(
|
||||
mw_uplink_S1_CDMA2000_TunnellingIEs(
|
||||
vc_MME_UE_ID,
|
||||
vc_ENB_UE_ID,
|
||||
PX_CDMA200_RAT_TYPE,
|
||||
PX_CDMA200_SECTOR_ID,
|
||||
PX_CDMA200_PDU
|
||||
));
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
|
||||
}
|
||||
|
||||
// Postamble
|
||||
f_rABSetupRelease();
|
||||
f_postamble_S1AP_MME();
|
||||
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
|
||||
|
||||
} // End of function f_TC_S1AP_ENB_STP_01
|
||||
|
||||
} // End of group S1_CDMA_2000_tunnelling_group
|
||||
|
||||
/**
|
||||
* @desc UE capability info indication group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.9 UE capability info indication group
|
||||
*/
|
||||
group UE_capability_info_indication_group {
|
||||
|
||||
/**
|
||||
* @desc Testcase function for TC_S1AP_ENB_UEC_01
|
||||
*/
|
||||
function f_TC_S1AP_ENB_UEC_01() runs on S1APComponent {
|
||||
// Local variables
|
||||
|
||||
// Preamble
|
||||
f_S1AP_enb_init();
|
||||
// Preamble action: E-RAB Setup is exchanged.
|
||||
f_rABSetupRequest();
|
||||
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
|
||||
|
||||
// Test body
|
||||
// 1. to indicate a capability-related information update
|
||||
if (fx_ENB_UE_Capability_Info_Indication_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a UE_CAPABILITY_INFO_INDICATION
|
||||
f_recv_eNB_UE_Capability_Info_Indication(
|
||||
mw_uE_Capability_Info_IndicationIEs(
|
||||
vc_MME_UE_ID,
|
||||
vc_ENB_UE_ID,
|
||||
- // TODO To be refined
|
||||
));
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
|
||||
}
|
||||
|
||||
// Postamble
|
||||
f_rABSetupRelease();
|
||||
f_postamble_S1AP_MME();
|
||||
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
|
||||
|
||||
} // End of function f_TC_S1AP_ENB_UEC_01
|
||||
|
||||
} // End of group UE_capability_info_indication_group
|
||||
|
||||
/**
|
||||
* @desc Warning message transmission group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.10 Trace group
|
||||
|
@ -289,6 +507,41 @@ module S1AP_TCFunctions {
|
|||
|
||||
} // End of function f_TC_S1AP_ENB_TRP_02
|
||||
|
||||
/**
|
||||
* @desc Testcase function for TC_S1AP_ENB_TRP_03
|
||||
*/
|
||||
function f_TC_S1AP_ENB_TRP_03() runs on S1APComponent {
|
||||
// Local variables
|
||||
|
||||
// Preamble
|
||||
f_S1AP_enb_init();
|
||||
// Preamble action: E-RAB Setup is exchanged, and a handover procedure is initiated.
|
||||
f_rABSetupRequest();
|
||||
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
|
||||
|
||||
// Test body
|
||||
f_initiate_traceStart();
|
||||
|
||||
f_recv_Cell_Traffic_Trace(
|
||||
mw_cell_Traffic_TraceIEs(
|
||||
vc_MME_UE_ID,
|
||||
vc_ENB_UE_ID,
|
||||
PX_EUTRAN_TRACE_ID,
|
||||
mw_eUTRAN_CGI,
|
||||
- // TODO To be refined
|
||||
));
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
|
||||
|
||||
// Postamble
|
||||
f_initiate_deactivateTrace();
|
||||
f_rABSetupRelease();
|
||||
f_postamble_S1AP_eNB();
|
||||
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
|
||||
|
||||
} // End of function f_TC_S1AP_ENB_TRP_03
|
||||
|
||||
} // End of group Trace_group
|
||||
|
||||
/**
|
||||
|
@ -575,7 +828,7 @@ module S1AP_TCFunctions {
|
|||
|
||||
// Test body
|
||||
// 1. to indicate a PWS Restart Indication procedure
|
||||
if (fx_ENB_PWS_Restart_Indication_procedure_ind() == false) {
|
||||
if (fx_ENB_PWS_Restart_Indication_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a PWS_RESTART_INDICATION
|
||||
|
@ -621,7 +874,7 @@ module S1AP_TCFunctions {
|
|||
|
||||
// Test body
|
||||
// 1. to indicate a PWS Failure Indication procedure
|
||||
if (fx_ENB_PWS_Failure_Indication_procedure_ind() == false) {
|
||||
if (fx_ENB_PWS_Failure_Indication_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a PWS_FAILURE_INDICATION
|
||||
|
@ -668,7 +921,7 @@ module S1AP_TCFunctions {
|
|||
|
||||
// Test body
|
||||
// 1. to indicate an ENB Direct Information Transfer procedure
|
||||
if (fx_ENB_Direct_Information_Transfer_procedure_ind() == false) {
|
||||
if (fx_ENB_Direct_Information_Transfer_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a ENB_DIRECT_INFORMATION_TRANSFER
|
||||
|
@ -709,7 +962,7 @@ module S1AP_TCFunctions {
|
|||
|
||||
// Test body
|
||||
// 1. to indicate an ENB Configuration Transfer procedure
|
||||
if (fx_ENB_Configuration_Transfer_procedure_ind() == false) {
|
||||
if (fx_ENB_Configuration_Transfer_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a ENB_CONFIGURATION_TRANSFER
|
||||
|
@ -846,7 +1099,134 @@ module S1AP_TCFunctions {
|
|||
} // End of group ERAB_management_group
|
||||
|
||||
/**
|
||||
* @desc Warning message transmission group
|
||||
* @desc Management group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.7 Management group
|
||||
*/
|
||||
group Management_group {
|
||||
|
||||
/**
|
||||
* @desc Testcase function for TC_S1AP_MME_MNP_01
|
||||
*/
|
||||
function f_TC_S1AP_MME_MNP_01() runs on S1APComponent {
|
||||
// Local variables
|
||||
|
||||
// Preamble
|
||||
f_S1AP_mme_init();
|
||||
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
|
||||
|
||||
// Test body
|
||||
// 1. to indicate a Reset procedure initiated from the MME
|
||||
if (fx_MME_Reset_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a RESET
|
||||
f_recv_Reset(
|
||||
mw_resetIEs(
|
||||
mw_cause_nas(
|
||||
unspecified // TODO Check value to be used
|
||||
),
|
||||
m_resetType_all
|
||||
));
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
|
||||
}
|
||||
|
||||
// Postamble
|
||||
f_postamble_S1AP_MME();
|
||||
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
|
||||
|
||||
} // End of function f_TC_S1AP_MME_MNP_01
|
||||
|
||||
/**
|
||||
* @desc Testcase function for TC_S1AP_MME_MNP_02
|
||||
*/
|
||||
function f_TC_S1AP_MME_MNP_02() runs on S1APComponent {
|
||||
// Local variables
|
||||
|
||||
// Preamble
|
||||
f_S1AP_mme_init();
|
||||
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
|
||||
|
||||
// Test body
|
||||
f_send_Reset(
|
||||
m_resetIEs(
|
||||
m_cause_nas(
|
||||
unspecified // TODO Check value to be used
|
||||
),
|
||||
m_resetType_all
|
||||
));
|
||||
f_recv_Reset_Acknowledge(
|
||||
mw_reset_AcknowledgeIEs(
|
||||
{
|
||||
?/*mw_uE_associatedLogicalS1_ConnectionItemResAck_IE(
|
||||
mw_uE_associatedLogicalS1_ConnectionItem(
|
||||
vc_MME_UE_ID,
|
||||
vc_ENB_UE_ID
|
||||
))*/
|
||||
}
|
||||
));
|
||||
|
||||
// Postamble
|
||||
f_postamble_S1AP_MME();
|
||||
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
|
||||
|
||||
} // End of function f_TC_S1AP_MME_MNP_02
|
||||
|
||||
} // End of group Management_group
|
||||
|
||||
/**
|
||||
* @desc S1 CDMA 2000 tunnelling group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.8 S1 CDMA 2000 tunnelling group
|
||||
*/
|
||||
group S1_CDMA_2000_tunnelling_group {
|
||||
|
||||
/**
|
||||
* @desc Testcase function for TC_S1AP_MME_STP_01
|
||||
*/
|
||||
function f_TC_S1AP_MME_STP_01() runs on S1APComponent {
|
||||
// Local variables
|
||||
|
||||
// Preamble
|
||||
f_S1AP_mme_init();
|
||||
// Preamble action: E-RAB Setup is exchanged.
|
||||
f_rABSetupRequest();
|
||||
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
|
||||
|
||||
// Test body
|
||||
// 1. to indicate a CDMA2000 signalling event
|
||||
if (fx_MME_Downlink_S1_CDMA2000_Tunnelling_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a DOWNLINK_S1_CDMA2000_TUNNELLING
|
||||
f_recv_Downlink_S1_CDMA2000_Tunnelling(
|
||||
mw_downlink_S1_CDMA2000_TunnellingIEs(
|
||||
vc_MME_UE_ID,
|
||||
vc_ENB_UE_ID,
|
||||
{
|
||||
mw_eRABDataForwardingItem // TODO To be refined
|
||||
},
|
||||
PX_CDMA200_PDU,
|
||||
PX_CDMA200_RAT_TYPE
|
||||
));
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
|
||||
}
|
||||
|
||||
// Postamble
|
||||
f_rABSetupRelease();
|
||||
f_postamble_S1AP_MME();
|
||||
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
|
||||
|
||||
} // End of function f_TC_S1AP_MME_STP_01
|
||||
|
||||
} // End of group S1_CDMA_2000_tunnelling_group
|
||||
|
||||
/**
|
||||
* @desc Trace Procedures group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.10 Trace group
|
||||
*/
|
||||
group Trace_group {
|
||||
|
@ -866,7 +1246,7 @@ module S1AP_TCFunctions {
|
|||
|
||||
// Test body
|
||||
// 1. to indicate a Trace Start procedure
|
||||
if (fx_MME_Trace_Start_ind() == false) {
|
||||
if (fx_MME_Trace_Start_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a TRACE_START
|
||||
|
@ -899,16 +1279,16 @@ module S1AP_TCFunctions {
|
|||
f_S1AP_mme_init();
|
||||
// Preamble action: E-RAB Setup is exchanged.
|
||||
f_rABSetupRequest();
|
||||
f_initiate_traceStart();
|
||||
fx_MME_Trace_Start_procedure();
|
||||
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
|
||||
|
||||
// Test body
|
||||
// 1. to indicate a Trace Start procedure
|
||||
if (fx_MME_Deactivate_Trace_ind() == false) {
|
||||
// 1. to indicate a Deactivate Trace procedure
|
||||
if (fx_MME_Deactivate_Trace_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a TRACE_START
|
||||
// 2. sends a DEACTIVATE_TRACE
|
||||
f_recv_Deactivate_Trace(
|
||||
mw_deactivate_TraceIEs(
|
||||
vc_MME_UE_ID,
|
||||
|
@ -929,7 +1309,7 @@ module S1AP_TCFunctions {
|
|||
} // End of group Trace_group
|
||||
|
||||
/**
|
||||
* @desc Warning message transmission group
|
||||
* @desc Location Reporting Procedures group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.11 Location reporting group
|
||||
*/
|
||||
group Location_reporting_group {
|
||||
|
@ -949,7 +1329,7 @@ module S1AP_TCFunctions {
|
|||
|
||||
// Test body
|
||||
// 1. to indicate a Location Reporting Control procedure
|
||||
if (fx_MME_Location_Reporting_Control_procedure_ind() == false) {
|
||||
if (fx_MME_Location_Reporting_Control_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a LOCATION_REPORTING_CONTROL
|
||||
|
@ -988,7 +1368,7 @@ module S1AP_TCFunctions {
|
|||
|
||||
// Test body
|
||||
// 1. to indicate a Location Reporting Control procedure
|
||||
if (fx_MME_Location_Reporting_Control_procedure_ind() == false) {
|
||||
if (fx_MME_Location_Reporting_Control_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a LOCATION_REPORTING_CONTROL
|
||||
|
@ -1039,7 +1419,7 @@ module S1AP_TCFunctions {
|
|||
|
||||
// Test body
|
||||
// 1. to indicate a Warning Message Transmission procedure
|
||||
if (fx_MME_Write_Replace_Warning_procedure_ind() == false) {
|
||||
if (fx_MME_Write_Replace_Warning_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a WRITE-REPLACE_WARNING_REQUEST
|
||||
|
@ -1080,7 +1460,7 @@ module S1AP_TCFunctions {
|
|||
|
||||
// Test body
|
||||
// 1. to indicate a Warning Message Transmission procedure
|
||||
if (fx_MME_Kill_procedure_ind() == false) {
|
||||
if (fx_MME_Kill_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a KILLG_REQUEST
|
||||
|
@ -1126,7 +1506,7 @@ module S1AP_TCFunctions {
|
|||
|
||||
// Test body
|
||||
// 1. to indicate an MME Direct Information Transfer procedure
|
||||
if (fx_MME_Direct_Information_Transfer_procedure_ind() == false) {
|
||||
if (fx_MME_Direct_Information_Transfer_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a MME_DIRECT_INFORMATION_TRANSFER
|
||||
|
@ -1167,7 +1547,7 @@ module S1AP_TCFunctions {
|
|||
|
||||
// Test body
|
||||
// 1. to indicate an MME Configuration Transfer procedure
|
||||
if (fx_MME_Configuration_Transfer_procedure_ind() == false) {
|
||||
if (fx_MME_Configuration_Transfer_procedure() == false) {
|
||||
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
|
||||
} else {
|
||||
// 2. sends a MME_CONFIGURATION_TRANSFER
|
||||
|
|
|
@ -166,7 +166,236 @@ module S1AP_TestCases {
|
|||
} // End of group E-RAB_management_group
|
||||
|
||||
/**
|
||||
* @desc Warning message transmission group
|
||||
* @desc Management group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.7 Management group
|
||||
*/
|
||||
group Management_group {
|
||||
|
||||
/**
|
||||
* @desc Verify that the IUT can successfully process all mandatory IEs in a RESET and send a RESET_ACKNOWLEDGE due to a Reset procedure initiated from the MME.
|
||||
* <pre>
|
||||
* Pics Selection: PICS A.3/6.1.2
|
||||
* direct information: CF_S1-MME
|
||||
* Ensure that the IUT
|
||||
* on receipt of a RESET
|
||||
* containing a Cause
|
||||
* indicating an appropriate cause value
|
||||
* containing a Reset_Type
|
||||
* containing a S1_Interface
|
||||
* indicating a value ‘Reset_all’
|
||||
* sends a RESET_ACKNOWLEDGE
|
||||
* containing a UE-associated_logical_S1-connection_list.
|
||||
* </pre>
|
||||
*
|
||||
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_MNP_01
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause 8.7.1.2.1¶2 and 9.1.8.1 and 9.1.8.2
|
||||
*/
|
||||
testcase TC_S1AP_ENB_MNP_01() runs on S1AP system TestAdapter {
|
||||
// Local variables
|
||||
var S1AP v_s1ap_enb;
|
||||
|
||||
// Test control
|
||||
if (not PICS_S1AP_eNB_IUT) {
|
||||
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
|
||||
stop;
|
||||
}
|
||||
|
||||
// Test component direct information
|
||||
f_cf_S1AP_eNB_Up(v_s1ap_enb);
|
||||
|
||||
// Start
|
||||
v_s1ap_enb.start(f_TC_S1AP_ENB_MNP_01());
|
||||
|
||||
// synchronize PTC on 1 sychronization points
|
||||
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
|
||||
|
||||
f_cf_Down();
|
||||
|
||||
} // End of testcase TC_S1AP_ENB_MNP_01
|
||||
|
||||
/**
|
||||
* @desc Verify that the IUT can send an RESET due to a Reset procedure initiated from the E-UTRAN.
|
||||
* <pre>
|
||||
* Pics Selection: PICS A.3/6.1.2
|
||||
* direct information: CF_S1-MME
|
||||
* Ensure that the IUT
|
||||
* to indicate a Reset procedure initiated from the E-UTRAN
|
||||
* sends a RESET
|
||||
* containing a Cause
|
||||
* indicating an appropriate cause value
|
||||
* containing a Reset_Type
|
||||
* containing a S1_Interface
|
||||
* indicating a value ‘Reset_all’.
|
||||
* </pre>
|
||||
*
|
||||
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_MNP_02
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause 8.7.1.2.2¶1 and 9.1.8.1 and 9.1.8.2
|
||||
*/
|
||||
testcase TC_S1AP_ENB_MNP_02() runs on S1AP system TestAdapter {
|
||||
// Local variables
|
||||
var S1AP v_s1ap_enb;
|
||||
|
||||
// Test control
|
||||
if (not PICS_S1AP_eNB_IUT) {
|
||||
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
|
||||
stop;
|
||||
}
|
||||
|
||||
// Test component direct information
|
||||
f_cf_S1AP_eNB_Up(v_s1ap_enb);
|
||||
|
||||
// Start
|
||||
v_s1ap_enb.start(f_TC_S1AP_ENB_MNP_02());
|
||||
|
||||
// synchronize PTC on 1 sychronization points
|
||||
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
|
||||
|
||||
f_cf_Down();
|
||||
|
||||
} // End of testcase TC_S1AP_ENB_MNP_02
|
||||
|
||||
/**
|
||||
* @desc Verify that the IUT can successfully manage Reset procedure in case of Abnormal Condition at the E-UTRAN.
|
||||
* <pre>
|
||||
* Pics Selection: PICS A.3/6.1.1
|
||||
* direct information: CF_S1-MME
|
||||
* Ensure that the IUT
|
||||
* on receipt of a RESET
|
||||
* containing a Cause
|
||||
* indicating an appropriate cause value
|
||||
* containing a Reset_Type
|
||||
* containing a Part_of_S1_interface
|
||||
* indicating one empty ‘UE-associated_logical_S1-connection’
|
||||
* sends a RESET_ACKNOWLEDGE
|
||||
* containing a UE-associated_logical_S1-connection_list.
|
||||
* </pre>
|
||||
*
|
||||
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_MNP_03
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause 8.7.1.2.2¶1 and 9.1.8.1 and 9.1.8.2
|
||||
*/
|
||||
testcase TC_S1AP_ENB_MNP_03() runs on S1AP system TestAdapter {
|
||||
// Local variables
|
||||
var S1AP v_s1ap_enb;
|
||||
|
||||
// Test control
|
||||
if (not PICS_S1AP_eNB_IUT) {
|
||||
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
|
||||
stop;
|
||||
}
|
||||
|
||||
// Test component direct information
|
||||
f_cf_S1AP_eNB_Up(v_s1ap_enb);
|
||||
|
||||
// Start
|
||||
v_s1ap_enb.start(f_TC_S1AP_ENB_MNP_03());
|
||||
|
||||
// synchronize PTC on 1 sychronization points
|
||||
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
|
||||
|
||||
f_cf_Down();
|
||||
|
||||
} // End of testcase TC_S1AP_ENB_MNP_03
|
||||
|
||||
} // End of group Management_group
|
||||
|
||||
/**
|
||||
* @desc S1 CDMA 2000 tunnelling group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.8 S1 CDMA 2000 tunnelling group group
|
||||
*/
|
||||
group S1_CDMA_2000_tunelling_group {
|
||||
|
||||
/**
|
||||
* @desc Verify that the IUT can send a DOWNLINK_S1_CDMA2000_TUNNELLING.
|
||||
* <pre>
|
||||
* Pics Selection: PICS A.3/7.2
|
||||
* direct information: CF_S1-MME
|
||||
* Ensure that the IUT
|
||||
* to indicate a CDMA2000 to be forwarded
|
||||
* sends an UPLINK_S1_CDMA2000_TUNNELLING
|
||||
* containing an MME_UE_S1AP_ID
|
||||
* containing an eNB_UE_S1AP_ID
|
||||
* containing a CDMA2000_RAT_Type
|
||||
* containing a CDMA2000_Sector_ID
|
||||
* containing a CDMA2000_PDU.
|
||||
* </pre>
|
||||
*
|
||||
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_STP_01
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause 8.8.2.2¶1 and 9.1.9.2 and 9.2.1.23
|
||||
*/
|
||||
testcase TC_S1AP_ENB_STP_01() runs on S1AP system TestAdapter {
|
||||
// Local variables
|
||||
var S1AP v_s1ap_enb;
|
||||
|
||||
// Test control
|
||||
if (not PICS_S1AP_eNB_IUT) {
|
||||
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
|
||||
stop;
|
||||
}
|
||||
|
||||
// Test component direct information
|
||||
f_cf_S1AP_eNB_Up(v_s1ap_enb);
|
||||
|
||||
// Start
|
||||
v_s1ap_enb.start(f_TC_S1AP_ENB_STP_01());
|
||||
|
||||
// synchronize PTC on 1 sychronization points
|
||||
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
|
||||
|
||||
f_cf_Down();
|
||||
|
||||
} // End of testcase TC_S1AP_ENB_STP_01
|
||||
|
||||
} // End of group S1_CDMA_2000_tunelling_group
|
||||
|
||||
/**
|
||||
* @desc UE capability info indication group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.9 UE capability info indication group
|
||||
*/
|
||||
group UE_capability_info_indication_group {
|
||||
|
||||
/**
|
||||
* @desc Verify that the IUT can send a UE_CAPABILITY_INFO_INDICATION to indicate capability-related information update.
|
||||
* <pre>
|
||||
* Pics Selection: PICS A.3/8
|
||||
* direct information: CF_S1-MME
|
||||
* Ensure that the IUT
|
||||
* to indicate a capability-related information update
|
||||
* sends an UE_CAPABILITY_INFO_INDICATION
|
||||
* containing an MME_UE_S1AP_ID
|
||||
* containing an eNB_UE_S1AP_ID
|
||||
* containing a containing a UE_Radio_Capability.
|
||||
* </pre>
|
||||
*
|
||||
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_UEC_01
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause 8.9.2 and 9.1.10
|
||||
*/
|
||||
testcase TC_S1AP_ENB_UEC_01() runs on S1AP system TestAdapter {
|
||||
// Local variables
|
||||
var S1AP v_s1ap_enb;
|
||||
|
||||
// Test control
|
||||
if (not PICS_S1AP_eNB_IUT) {
|
||||
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
|
||||
stop;
|
||||
}
|
||||
|
||||
// Test component direct information
|
||||
f_cf_S1AP_eNB_Up(v_s1ap_enb);
|
||||
|
||||
// Start
|
||||
v_s1ap_enb.start(f_TC_S1AP_ENB_UEC_01());
|
||||
|
||||
// synchronize PTC on 1 sychronization points
|
||||
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
|
||||
|
||||
f_cf_Down();
|
||||
|
||||
} // End of testcase TC_S1AP_ENB_UEC_01
|
||||
|
||||
} // End of group UE_capability_info_indication_group
|
||||
|
||||
/**
|
||||
* @desc Trace Procedures group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.10 Trace group
|
||||
*/
|
||||
group Trace_group {
|
||||
|
@ -242,7 +471,7 @@ module S1AP_TestCases {
|
|||
* </pre>
|
||||
*
|
||||
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_TRP_02
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause Clause 8.10.3.2-3 and 8.10.2.2 and 9.1.11.3 and 9.1.11.2
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause 8.10.3.2-3 and 8.10.2.2 and 9.1.11.3 and 9.1.11.2
|
||||
*/
|
||||
testcase TC_S1AP_ENB_TRP_02() runs on S1AP system TestAdapter {
|
||||
// Local variables
|
||||
|
@ -267,10 +496,53 @@ module S1AP_TestCases {
|
|||
|
||||
} // End of testcase TC_S1AP_ENB_TRP_02
|
||||
|
||||
/**
|
||||
* @desc Verify that the IUT can send a CELL_TRAFFIC_TRACE when the conditions required for tracing are met.
|
||||
* <pre>
|
||||
* Pics Selection: PICS A.3/9.4
|
||||
* direct information: CF_S1-MME
|
||||
* Ensure that the IUT
|
||||
* to indicate the conditions required for tracing are met
|
||||
* sends CELL_TRAFFIC_TRACE
|
||||
* containing an MME_UE_S1AP_ID
|
||||
* containing an eNB_UE_S1AP_ID
|
||||
* containing an E-UTRAN_Trace_ID
|
||||
* containing an E-UTRAN_CGI
|
||||
* containing a PLMN_Identity
|
||||
* containing a Cell_Identity
|
||||
* containing a Trace_Collection_Entity_IP_Address.
|
||||
* </pre>
|
||||
*
|
||||
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_TRP_03
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause 8.10.4.2 and 9.1.18
|
||||
*/
|
||||
testcase TC_S1AP_ENB_TRP_03() runs on S1AP system TestAdapter {
|
||||
// Local variables
|
||||
var S1AP v_s1ap_enb;
|
||||
|
||||
// Test control
|
||||
if (not PICS_S1AP_eNB_IUT) {
|
||||
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
|
||||
stop;
|
||||
}
|
||||
|
||||
// Test component direct information
|
||||
f_cf_S1AP_eNB_Up(v_s1ap_enb);
|
||||
|
||||
// Start
|
||||
v_s1ap_enb.start(f_TC_S1AP_ENB_TRP_03());
|
||||
|
||||
// synchronize PTC on 1 sychronization points
|
||||
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
|
||||
|
||||
f_cf_Down();
|
||||
|
||||
} // End of testcase TC_S1AP_ENB_TRP_03
|
||||
|
||||
} // End of group Trace_group
|
||||
|
||||
/**
|
||||
* @desc Warning message transmission group
|
||||
* @desc Location Reporting Procedures group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.11 Location reporting group
|
||||
*/
|
||||
group Location_reporting_group {
|
||||
|
@ -822,7 +1094,7 @@ module S1AP_TestCases {
|
|||
* </pre>
|
||||
*
|
||||
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_LPP_02
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause Clause 8.17.2.4 and 9.1.19.4
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause 8.17.2.4 and 9.1.19.4
|
||||
*/
|
||||
testcase TC_S1AP_ENB_LPP_02() runs on S1AP system TestAdapter {
|
||||
// Local variables
|
||||
|
@ -851,7 +1123,7 @@ module S1AP_TestCases {
|
|||
|
||||
} // End of group eNB_Role
|
||||
|
||||
group MME_Role {
|
||||
group MME_Role { // TODO Review all preamble action: E-RAB Setup is exchanged for MME role, shall not be f_rABSetupRequest
|
||||
|
||||
/**
|
||||
* @desc E-RAB management group
|
||||
|
@ -906,6 +1178,146 @@ module S1AP_TestCases {
|
|||
|
||||
} // End of group ERAB_management_group
|
||||
|
||||
/**
|
||||
* @desc Management group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.7 Management group
|
||||
*/
|
||||
group Management_group {
|
||||
|
||||
/**
|
||||
* @desc Verify that the IUT can send a RESET to indicate a Reset procedure initiated from the MME.
|
||||
* <pre>
|
||||
* Pics Selection: A.4/6.1.2
|
||||
* direct information: CF_S1-MME
|
||||
* Ensure that the IUT
|
||||
* to indicate a Reset procedure initiated from the MME
|
||||
* sends a RESET
|
||||
* containing a Cause
|
||||
* indicating an appropriate cause value
|
||||
* containing a Reset_Type
|
||||
* containing a S1_Interface
|
||||
* indicating a value ‘Reset_all’.
|
||||
* </pre>
|
||||
*
|
||||
* @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MNP_01
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause 8.7.1.2.1¶2 and 9.1.8.1 and 9.1.8.2
|
||||
*/
|
||||
testcase TC_S1AP_MME_MNP_01() runs on S1AP system TestAdapter {
|
||||
// Local variables
|
||||
var S1AP v_s1ap_mme;
|
||||
|
||||
// Test control
|
||||
if (not PICS_S1AP_MME_IUT) {
|
||||
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_MME_IUT' shall be set to true for executing the TC. ***");
|
||||
stop;
|
||||
}
|
||||
|
||||
// Test component direct information
|
||||
f_cf_S1AP_MME_Up(v_s1ap_mme);
|
||||
|
||||
// Start
|
||||
v_s1ap_mme.start(f_TC_S1AP_MME_MNP_01());
|
||||
|
||||
// synchronize PTC on 1 sychronization points
|
||||
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
|
||||
|
||||
f_cf_Down();
|
||||
|
||||
} // End of testcase TC_S1AP_MME_MNP_01
|
||||
|
||||
/**
|
||||
* @desc Verify that the IUT can send process successfully all mandatory IEs in a RESET and send a RESET_ACKNOWLEDGE due to a Reset procedure initiated from the E-UTRAN.
|
||||
* <pre>
|
||||
* Pics Selection: A.4/6.1.1
|
||||
* direct information: CF_S1-MME
|
||||
* Ensure that the IUT
|
||||
* on receipt of a RESET
|
||||
* containing a Cause
|
||||
* indicating an appropriate cause value
|
||||
* containing a Reset_Type
|
||||
* containing an S1_Interface
|
||||
* indicating value ‘Reset_all’
|
||||
* sends a RESET_ACKNOWLEDGE
|
||||
* containing a UE-associated_logical_S1-connection_list.
|
||||
* </pre>
|
||||
*
|
||||
* @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MNP_02
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause 8.7.1.2.2¶1 and 9.1.8.1 and 9.1.8.2
|
||||
*/
|
||||
testcase TC_S1AP_MME_MNP_02() runs on S1AP system TestAdapter {
|
||||
// Local variables
|
||||
var S1AP v_s1ap_mme;
|
||||
|
||||
// Test control
|
||||
if (not PICS_S1AP_MME_IUT) {
|
||||
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_MME_IUT' shall be set to true for executing the TC. ***");
|
||||
stop;
|
||||
}
|
||||
|
||||
// Test component direct information
|
||||
f_cf_S1AP_MME_Up(v_s1ap_mme);
|
||||
|
||||
// Start
|
||||
v_s1ap_mme.start(f_TC_S1AP_MME_MNP_02());
|
||||
|
||||
// synchronize PTC on 1 sychronization points
|
||||
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
|
||||
|
||||
f_cf_Down();
|
||||
|
||||
} // End of testcase TC_S1AP_MME_MNP_02
|
||||
|
||||
} // End of group Management_group
|
||||
|
||||
/**
|
||||
* @desc S1 CDMA 2000 tunnelling group group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.8 S1 CDMA 2000 tunnelling group group
|
||||
*/
|
||||
group S1_CDMA_2000_tunelling_group {
|
||||
|
||||
/**
|
||||
* @desc Verify that the IUT can send a DOWNLINK_S1_CDMA2000_TUNNELLING.
|
||||
* <pre>
|
||||
* Pics Selection: PICS A.3/7.1
|
||||
* direct information: CF_S1-MME
|
||||
* Ensure that the IUT
|
||||
* to indicate a CDMA2000 signalling event
|
||||
* sends a DOWNLINK_S1_CDMA2000_TUNNELLING
|
||||
* containing an MME_UE_S1AP_ID
|
||||
* containing an eNB_UE_S1AP_ID
|
||||
* not containing an E-RABs_Subject_to_Forwarding_Lis
|
||||
* containing a CDMA2000_HO_type
|
||||
* containing a CDMA2000_PDU.
|
||||
* </pre>
|
||||
*
|
||||
* @see ETSI DTS/INT-00135-2 TP_S1AP_MME_STP_01
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause 8.8.2.1¶1 and 9.1.9.1
|
||||
*/
|
||||
testcase TC_S1AP_MME_STP_01() runs on S1AP system TestAdapter {
|
||||
// Local variables
|
||||
var S1AP v_s1ap_mme;
|
||||
|
||||
// Test control
|
||||
if (not PICS_S1AP_eNB_IUT) {
|
||||
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
|
||||
stop;
|
||||
}
|
||||
|
||||
// Test component direct information
|
||||
f_cf_S1AP_MME_Up(v_s1ap_mme);
|
||||
|
||||
// Start
|
||||
v_s1ap_mme.start(f_TC_S1AP_MME_STP_01());
|
||||
|
||||
// synchronize PTC on 1 sychronization points
|
||||
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
|
||||
|
||||
f_cf_Down();
|
||||
|
||||
} // End of testcase TC_S1AP_MME_STP_01
|
||||
|
||||
} // End of group S1_CDMA_2000_tunelling_group
|
||||
|
||||
/**
|
||||
* @desc Warning message transmission group
|
||||
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.10 Trace group
|
||||
|
@ -971,7 +1383,7 @@ module S1AP_TestCases {
|
|||
* </pre>
|
||||
*
|
||||
* @see ETSI DTS/INT-00135-2 TP_S1AP_MME_TRP_02
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause Clause 8.10.1.211 and 9.1.11.2
|
||||
* @reference ETSI TS 136 413 V13.4.0 Clause 8.10.1.211 and 9.1.11.2
|
||||
*/
|
||||
testcase TC_S1AP_MME_TRP_02() runs on S1AP system TestAdapter {
|
||||
// Local variables
|
||||
|
|
|
@ -18,47 +18,63 @@ module S1AP_TestControl {
|
|||
control {
|
||||
|
||||
if (PICS_S1AP_eNB_IUT) {
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.1.2 E-RAB management group
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.1.2 E-RAB management group
|
||||
execute(TC_S1AP_ENB_RAB_01());
|
||||
execute(TC_S1AP_ENB_RAB_02());
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.1.10 Trace group
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.1.7 Management group
|
||||
execute(TC_S1AP_ENB_MNP_01());
|
||||
execute(TC_S1AP_ENB_MNP_02());
|
||||
execute(TC_S1AP_ENB_MNP_03());
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.1.8 S1 CDMA 2000 tunnelling group
|
||||
execute(TC_S1AP_ENB_STP_01());
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.1.9 UE capability info indication group
|
||||
execute(TC_S1AP_ENB_UEC_01());
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.1.10 Trace group
|
||||
execute(TC_S1AP_ENB_TRP_01());
|
||||
execute(TC_S1AP_ENB_TRP_02());
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.1.11 Location reporting group
|
||||
execute(TC_S1AP_ENB_TRP_03());
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.1.11 Location reporting group
|
||||
execute(TC_S1AP_ENB_LRP_01());
|
||||
execute(TC_S1AP_ENB_LRP_02());
|
||||
execute(TC_S1AP_ENB_LRP_03());
|
||||
execute(TC_S1AP_ENB_LRP_04());
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.1.12 Warning message transmission group
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.1.12 Warning message transmission group
|
||||
execute(TC_S1AP_ENB_WTP_01());
|
||||
execute(TC_S1AP_ENB_WTP_02());
|
||||
execute(TC_S1AP_ENB_WTP_03());
|
||||
execute(TC_S1AP_ENB_WTP_04());
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.1.13 eNB direct information transfer group
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.1.13 eNB direct information transfer group
|
||||
execute(TC_S1AP_ENB_EIT_01());
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.1.16 eNB configuration transfer group
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.1.16 eNB configuration transfer group
|
||||
execute(TC_S1AP_ENB_ECT_01());
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.1.17 LPPa transport group
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.1.17 LPPa transport group
|
||||
execute(TC_S1AP_ENB_LPP_01());
|
||||
execute(TC_S1AP_ENB_LPP_02());
|
||||
}
|
||||
if (PICS_S1AP_MME_IUT) {
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.2.2 E-RAB management group
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.2.2 E-RAB management group
|
||||
execute(TC_S1AP_MME_RAB_01());
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.2.10 Trace group
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.2.7 Management group
|
||||
execute(TC_S1AP_MME_MNP_01());
|
||||
execute(TC_S1AP_MME_MNP_02());
|
||||
//execute(TC_S1AP_MME_MNP_02());
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.2.8 S1 CDMA 2000 tunnelling group
|
||||
execute(TC_S1AP_MME_STP_01());
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.2.10 Trace group
|
||||
execute(TC_S1AP_MME_TRP_01());
|
||||
execute(TC_S1AP_MME_TRP_02());
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.2.11 Location reporting group
|
||||
//execute(TC_S1AP_MME_TRP_03()); Identical to TC_S1AP_MME_TRP_02
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.2.11 Location reporting group
|
||||
execute(TC_S1AP_MME_LRP_01());
|
||||
execute(TC_S1AP_MME_LRP_02());
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.2.12 Warning message transmission group
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.2.12 Warning message transmission group
|
||||
execute(TC_S1AP_MME_WTP_01());
|
||||
execute(TC_S1AP_MME_WTP_01());
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.2.14 MME direct information transfer group
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.2.14 MME direct information transfer group
|
||||
execute(TC_S1AP_MME_MIT_01());
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.2.16 MME configuration transfer group
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.2.16 MME configuration transfer group
|
||||
execute(TC_S1AP_MME_MCT_01());
|
||||
// ETSI DTS/INT-00135-2 V0.0.8 Clause 5.2.2.2.17 LPPa transport group
|
||||
// ETSI DTS/INT-00135-2 V0.0.9 Clause 5.2.2.2.17 LPPa transport group
|
||||
execute(TC_S1AP_MME_LPP_01());
|
||||
execute(TC_S1AP_MME_LPP_02());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue