A Discrete-Event Network Simulator
API
Public Member Functions | Public Attributes | List of all members
ns3::TxProfile Struct Reference

#include "wave-net-device.h"

Public Member Functions

 TxProfile (void)
 Initializer. More...
 
 TxProfile (uint32_t channel, bool adapt=true, uint32_t powerLevel=4)
 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...
 

Detailed Description

Parameters
channelNumberthe channel number for the SCH.
adaptableif 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.
txPowerLeveltransmit power level.
dataRatetransmit data rate

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

Constructor & Destructor Documentation

◆ TxProfile() [1/2]

ns3::TxProfile::TxProfile ( void  )
inline

Initializer.

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

◆ TxProfile() [2/2]

ns3::TxProfile::TxProfile ( uint32_t  channel,
bool  adapt = true,
uint32_t  powerLevel = 4 
)
inline

Initializer.

Parameters
channelthe channel number
adapttrue to adapt
powerLevelthe power level

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

References dataRate, preamble, and ns3::WIFI_PREAMBLE_LONG.

Member Data Documentation

◆ adaptable

bool ns3::TxProfile::adaptable

adaptable

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

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

◆ channelNumber

uint32_t ns3::TxProfile::channelNumber

◆ dataRate

WifiMode ns3::TxProfile::dataRate

data rate

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

Referenced by ns3::WaveNetDevice::RegisterTxProfile(), ns3::WaveNetDevice::Send(), and TxProfile().

◆ preamble

WifiPreamble ns3::TxProfile::preamble

preamble

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

Referenced by ns3::WaveNetDevice::Send(), and TxProfile().

◆ txPowerLevel

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().


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