Commit dd4e3844 authored by pintar's avatar pintar
Browse files

Changes done during STF482 validation: week4/2015

parent 1eb14e11
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1526,7 +1526,7 @@ module DiameterS6a_MME_TCFunctions {
        function f_TC_MME_DSD_03() runs on DiameterComponent {
            
            // Local variables
            var User_Name_AVP                 v_user_Name         := m_userName ( PX_INVALID_USR_NAME );
            var User_Name_AVP                 v_user_Name         := m_userName ( PX_USR_NAME );
            var Auth_Session_State_AVP        v_noStateMaintained := md_auth_Session_State_noStateMaintained;
            var DSR_Flags_AVP                 v_dSR_Flags         := m_dsrFlags ( bit2int('1000'B) ); // PDN subscription contexts Withdrawal (bit 3)
            var Result_Code_AVP               v_resultCode        := mw_resultCode(DIAMETER_UNABLE_TO_COMPLY_E);
+12 −11
Original line number Diff line number Diff line
@@ -864,7 +864,7 @@ module DiameterS6a_Templates {
                template (value) Teleservice_List_AVP m_teleserviceListTsCode ( in template (value) TS_Code_AVP p_tSCode ) := {
                    aVP_Header    := m_aVP_HeaderVid_Mbit1 ( 
                                         c_teleservice_List_AVP_Code, 
										 f_getEncvalueLength ( encvalue ( p_tSCode ) ), 
                                         p_tSCode.aVP_Header.aVP_len,//f_getEncvalueLength ( encvalue ( p_tSCode ) ), 
                                         c_vendId3gpp ),
                    tS_Code       := { p_tSCode },
                    aVP_Type      := omit
@@ -873,7 +873,7 @@ module DiameterS6a_Templates {
				template (value) TS_Code_AVP m_tSCode ( in template (value) octetstring p_aVPData ) := {
					aVP_Header    := m_aVP_HeaderVid_Mbit1 ( 
										 c_ts_Code_AVP_Code, 
										 f_getEncvalueLength ( encvalue ( p_aVPData ) ), 
                                         f_getOctetStringLength ( p_aVPData ), 
										 c_vendId3gpp ),
					aVP_Data       := p_aVPData
				} // End of template m_tSCode
@@ -881,7 +881,7 @@ module DiameterS6a_Templates {
                template (value) SS_Code_AVP m_sSCode ( in template (value) octetstring p_aVPData ) := {
                    aVP_Header    := m_aVP_HeaderVid_Mbit1 ( 
										 c_ss_Code_AVP_Code, 
										 f_getEncvalueLength ( encvalue ( p_aVPData ) ), 
                                         f_getOctetStringLength(p_aVPData ), 
                                         c_vendId3gpp ),
					aVP_Data       := p_aVPData
                } // End of template m_sSCode
@@ -889,15 +889,15 @@ module DiameterS6a_Templates {
                template (value) SS_Status_AVP m_sSStatus ( in template (value) octetstring p_aVPData ) := {
                    aVP_Header    := m_aVP_HeaderVid_Mbit1 ( 
										 c_ss_Status_AVP_Code, 
										 f_getEncvalueLength ( encvalue ( p_aVPData ) ), 
                                         f_getOctetStringLength(p_aVPData ), 
                                         c_vendId3gpp ),
					aVP_Data       := p_aVPData
                } // End of template m_sSStatus

                template (value) CSG_Subscription_Data_AVP m_cSGSubscriptionData ( in template (value) LibDiameter_Types_S6a_AVPs.CSG_Id_AVP p_cSGId ) := {
                template (value) CSG_Subscription_Data_AVP m_cSGSubscriptionData ( in template (value) CSG_Id_AVP p_cSGId ) := {
                    aVP_Header    := m_aVP_HeaderVid_Mbit1 ( 
										 c_csg_Subscription_Data_AVP_Code, 
										 f_getEncvalueLength ( encvalue ( p_cSGId ) ), 
										 16, 
                                         c_vendId3gpp ),
                	cSG_Id       		:= p_cSGId,
                	expiration_Date		:= omit,
@@ -905,10 +905,10 @@ module DiameterS6a_Templates {
                	aVP_Type			:= omit
				} // End of template m_cSGSubscriptionData
                
                template (value) LibDiameter_Types_S6a_AVPs.CSG_Id_AVP m_cSGId ( in template (value) UInt32 p_aVPData ) := {
                template (value) CSG_Id_AVP m_cSGId ( in template (value) UInt32 p_aVPData ) := {
                    aVP_Header    := m_aVP_HeaderVid_Mbit1 ( 
										 DiameterS6a_TypesAndValues.c_csg_Id_AVP_Code, 
										 f_getEncvalueLength ( encvalue ( p_aVPData ) ), 
										 c_csg_Id_AVP_Code, 
										 4, 
                                         c_vendId3gpp ),
					aVP_Data       := p_aVPData
                } // End of template m_cSGId
@@ -981,7 +981,7 @@ module DiameterS6a_Templates {
                template (value) GPRS_Subscription_Data_AVP m_gprsSubscriptionData ( in template (value) Complete_DL_Included_Indicator_AVP p_completeDLIncludedIndicator,
                    in template (value) PDP_Context_AVP p_pDPContext ) := {
                    aVP_Header:= m_aVP_HeaderVid_Mbit1 ( 
                        c_complete_Data_List_Included_Indicator_AVP_Code,
                        c_gprs_Subscription_Data_AVP_Code,
                        f_getEncvalueLength ( encvalue ( p_completeDLIncludedIndicator ) )
                        + f_getEncvalueLength ( encvalue ( p_pDPContext ) ), 
                        c_vendId3gpp ),
@@ -1455,7 +1455,8 @@ module DiameterS6a_Templates {
                modifies mw_aPN_Configuration_dummy := {
                    service_Selection               := ?,
                    ePS_Subscribed_QoS_Profile      := ?,
                    aMBR                            := ?
                    aMBR                            := ?,
                    specific_APN_Info               := omit
                } // End of template mw_aPN_Configurations
                
                template Supported_Features_AVP mw_supportedFeatures
+1 −1
Original line number Diff line number Diff line
@@ -1690,7 +1690,7 @@ module DiameterS6a_TestCases {
             *        when {
             *            the IUT receives an DS-Request
             *                containing a User-Name AVP
             *                    indicating not known IMSI
             *                    indicating known IMSI
             *                containing a Context-Identifier AVP
             *                    indicating default APN configuration
             *                containing a DSR-Flags AVP