#include "wave-net-device.h"
Public Member Functions | |
TxProfile (uint32_t channel, bool adapt=true, uint32_t powerLevel=4) | |
Initializer. More... | |
TxProfile (void) | |
Initializer. More... | |
Public Attributes | |
bool | adaptable |
adaptable More... | |
uint32_t | channelNumber |
channel number More... | |
WifiMode | dataRate |
data rate More... | |
WifiPreamble | preamble |
preamble More... | |
uint32_t | txPowerLevel |
transmit power level More... | |
channelNumber | the channel number for the SCH. |
adaptable | if true, the actual power level and data rate for transmission are adaptable. TxPwr_Level is the maximum transmit power that sets the upper bound for the actual transmit power; DataRate is the minimum data rate that sets the lower bound for the actual data rate. If false, the actual power level and data rate for transmission are non-adaptable. TxPwr_Level and DataRate are the actual values to be used for transmission. |
txPowerLevel | transmit power level. |
dataRate | transmit data rate |
Definition at line 112 of file wave-net-device.h.
|
inline |
|
inline |
Initializer.
channel | the channel number |
adapt | true to adapt |
powerLevel | the power level |
Definition at line 134 of file wave-net-device.h.
References dataRate, preamble, and ns3::WIFI_PREAMBLE_LONG.
bool ns3::TxProfile::adaptable |
adaptable
Definition at line 115 of file wave-net-device.h.
Referenced by ns3::WaveNetDevice::Send().
uint32_t ns3::TxProfile::channelNumber |
channel number
Definition at line 114 of file wave-net-device.h.
Referenced by ns3::WaveNetDevice::DeleteTxProfile(), ns3::WaveNetDevice::RegisterTxProfile(), and ns3::WaveNetDevice::Send().
WifiMode ns3::TxProfile::dataRate |
data rate
Definition at line 117 of file wave-net-device.h.
Referenced by TxProfile(), ns3::WaveNetDevice::RegisterTxProfile(), and ns3::WaveNetDevice::Send().
WifiPreamble ns3::TxProfile::preamble |
preamble
Definition at line 118 of file wave-net-device.h.
Referenced by TxProfile(), and ns3::WaveNetDevice::Send().
uint32_t ns3::TxProfile::txPowerLevel |
transmit power level
Definition at line 116 of file wave-net-device.h.
Referenced by ns3::WaveNetDevice::RegisterTxProfile(), and ns3::WaveNetDevice::Send().