Loading ttcn/AtsNGAP/NGAP_TCFunctions.ttcn +112 −78 Original line number Diff line number Diff line Loading @@ -81,29 +81,40 @@ module NGAP_TCFunctions { f_send_NGAP_PDU( m_ngap_initMsg( m_n2_PDUSessionResourceSetupRequest( 1, 1, //m_ie_pDUSessionResourceSetupListSUReq( -, -, { m_pDUSessionResourceSetupItemSUReq( 0, -, m_s_NSSAI('00'O, '000000'O), '00'O //TODO replace with template /*bit2oct(encvalue(m_ie_pDUSessResSetReqTrIEs( m_uPTLInf(m_gTPTunnel( '0'B', '00000000'O(-))), m_ie_PDUSessionType(-), m_ie_qosFlowSetReqList({}) )))*/ ) bit2oct( encvalue( m_pDUSessionResourceSetupRequestTransfer( m_pDUSessionResourceSetupRequestTransfer_mandatories( m_pDUSessionType(ipv4), { m_qosFlowSetupRequestItem( PX_QOS_FLOW_IDENTIFIER, m_qosFlowLevelQosParameters( m_qosCharacteristics_dynamic5QI( m_dynamic5QIDescriptor( 1,//in template (value) PriorityLevelQos p_priorityLevelQos, 0,//in template (value) PacketDelayBudget p_packetDelayBudget, m_PacketErrorRate( 0,//in template (value) PacketErrorRate.pERScalar p_pERScalar, 0//in template (value) PacketErrorRate.pERExponent p_pERExponent ))), m_allocationAndRetentionPriority( 1,//in template (value) PriorityLevelARP p_priorityLevelARP, shall_not_trigger_pre_emption,//in template (value) Pre_emptionCapability p_pre_emptionCapability, not_pre_emptable//in template (value) Pre_emptionVulnerability p_pre_emptionVulnerability, ))) }, m_uPTransportLayerInformation_gTPTunnel( m_gTPTunnel )))))) } //) ) ) ); ))); f_recv_NGAP_PDU( Loading Loading @@ -161,6 +172,35 @@ module NGAP_TCFunctions { -, -, { m_pDUSessionResourceSetupItemSUReq( -, m_s_NSSAI('00'O, '000000'O), bit2oct( encvalue( m_pDUSessionResourceSetupRequestTransfer( m_pDUSessionResourceSetupRequestTransfer_mandatories( m_pDUSessionType(ipv4), { m_qosFlowSetupRequestItem( PX_QOS_FLOW_IDENTIFIER, m_qosFlowLevelQosParameters( m_qosCharacteristics_dynamic5QI( m_dynamic5QIDescriptor( 1,//in template (value) PriorityLevelQos p_priorityLevelQos, 0,//in template (value) PacketDelayBudget p_packetDelayBudget, m_PacketErrorRate( 0,//in template (value) PacketErrorRate.pERScalar p_pERScalar, 0//in template (value) PacketErrorRate.pERExponent p_pERExponent ))), m_allocationAndRetentionPriority( 1,//in template (value) PriorityLevelARP p_priorityLevelARP, shall_not_trigger_pre_emption,//in template (value) Pre_emptionCapability p_pre_emptionCapability, not_pre_emptable//in template (value) Pre_emptionVulnerability p_pre_emptionVulnerability, ))) }, m_uPTransportLayerInformation_gTPTunnel( m_gTPTunnel )))))), m_pDUSessionResourceSetupItemSUReq( -, m_s_NSSAI('00'O, '000000'O), Loading Loading @@ -200,20 +240,14 @@ module NGAP_TCFunctions { -, //? //TODO replace with template { (mw_pDUSessionResourceSetupItemSURes( ?,//template (present) PDUSessionID p_pDUSessionID, //mw_pDUSessionResourceSetupResponseTransfer( // ?,//template (present) QosFlowPerTNLInformation p_dLQosFlowPerTNLInformation := ?, // *,//template QosFlowPerTNLInformationList p_additionalDLQosFlowPerTNLInformation := *, // *,//template SecurityResult p_securityResult := *, // *,//template QosFlowListWithCause p_qosFlowFailedToSetupList := *, // *//template PDUSessionResourceSetupResponseTransfer.iE_Extensions p_iE_Extensions := * // ), In ASN1 it is OCTET STRING - PDUSessionResourceSetupResponseTransfer ?,//template (present) PDUSessionResourceSetupItemSURes.pDUSessionResourceSetupResponseTransfer p_pDUSessionResourceSetupResponseTransfer := ?, *//template PDUSessionResourceSetupItemSURes.iE_Extensions p_iE_Extensions := * ) * ) //FIXME: when template Ready //mw_pDUSessionResourceFailedToSetupItemSURes( // ?, // ?, // * //) } ) ) Loading Loading
ttcn/AtsNGAP/NGAP_TCFunctions.ttcn +112 −78 Original line number Diff line number Diff line Loading @@ -81,29 +81,40 @@ module NGAP_TCFunctions { f_send_NGAP_PDU( m_ngap_initMsg( m_n2_PDUSessionResourceSetupRequest( 1, 1, //m_ie_pDUSessionResourceSetupListSUReq( -, -, { m_pDUSessionResourceSetupItemSUReq( 0, -, m_s_NSSAI('00'O, '000000'O), '00'O //TODO replace with template /*bit2oct(encvalue(m_ie_pDUSessResSetReqTrIEs( m_uPTLInf(m_gTPTunnel( '0'B', '00000000'O(-))), m_ie_PDUSessionType(-), m_ie_qosFlowSetReqList({}) )))*/ ) bit2oct( encvalue( m_pDUSessionResourceSetupRequestTransfer( m_pDUSessionResourceSetupRequestTransfer_mandatories( m_pDUSessionType(ipv4), { m_qosFlowSetupRequestItem( PX_QOS_FLOW_IDENTIFIER, m_qosFlowLevelQosParameters( m_qosCharacteristics_dynamic5QI( m_dynamic5QIDescriptor( 1,//in template (value) PriorityLevelQos p_priorityLevelQos, 0,//in template (value) PacketDelayBudget p_packetDelayBudget, m_PacketErrorRate( 0,//in template (value) PacketErrorRate.pERScalar p_pERScalar, 0//in template (value) PacketErrorRate.pERExponent p_pERExponent ))), m_allocationAndRetentionPriority( 1,//in template (value) PriorityLevelARP p_priorityLevelARP, shall_not_trigger_pre_emption,//in template (value) Pre_emptionCapability p_pre_emptionCapability, not_pre_emptable//in template (value) Pre_emptionVulnerability p_pre_emptionVulnerability, ))) }, m_uPTransportLayerInformation_gTPTunnel( m_gTPTunnel )))))) } //) ) ) ); ))); f_recv_NGAP_PDU( Loading Loading @@ -161,6 +172,35 @@ module NGAP_TCFunctions { -, -, { m_pDUSessionResourceSetupItemSUReq( -, m_s_NSSAI('00'O, '000000'O), bit2oct( encvalue( m_pDUSessionResourceSetupRequestTransfer( m_pDUSessionResourceSetupRequestTransfer_mandatories( m_pDUSessionType(ipv4), { m_qosFlowSetupRequestItem( PX_QOS_FLOW_IDENTIFIER, m_qosFlowLevelQosParameters( m_qosCharacteristics_dynamic5QI( m_dynamic5QIDescriptor( 1,//in template (value) PriorityLevelQos p_priorityLevelQos, 0,//in template (value) PacketDelayBudget p_packetDelayBudget, m_PacketErrorRate( 0,//in template (value) PacketErrorRate.pERScalar p_pERScalar, 0//in template (value) PacketErrorRate.pERExponent p_pERExponent ))), m_allocationAndRetentionPriority( 1,//in template (value) PriorityLevelARP p_priorityLevelARP, shall_not_trigger_pre_emption,//in template (value) Pre_emptionCapability p_pre_emptionCapability, not_pre_emptable//in template (value) Pre_emptionVulnerability p_pre_emptionVulnerability, ))) }, m_uPTransportLayerInformation_gTPTunnel( m_gTPTunnel )))))), m_pDUSessionResourceSetupItemSUReq( -, m_s_NSSAI('00'O, '000000'O), Loading Loading @@ -200,20 +240,14 @@ module NGAP_TCFunctions { -, //? //TODO replace with template { (mw_pDUSessionResourceSetupItemSURes( ?,//template (present) PDUSessionID p_pDUSessionID, //mw_pDUSessionResourceSetupResponseTransfer( // ?,//template (present) QosFlowPerTNLInformation p_dLQosFlowPerTNLInformation := ?, // *,//template QosFlowPerTNLInformationList p_additionalDLQosFlowPerTNLInformation := *, // *,//template SecurityResult p_securityResult := *, // *,//template QosFlowListWithCause p_qosFlowFailedToSetupList := *, // *//template PDUSessionResourceSetupResponseTransfer.iE_Extensions p_iE_Extensions := * // ), In ASN1 it is OCTET STRING - PDUSessionResourceSetupResponseTransfer ?,//template (present) PDUSessionResourceSetupItemSURes.pDUSessionResourceSetupResponseTransfer p_pDUSessionResourceSetupResponseTransfer := ?, *//template PDUSessionResourceSetupItemSURes.iE_Extensions p_iE_Extensions := * ) * ) //FIXME: when template Ready //mw_pDUSessionResourceFailedToSetupItemSURes( // ?, // ?, // * //) } ) ) Loading