A Discrete-Event Network Simulator
API
ns3::TxInfo Struct Reference

#include "wave-net-device.h"

+ Collaboration diagram for ns3::TxInfo:

Public Member Functions

 TxInfo ()
 
 TxInfo (uint32_t channel, uint32_t prio=7, WifiMode rate=WifiMode(), uint32_t powerLevel=8)
 

Public Attributes

uint32_t channelNumber
 
WifiMode dataRate
 
uint32_t priority
 
uint32_t txPowerLevel
 

Detailed Description

Parameters
channelNumberthe specific channel
prioritythe priority of packet with range 0-7
dataRatethe transmit data rate of packet
txPowerLevelthe transmit power level with range 0-7
expireTimeindicate how many milliseconds the packet can stay before sent

typically these parameters are used by higher layer to control the transmission characteristics of WSMP packets. When dataRate is an invalid WifiMode and txPowerLevel is 8, this indicates that high layer does not set tx parameters.

Definition at line 56 of file wave-net-device.h.

Constructor & Destructor Documentation

ns3::TxInfo::TxInfo ( )
inline

Definition at line 63 of file wave-net-device.h.

ns3::TxInfo::TxInfo ( uint32_t  channel,
uint32_t  prio = 7,
WifiMode  rate = WifiMode (),
uint32_t  powerLevel = 8 
)
inline

Definition at line 70 of file wave-net-device.h.

Member Data Documentation

uint32_t ns3::TxInfo::channelNumber

Definition at line 58 of file wave-net-device.h.

Referenced by ns3::WaveNetDevice::SendX().

WifiMode ns3::TxInfo::dataRate

Definition at line 60 of file wave-net-device.h.

Referenced by ns3::WaveNetDevice::SendX().

uint32_t ns3::TxInfo::priority

Definition at line 59 of file wave-net-device.h.

Referenced by ns3::WaveNetDevice::SendX().

uint32_t ns3::TxInfo::txPowerLevel

Definition at line 61 of file wave-net-device.h.

Referenced by ns3::WaveNetDevice::SendX().


The documentation for this struct was generated from the following file: