#include "wave-net-device.h"
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... | |
channelNumber | the specific channel |
priority | the priority of packet with range 0-7 |
dataRate | the transmit data rate of packet |
txPowerLevel | the transmit power level with range 0-7 |
expireTime | indicate 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.
|
inline |
Initializer.
Definition at line 72 of file wave-net-device.h.
|
inline |
Initializer.
channel | the channel |
prio | the priority |
rate | the wifi mode |
preamble | the preamble |
powerLevel | the power level |
Definition at line 87 of file wave-net-device.h.
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().