Commit cd9d80a6 authored by berge's avatar berge
Browse files

Fixed receive template in TC_MOB_1293_01

Fixed payload length in TC_MOB_1408_01, TC_MOB_1408_02 and TC_MOB_1408_03
parent eb0dd2af
Loading
Loading
Loading
Loading
+34 −1
Original line number Diff line number Diff line
@@ -931,7 +931,7 @@
			UInt1 p_homeAgentFlag,
			template RtAdvOptions p_rtAdvOptions
		) := {
			ipv6Hdr := mw_ipHdr_nextHdr_hop_srcDst ( c_icmpHdr, c_hopLimit255, p_src, p_dst ),  // FIXED (Alex) : m_ipHdr_nextHdr_srcDst->mw_ipHdr_srcDst_nextHdr_hopL255
			ipv6Hdr := mw_ipHdr_nextHdr_hop_srcDst ( c_icmpHdr, c_hopLimit255, p_src, p_dst ), 
			extHdrList := omit,
			ipv6Payload := { routerAdvMsg := {
				icmpType:= c_rtAdvMsg,
@@ -1576,6 +1576,39 @@
			otherOption := omit
		}
		
		/*
		 *	@param  p_macSlla Binary MAC source address associated with
		 *          link layer of test component
		 *	@param  p_prefixLength Length of the prefix.
		 *	@param  p_lFlag Value for link flag.
		 *	@param  p_aFlag Value for autoconfiguration flag.
		 *	@param  p_rAFlag Value for router address flag.
		 *	@param  p_validLifetime Value for valid life time duration.
		 *	@param  p_preferredLifetime Value for preffered life time duration.
		 *	@param  p_prefix Address prefix to be used
		*/
		template RtAdvOptions mw_mobileRtAdvOpt_sllaPrefixOpt  (	template Oct6to15 p_macSlla,
																	UInt8 p_prefixLength,
																	UInt1 p_lFlag,
																	UInt1 p_aFlag,
																	UInt1 p_rAFlag,
																	UInt32 p_validLifetime,
																	UInt32 p_preferredLifetime,
																	template Ipv6Address p_prefix):={
			srcLinkLayerAddr := m_macSlla(p_macSlla),
			mtuOption:= omit,
			prefixInfoList := { mw_prefixInfo (	p_prefixLength,
												p_lFlag,
												p_aFlag,
												p_rAFlag,
												p_validLifetime,
												p_preferredLifetime,
												p_prefix) },
			advertisementInterval := *,
			homeAgentInfo := *,
			otherOption := omit
		}		

		/*
		 *	@param  p_prefixLength Length of the prefix.
		 *	@param  p_lFlag Value for link flag.