oms_wp_phy_pk_send_delayed()

Abstract

Sends the given packet to the PHY module with a specific time delay.

Note: This function can be used for single carrier and multicarrier modes.

Syntax

oms_wp_phy_pk_send_delayed (pkptr, phy_handle, delay)

Argument Type Description
phy_handle OmsT_PHY_Handle* PHY module handle
pkptr Packet* Packet to be sent
delay double Delay

Return Type

void

Details

A PHY module handle can be obtained with the following functions:

Example

Excerpt from lte_enb_as process model, function block.

/* Install the radio information in the packet.						*/
oms_wp_phy_pk_transmission_info_set (sib1_pkptr, 
			OMSC_WP_PK_SIZE_BITS_INT64, 		(OpT_Int64) op_pk_total_size_get
			(sib1_pkptr),
			OMSC_WP_PK_SIZE_PHY_BLOCKS_INT, 	frame_state_info.num_sib1_alloc_blks,
			OMSC_WP_PK_START_TIME_DBL, 		start_time,
			OMSC_WP_PK_TX_DELAY_DBL, 		delay,
			OMSC_WP_PK_START_FREQ_HZ_DBL, 	burst_start_freq_hz,
			OMSC_WP_PK_END_FREQ_HZ_DBL, 		burst_end_freq_hz,
			OMSC_WP_PK_MCS_INDEX_INT, 		LTEC_DEFAULT_MCS_INDEX,
			OMSC_WP_PK_BURST_TYPE_INT, 		LteT_Burst_Type_Data_No_Phy_Stats,
			OMSC_WP_ARG_END);
/* Send the packet to the Wireless PHY module layer.				*/
oms_wp_phy_pk_send_delayed (sib1_pkptr, phy_module_hdl, start_time - op_sim_time ());

Note

Regular op_pk_send_... () and op_pk_deliver_... () kernel procedures can also be used to send packets to the advanced wireless package module. If you use the kernel procedures, the client code is responsible for determining the correct packet streams or module object IDs related to the PHY module.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com