#include "wave-net-device.h"
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 |
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 56 of file wave-net-device.h.
|
inline |
Definition at line 63 of file wave-net-device.h.
|
inline |
Definition at line 70 of file wave-net-device.h.
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().