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

#include "wave-net-device.h"

+ Collaboration diagram for ns3::TxProfile:

Public Member Functions

 TxProfile (void)
 
 TxProfile (uint32_t channel, bool adapt=true, uint32_t powerLevel=4)
 

Public Attributes

bool adaptable
 
uint32_t channelNumber
 
WifiMode dataRate
 
uint32_t txPowerLevel
 

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

Constructor & Destructor Documentation

ns3::TxProfile::TxProfile ( void  )
inline

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

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

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

Member Data Documentation

bool ns3::TxProfile::adaptable

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

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

uint32_t ns3::TxProfile::channelNumber
WifiMode ns3::TxProfile::dataRate
uint32_t ns3::TxProfile::txPowerLevel

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