Commit fc6ca2df authored by Yann Garcia's avatar Yann Garcia
Browse files

Bug fixed in LibNGAP_Functions

parent 4ce73b99
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -7,8 +7,8 @@ LibCommon_Time.PX_TDONE := 30.0;
LibCommon_Time.PX_TAC                   := 30.0;
LibCommon_Time.PX_TNOAC                 := 10.0;
LibCommon_Time.PX_TWAIT                 := 30.0;
LibCommon_Sync.PX_TSYNC_TIME_LIMIT      := 30.0;
LibCommon_Sync.PX_TSHUT_DOWN_TIME_LIMIT := 30.0;
LibCommon_Sync.PX_TSYNC_TIME_LIMIT      := 10.0;
LibCommon_Sync.PX_TSHUT_DOWN_TIME_LIMIT := 10.0;

NGAP_Pics.PICS_NGAP_AMF_IUT    := true
NGAP_Pics.PICS_NGAP_GNB_IUT    := false
@@ -106,9 +106,9 @@ system.NGAP_AMF.params := "NGAP/SCTP(server=127.0.0.5,port=38412,debug=1)"
#AtsImsIot_TestControl.control

# Verify that the IUT can send a  PDU SESSION RESOURCE SETUP REQUEST with at least one PDU session resource list to established PDU session.
#NGAP_TestCases.TC_NGAP_AMF_PDU_01
NGAP_TestCases.TC_NGAP_AMF_PDU_01
# Verify that the IUT can send a  PDU_SESSION_RESOURCE_RELEASE_COMMAND to release PDU session.
NGAP_TestCases.TC_NGAP_AMF_PDU_02
#NGAP_TestCases.TC_NGAP_AMF_PDU_02
# Verify that the IUT can send a  PDU_SESSION_RESOURCE_MODIFY_REQUEST to modify PDU session.
#NGAP_TestCases.TC_NGAP_AMF_PDU_03
# Verify that the AMF node successfully processes a  PDU_SESSION_RESOURCE_MODIFY_INDICATION contains mandatory IEs and answers with PDU_SESSION_RESOURCE_MODIFY_CONFIRM for successfully modified PDU session.
Original line number Diff line number Diff line
Subproject commit 0354bd8fa2f1f85d39c35a8dc5e38416ab9db5cf
Subproject commit 121a69523b384a23c11e51396d644071aa15b60d
+16 −16
Original line number Diff line number Diff line
@@ -266,10 +266,6 @@ module NGAP_Steps { // TODO FSCOM f_xxx_UE_SecurityMode to be mmoved into NAG_NG
            log(">>> f_NGAP_amf_UE_SecurityMode");
            if (PICS_OFFLINE_MODE) {
                f_await_security_mode_command_await_security_mode_complete();
            } else { // Await security mode and send response
                f_await_security_mode_command_send_security_mode_complete();
            }

                if (not isbound(vc_inner_message) or (lengthof(vc_inner_message) == 0)) {
                    log("f_NGAP_gnb_UE_SecurityMode: vc_inner_message is not bound or empty");
                    setverdict(fail, "Security Mode Command message content is not available for verification");
@@ -286,6 +282,10 @@ module NGAP_Steps { // TODO FSCOM f_xxx_UE_SecurityMode to be mmoved into NAG_NG
                        // FIXME FSCOM To be enhanced with verification of the inner message
                    }
                }
            } else { // Await security mode and send response
                f_await_security_mode_command_send_security_mode_complete();
            }

            log("<<< f_NGAP_amf_UE_SecurityMode");
        } // End of function f_NGAP_amf_UE_SecurityMode

+1 −1
Original line number Diff line number Diff line
@@ -263,7 +263,7 @@ module LibNGAP_Functions {
                                                                                      m_ng_ue_security_capability
                                                            ));
        // Save message in global variable for later use
        vc_registration_request := vc_recvNgNasUl_Msg.registration_Request;
        vc_registration_request := v_nas_message.registration_Request;
        // Send it
        log("f_send_registration_request: v_nas_message: ", v_nas_message);
        log(bit2oct(encvalue(valueof(v_nas_message))))