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

#include "wave-net-device.h"

+ Collaboration diagram for ns3::TxInfo:

Public Member Functions

 TxInfo ()
 Initializer. More...
 
 TxInfo (uint32_t channel, uint32_t prio=7, WifiMode rate=WifiMode(), WifiPreamble preamble=WIFI_PREAMBLE_NONE, uint32_t powerLevel=8)
 Initializer. More...
 

Public Attributes

uint32_t channelNumber
 channel number More...
 
WifiMode dataRate
 data rate More...
 
WifiPreamble preamble
 preamble More...
 
uint32_t priority
 priority More...
 
uint32_t txPowerLevel
 transmit power level More...
 

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 63 of file wave-net-device.h.

Constructor & Destructor Documentation

ns3::TxInfo::TxInfo ( )
inline

Initializer.

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

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

Initializer.

Parameters
channelthe channel
priothe priority
ratethe wifi mode
preamblethe preamble
powerLevelthe power level

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

Member Data Documentation

uint32_t ns3::TxInfo::channelNumber

channel number

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

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

WifiMode ns3::TxInfo::dataRate

data rate

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

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

WifiPreamble ns3::TxInfo::preamble

preamble

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

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

uint32_t ns3::TxInfo::priority

priority

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

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

uint32_t ns3::TxInfo::txPowerLevel

transmit power level

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

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


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