Commit 6f203e3d authored by garciay's avatar garciay
Browse files

Session Week #35:

- Terminate TPs implementation
- Start QoS review
parent b5b00856
Loading
Loading
Loading
Loading
+19 −2
Changes for LibGtpv2C_Configuration.ttcn: 19 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -479,11 +479,28 @@ module LibGtpv2C_Configuration {
        function f_calculateInformationElementLength_bearerContext(
                                                                   in template (value) BearerContext p_bearer_context
        ) return BearerContext { 
            p_bearer_context.length_ := sizeof(p_bearer_context) - 4/*Size of IE mandatory fields*/; // FIXME To be reviewed
            
            var octetstring v_encoded_value := bit2oct(encvalue(p_bearer_context));
            p_bearer_context.length_ := lengthof(v_encoded_value) - 4/*Size of IE mandatory fields*/; 
            return valueof(p_bearer_context);
        } // End of function f_calculateInformationElementLength_bearerContext
        
        /**
         * @desc Update length filed according to the content
         * @see ETSI TS 129 274 V9.13.0 Clause 8.25 S103 PDN Data Forwarding Info (S103PDF)
         * @see ETSI TS 129 274 V9.13.0 Figure 8.25-1: S103 PDN Data Forwarding Info
         */
        function f_calculateInformationElementLength_s103PpdDataForwardingInfo(
                                                                               in template (value) S103PpdDataForwardingInfo p_s103PpdDataForwardingInfo
        ) return S103PpdDataForwardingInfo {
            if (ischosen(p_s103PpdDataForwardingInfo.hsgwAddressContainer.ipv4Address)) {
                p_s103PpdDataForwardingInfo.hsgwAddressLength := 4;
            } else {
                p_s103PpdDataForwardingInfo.hsgwAddressLength := 16;
            }
            p_s103PpdDataForwardingInfo.length_ := 7 + valueof(p_s103PpdDataForwardingInfo.hsgwAddressLength); 
            return valueof(p_s103PpdDataForwardingInfo);
        } // End of function f_calculateInformationElementLength_s103PpdDataForwardingInfo
        
    } // End of group tlviVariableLengthCalculations 
    
    group helperFunctions { 
+291 −28

File changed.

Preview size limit exceeded, changes collapsed.

+30 −0
Changes for LibGtpv2C_Pics.ttcn: 30 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -173,6 +173,24 @@ module LibGtpv2C_Pics {
         */
        modulepar boolean PICS_MME_RESUME_NOTIFICATION := true;
        
        /**
         * @desc Does the IUT support Create Forwarding Tunnel Request?
         * @see  ETSI TS 103 202-1 V0.0.3 (2013-10) Table A.3/20
         */
        modulepar boolean PICS_MME_CREATE_FORWARDING_TUNNEL_REQUEST := true;
        
        /**
         * @desc Does the IUT support Delete PDN Connection Set Request?
         * @see  ETSI TS 103 202-1 V0.0.3 (2013-10) Table A.3/33
         */
        modulepar boolean PICS_MME_DELETE_PDN_CONNECTION_SET_REQUEST := true;
        
        /**
         * @desc Does the IUT support Delete PDN Connection Set Response?
         * @see  ETSI TS 103 202-1 V0.0.3 (2013-10) Table A.334
         */
        modulepar boolean PICS_MME_DELETE_PDN_CONNECTION_SET_RESPONSE := true;
        
        /**
         * @desc Does the IUT support Trace Session Activation?
         * @see  ETSI TS 103 202-1 V0.0.3 (2013-10) Table A.3/36
@@ -291,6 +309,18 @@ module LibGtpv2C_Pics {
         */
        modulepar boolean PICS_SGW_RESUME_ACKNOWLEDGE := true;
        
        /**
         * @desc Does the IUT support Create Forwarding Tunnel Response?
         * @see  ETSI TS 103 202-1 V0.0.3 (2013-10) Table A.4/21
         */
        modulepar boolean PICS_SGW_CREATE_FORWARDING_TUNNEL_RESPONSE := true;
        
        /**
         * @desc Does the IUT support Delete PDN Connection Set Request?
         * @see  ETSI TS 103 202-1 V0.0.3 (2013-10) Table A.4/21
         */
        modulepar boolean PICS_SGW_DELETE_PDN_CONNECTION_SET_REQUEST := true;
        
    } // End of sgwSystemCapabilities
    
} // End of module LibGtpv2C_Pics 
+18 −0
Changes for LibGtpv2C_Pixits.ttcn: 18 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -280,6 +280,24 @@ module LibGtpv2C_Pixits {
     */
    modulepar UInt32 PX_AMBR_DL := 500;
    
    /**
     * @desc Global unicast address
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/45
     */
    modulepar Oct4to16 PX_NODE_ID := '00000000'O;
    
    /**
     * @desc PDN Connection Set Identifier list
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/46
     */
    modulepar Csids PX_CSIDS := { 0 };
    
    /**
     * @desc Number of item in the PDN Connection Set Identifier list
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/47
     */
    modulepar Bit4 PX_CSIDS_NUM := int2bit(1, 4);
    
    /**
     * @desc PCO paylod
     */
+341 −66

File changed.

Preview size limit exceeded, changes collapsed.

Loading