Default Transmission Delay Model (dra_txdel)

This section describes the functionality and implementation of the default model occupying stage one of the Radio Transceiver Pipeline. This model is named dra_txdel. The source code is provided in the file dra_txdel.ps.c, which resides in the <reldir>/models/std/wireless directory.

Invocation Context

The Transmission Delay Model is invoked by the Simulation Kernel immediately upon the start of a packet transmission. Its purpose is to compute the time required for the radio transmitter of interest to completely process and transmit the packet. This is the simulated time interval separating the beginning of transmission of the first bit and the end of transmission of the last bit of the packet.

The result of the Transmission Delay Model invocation for each packet is a single double precision floating point value which represents the transmission delay for the packet. The Simulation Kernel expects that this result will be placed in the packet’s OPC_TDA_RA_TX_DELAY transmission data attribute.

Transmission Delay Computation

For all transmitted packets, the transmission delay is computed based on the channel data rate and the length of the packet. dra_txdel first obtains the data rate of the channel which is available in the OPC_TDA_RA_TX_DRATE transmission data attribute of the packet. The packet’s length in bits is obtained and divided by the data rate to obtain transmission delay. This value is stored in the OPC_TDA_RA_TX_DELAY attribute of the packet as the final result of the procedure.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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