Loading ttcn/Lib_NG_NAS/Lib_NG_NAS_Interface.ttcn 0 → 100644 +51 −0 Original line number Diff line number Diff line /** * @author ETSI / STF * @version $URL:$ * $Id:$ * @desc This module provides the types used by the test component for NGAP tests. * @copyright ETSI Copyright Notification * No part may be reproduced except as authorized by written permission. * The copyright and the foregoing restriction extend to reproduction in all media. * All rights reserved. * @see ETSI TS / 3GPP TS */ module Lib_NG_NAS_Interface { // LibCommon import from LibCommon_Sync all; // LibNGAP //import from NGAP_IEs language "ASN.1:1997" all; //import from NGAP_PDU_Descriptions language "ASN.1:1997" all; //import from LibNGAP_Pixits all; import from LibNGAP_Interface all; group portDefinitions { } // End of group portDefinitions group interfacePorts { type component NASComponent extends NGAPComponent {//extends SelfSyncComp { // Port //port NGAPPort N2_gNBaMF_P; // Global variables var octetstring vc_recvNAS_PDUDefault ; // Init of values at component started // General timers //timer tc_wait := PX_NGAP_TWAIT; //timer tc_delay := 0.3; // delay next Request // Variables for storing default references var default vc_default_nas; var default vc_def_catchSyncStop_nas; } // End of type component NASComponent } // End of group interfacePorts } // End of module LibNAS_Interface ttcn/Lib_NG_NAS/NG_NAS_EncdecDeclarations 0 → 100644 +46 −0 Original line number Diff line number Diff line module NG_NAS_EncdecDeclarations { import from NG_NAS_MsgContainers all; import from NG_NAS_TypeDefs all; import from EAP_TypeDefs all; external function fx_enc_NG_NAS_UL_Message_Type (NG_NAS_UL_Message_Type p) return bitstring //with {extension "prototype(convert) encode(NAS Types)"} external function fx_dec_NG_NAS_UL_Message_Type (inout bitstring pdu, out NG_NAS_UL_Message_Type p) return integer //with {extension "prototype(sliding) decode(NAS Types)"} external function fx_enc_NG_NAS_DL_Message_Type (NG_NAS_DL_Message_Type p) return bitstring //with {extension "prototype(convert) encode(NAS Types)"} external function fx_dec_NG_NAS_DL_Message_Type (inout bitstring pdu, out NG_NAS_DL_Message_Type p) return integer //with {extension "prototype(sliding) decode(NAS Types)"} //external function fx_dec_NG_NAS_DL_Message_Type (in octetstring pdu) return NG_NAS_DL_Message_Type //with {extension "prototype(convert)" // extension "decode(RAW)" // }; external function fx_enc_IntraN1TransparentContainer (IntraN1TransparentContainer p) return bitstring //with {extension "prototype(convert) encode(NAS Types)"} external function fx_dec_IntraN1TransparentContainer (inout bitstring pdu, out IntraN1TransparentContainer p) return integer //with {extension "prototype(sliding) decode(NAS Types)"} external function fx_enc_CIoTSmallDataContainer (CIoTSmallDataContainer p) return bitstring //with {extension "prototype(convert) encode(NAS Types)"} external function fx_dec_CIoTSmallDataContainer (inout bitstring pdu, out CIoTSmallDataContainer p) return integer //with {extension "prototype(sliding) decode(NAS Types)"} external function fx_enc_EAP_Message_Type (EAP_Message_Type p) return bitstring with {extension "prototype(convert) encode(EAP Types)"} external function fx_dec_EAP_Message_Type (inout bitstring pdu, out EAP_Message_Type p) return integer with {extension "prototype(sliding) decode(EAP Types)"} } // End of module module NG_NAS_EncdecDeclarations Loading
ttcn/Lib_NG_NAS/Lib_NG_NAS_Interface.ttcn 0 → 100644 +51 −0 Original line number Diff line number Diff line /** * @author ETSI / STF * @version $URL:$ * $Id:$ * @desc This module provides the types used by the test component for NGAP tests. * @copyright ETSI Copyright Notification * No part may be reproduced except as authorized by written permission. * The copyright and the foregoing restriction extend to reproduction in all media. * All rights reserved. * @see ETSI TS / 3GPP TS */ module Lib_NG_NAS_Interface { // LibCommon import from LibCommon_Sync all; // LibNGAP //import from NGAP_IEs language "ASN.1:1997" all; //import from NGAP_PDU_Descriptions language "ASN.1:1997" all; //import from LibNGAP_Pixits all; import from LibNGAP_Interface all; group portDefinitions { } // End of group portDefinitions group interfacePorts { type component NASComponent extends NGAPComponent {//extends SelfSyncComp { // Port //port NGAPPort N2_gNBaMF_P; // Global variables var octetstring vc_recvNAS_PDUDefault ; // Init of values at component started // General timers //timer tc_wait := PX_NGAP_TWAIT; //timer tc_delay := 0.3; // delay next Request // Variables for storing default references var default vc_default_nas; var default vc_def_catchSyncStop_nas; } // End of type component NASComponent } // End of group interfacePorts } // End of module LibNAS_Interface
ttcn/Lib_NG_NAS/NG_NAS_EncdecDeclarations 0 → 100644 +46 −0 Original line number Diff line number Diff line module NG_NAS_EncdecDeclarations { import from NG_NAS_MsgContainers all; import from NG_NAS_TypeDefs all; import from EAP_TypeDefs all; external function fx_enc_NG_NAS_UL_Message_Type (NG_NAS_UL_Message_Type p) return bitstring //with {extension "prototype(convert) encode(NAS Types)"} external function fx_dec_NG_NAS_UL_Message_Type (inout bitstring pdu, out NG_NAS_UL_Message_Type p) return integer //with {extension "prototype(sliding) decode(NAS Types)"} external function fx_enc_NG_NAS_DL_Message_Type (NG_NAS_DL_Message_Type p) return bitstring //with {extension "prototype(convert) encode(NAS Types)"} external function fx_dec_NG_NAS_DL_Message_Type (inout bitstring pdu, out NG_NAS_DL_Message_Type p) return integer //with {extension "prototype(sliding) decode(NAS Types)"} //external function fx_dec_NG_NAS_DL_Message_Type (in octetstring pdu) return NG_NAS_DL_Message_Type //with {extension "prototype(convert)" // extension "decode(RAW)" // }; external function fx_enc_IntraN1TransparentContainer (IntraN1TransparentContainer p) return bitstring //with {extension "prototype(convert) encode(NAS Types)"} external function fx_dec_IntraN1TransparentContainer (inout bitstring pdu, out IntraN1TransparentContainer p) return integer //with {extension "prototype(sliding) decode(NAS Types)"} external function fx_enc_CIoTSmallDataContainer (CIoTSmallDataContainer p) return bitstring //with {extension "prototype(convert) encode(NAS Types)"} external function fx_dec_CIoTSmallDataContainer (inout bitstring pdu, out CIoTSmallDataContainer p) return integer //with {extension "prototype(sliding) decode(NAS Types)"} external function fx_enc_EAP_Message_Type (EAP_Message_Type p) return bitstring with {extension "prototype(convert) encode(EAP Types)"} external function fx_dec_EAP_Message_Type (inout bitstring pdu, out EAP_Message_Type p) return integer with {extension "prototype(sliding) decode(EAP Types)"} } // End of module module NG_NAS_EncdecDeclarations