Commit aac02923 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

NGAP TP added

parent 5593b6ea
Loading
Loading
Loading
Loading
+127 −0
Original line number Diff line number Diff line
/*
Copyright (c) ETSI 2024.

This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.

ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
*/

/* interface at AMF */
Package TP_AMF_NGAP {
	
    import all from Ngnas_Common;
	 
	Test Purpose {
	
    TP Id TP_5GAP_NAS_01 
    
    Test objective "The IUT is able to receive an INITIAL_UE_MESSAGE to indicate a NAS transport procedure and reply with INITIAL_CONTEXT_SETUP_RESPONSE."
    
    Reference 
        "ETSI TS 138 413 [1], Clauses 8.6.2.2, 9.2.5.1, 9.2.5.2 and 9.2.2.1-3" 
    
    Config Id CF_AMF_N2N1
    
    PICS Selection NONE
    
    Initial conditions with {
            the UE entity isNotRegisteredTo the AMF
    }
    
    Expected behaviour
        ensure that {
            when {
               the IUT entity receives an INITIAL_UE_MESSAGE containing
                   RAN_UE_NGAP_ID indicating value PX_RAN_UE_NGAP_ID,
                   NAS_PDU, //(see note)
                   User_Location_Information containing
                       nR_CGI containing
                           pLMNIdentity containing
                               MCC indicating value PX_MCC,
	                           MNC indicating value PX_MNC;,
	                       nRCellIdentity indicating value PX_NR_CELL_IDENTITY;,
                       tAI containing
                           pLMNIdentity containing
                               MCC indicating value PX_MCC,
	                           MNC indicating value PX_MNC;,
                           tAC indicating value PX_TAC;;,
                   RRC_Establishmnet_Cause indicating value "mo-signalling",
                   UE_Context_Request containing
                       UEContextRequest indicating value '0';; //requested
               from the GNB entity
            }
            then {
               the IUT entity sends a INITIAL_CONTEXT_SETUP_RESPONSE containing
                   AMF_UE_NGAP_ID indicating value RV_AMF_UE_NGAP_ID,
                   RAN_UE_NGAP_ID indicating value PX_RAN_UE_NGAP_ID,
                   GUAMI containing
                       pLMNIdentity containing
                               MCC indicating value PX_MCC,
	                           MNC indicating value PX_MNC;,
	                   aMFRegionID indicating value RV_AMFRegionID,
	                   aMFSetID indicating value RV_AMFSetID,
	                   aMFPointerID indicating value RV_AMFPointerID;,
                   NAS_PDU; //(see note)
               to the GNB entity       
            }
        }
    }// end TP_5GAP_NAS_01
	 
	Test Purpose {
	
    TP Id TP_5GAP_NAS_01 
    
    Test objective "The IUT is able to receive an INITIAL_UE_MESSAGE to indicate a NAS transport procedure and reply with DOWNLINK_NAS_TRANSPORT."
    
    Reference 
        "ETSI TS 138 413 [1], Clauses 8.6.2.2, 9.2.5.1 and 9.2.5.2" 
    
    Config Id CF_AMF_N2N1
    
    PICS Selection NONE
    
    Initial conditions with {
            the UE entity isNotRegisteredTo the AMF
    }
    
    Expected behaviour
        ensure that {
            when {
               the IUT entity receives an INITIAL_UE_MESSAGE containing
                   RAN_UE_NGAP_ID indicating value PX_RAN_UE_NGAP_ID,
                   NAS_PDU, //(see note)
                   User_Location_Information containing
                       nR_CGI containing
                           pLMNIdentity containing
                               MCC indicating value PX_MCC,
	                           MNC indicating value PX_MNC;,
	                       nRCellIdentity indicating value PX_NR_CELL_IDENTITY;,
                       tAI containing
                           pLMNIdentity containing
                               MCC indicating value PX_MCC,
	                           MNC indicating value PX_MNC;,
                           tAC indicating value PX_TAC;;,
                   RRC_Establishmnet_Cause indicating value "mo-signalling",
                   UE_Context_Request containing
                       UEContextRequest indicating value '0';; //requested
               from the GNB entity
            }
            then {
               the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
                   AMF_UE_NGAP_ID indicating value RV_AMF_UE_NGAP_ID,
                   RAN_UE_NGAP_ID indicating value PX_RAN_UE_NGAP_ID,
                   NAS_PDU; //(see note)
               to the GNB entity       
            }
        }
    }// end TP_5GAP_NAS_01
        
} // End of Package TP_AMF_NGAP