Commit 327731ab authored by rennoch's avatar rennoch
Browse files

mMe_CMP_05

parent 5f6d94d8
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
@@ -801,6 +801,17 @@ module LibS1AP_Steps {
            f_recv_S1AP_initiatingMessage(mw_UeContextModificationIndication(p_value))
        } // End of f_recv_Ue_Context_Modification_Indication
        
		/**
		* @desc Receive S1AP Message UE Context Modification Confirm
		* @param p_value Receive template for UE CONTEXT MODIFICATION Indication
		* @see ETSI TS 136 413 V13.4.0 Clause 9.1.4.14 UE CONTEXT MODIFICATION Confirm
		*/
		function f_recv_Ue_Context_Modification_Confirm(
										template (present) RecordOf_ProtocolIE p_value := ?
		) runs on S1APComponent {
			f_recv_S1AP_initiatingMessage(mw_UeContextModificationConfirm(p_value))
		} // End of f_recv_Ue_Context_Modification_Confirm

        /**
        * @desc Receive S1AP Message UE Context Suspend Request
        * @param p_value Receive template for UE CONTEXT Suspend Request
@@ -1177,6 +1188,19 @@ module LibS1AP_Steps {
            f_send_S1AP_initiatingMessage(m_UeContextModificationRequest(p_value))
        } // End of f_send_UE_Context_Modification_Request


		/**
		* @desc Send S1AP Message UE Context Modification Indication
		* @param p_value Send template for UE CONTEXT MODIFICATION INDICATION
		* @see ETSI TS 136 413 V13.4.0 Clause 9.1.4.13 UE CONTEXT MODIFICATION INDICATION
		*/
		function f_send_UE_Context_Modification_Indication(
										template (value) RecordOf_ProtocolIE p_value
		) runs on S1APComponent {
			f_send_S1AP_initiatingMessage(m_UeContextModificationIndication(p_value))
		} // End of f_send_UE_Context_Modification_Request


        /**
        * @desc Send S1AP Message UE Radio Capability Match Request
        * @param p_value Send template for UE_RADIO_CAPABILITY_MATCH_REQUEST
+41 −0
Original line number Diff line number Diff line
@@ -429,6 +429,25 @@ module LibS1AP_Templates {
                        m_UE_securityCapabilities_IE(p_UeSecurityCapabilities)
                    } // End of template m_ContextModificationReqIEsSecCap

					/**
					 * @desc Send template for InitiatingMessage message with m_UeContextModificationIndication payload
					 * @param p_value           Expected procedure code
					 */
					template (value) InitiatingMessage m_UeContextModificationIndication(
																		   in template (value) RecordOf_ProtocolIE p_value) := {
						procedureCode := id_UEContextModification,
						criticality := reject,
						value_ := {RecordOf_ProtocolIE := valueof(p_value)}
					} // End of template m_UeContextModificationIndication

					template (value) RecordOf_ProtocolIE m_UeContextModificationIndicationIEs(
																			in template (value) MME_UE_S1AP_ID p_MME_value,
																			in template (value) ENB_UE_S1AP_ID p_eNB_value
					) := {
						m_MME_UE_S1AP_ID(p_MME_value),
						m_eNB_UE_S1AP_ID(p_eNB_value)
					} // End of template m_UeContextModificationIndicationIEs
                    
                    /**
                     * @desc Send template for InitiatingMessage message with m_UeRadioCapabilityMatchRequest payload
                     * @param p_value           Expected procedure code
@@ -1276,6 +1295,28 @@ module LibS1AP_Templates {
                    } // End of template mw_UeContextModificationIndicationIEs


                    /**
                     * @desc Receive template for mw_UeContextModificationConfirm message
                     * @param p_procedureCode   Expected procedure code. Default: ?
                     * @param p_value           Expected procedure code. Default: ?
                     */
                    template (present) SuccessfulOutcome mw_UeContextModificationConfirm(
                                                                               template (present) RecordOf_ProtocolIE p_value := ?
                    ) := {
                        procedureCode := id_UEContextModification,
                        criticality := reject,
                        value_ := {RecordOf_ProtocolIE := p_value}
                    } // End of template mw_UeContextModificationConfirm
                    
                    template (present) RecordOf_ProtocolIE mw_UeContextModificationConfirmIEs(
                                                                               template (present) MME_UE_S1AP_ID p_MME_value := ?,
                                                                               template (present) ENB_UE_S1AP_ID p_eNB_value := ?
                    ) := {
                        mw_MME_UE_S1AP_ID(p_MME_value, ignore),
                        mw_eNB_UE_S1AP_ID(p_eNB_value, ignore)
                    } // End of template mw_UeContextModificationConfirmIEs

                    
                    /**
                     * @desc Receive template for mw_UeContextSuspendRequest message
                     * @param p_procedureCode   Expected procedure code. Default: ?
+33 −1
Original line number Diff line number Diff line
@@ -3796,6 +3796,38 @@ module S1AP_TCFunctions {
                
			} // End of function f_TC_S1AP_eNB_CMP_04

			/**
			 * @desc Testcase function for TC_S1AP_mME_CMP_05
			 */
			function f_TC_S1AP_mME_CMP_05() runs on S1APComponent { 
				// Local variables
				var template(value) Cause v_cause;
                                
				// Preamble
				f_S1AP_mme_init();
                
				f_rABSetupRequest();
                
				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); 
				log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
                
				// Test body

				f_send_UE_Context_Modification_Indication(m_UeContextModificationIndicationIEs(
					vc_MME_UE_ID,
					vc_eNB_UE_ID
					));
                    
				f_recv_Ue_Context_Modification_Confirm(mw_UeContextModificationConfirmIEs);                
                
				// Postamble
				f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); 
                
				f_postamble_S1AP_MME();
				f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); 
				log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
                
			} // End of function f_TC_S1AP_eNB_CMP_05			
            
        } // End of group Context_management_group