SimpleOfdmWimaxPhy class. More...
#include "simple-ofdm-wimax-phy.h"
Public Types | |
enum | FrameDurationCode { FRAME_DURATION_2_POINT_5_MS , FRAME_DURATION_4_MS , FRAME_DURATION_5_MS , FRAME_DURATION_8_MS , FRAME_DURATION_10_MS , FRAME_DURATION_12_POINT_5_MS , FRAME_DURATION_20_MS } |
Frame duration code enumeration. More... | |
Public Types inherited from ns3::WimaxPhy | |
enum | ModulationType { MODULATION_TYPE_BPSK_12 , MODULATION_TYPE_QPSK_12 , MODULATION_TYPE_QPSK_34 , MODULATION_TYPE_QAM16_12 , MODULATION_TYPE_QAM16_34 , MODULATION_TYPE_QAM64_23 , MODULATION_TYPE_QAM64_34 } |
ModulationType enumeration. More... | |
enum | PhyState { PHY_STATE_IDLE , PHY_STATE_SCANNING , PHY_STATE_TX , PHY_STATE_RX } |
PhyState enumeration. More... | |
enum | PhyType { SimpleWimaxPhy , simpleOfdmWimaxPhy } |
PhyType enumeration. More... | |
Public Member Functions | |
SimpleOfdmWimaxPhy () | |
SimpleOfdmWimaxPhy (char *tracesPath) | |
Constructor. More... | |
~SimpleOfdmWimaxPhy () override | |
void | ActivateLoss (bool loss) |
if called with true it will enable the loss model More... | |
int64_t | AssignStreams (int64_t stream) override |
Assign a fixed random variable stream number to the random variables used by this model. More... | |
void | DoAttach (Ptr< WimaxChannel > channel) override |
Attach the physical layer to a channel. More... | |
uint32_t | GetBandwidth () const |
double | GetNoiseFigure () const |
WimaxPhy::PhyType | GetPhyType () const override |
returns the type this physical layer More... | |
double | GetTxPower () const |
void | NotifyRxBegin (Ptr< PacketBurst > burst) |
Public method used to fire a PhyRxBegin trace. More... | |
void | NotifyRxDrop (Ptr< PacketBurst > burst) |
Public method used to fire a PhyRxDrop trace. More... | |
void | NotifyRxEnd (Ptr< PacketBurst > burst) |
Public method used to fire a PhyRxEnd trace. More... | |
void | NotifyTxBegin (Ptr< PacketBurst > burst) |
Public method used to fire a PhyTxBegin trace. More... | |
void | NotifyTxDrop (Ptr< PacketBurst > burst) |
Public method used to fire a PhyTxDrop trace. More... | |
void | NotifyTxEnd (Ptr< PacketBurst > burst) |
Public method used to fire a PhyTxEnd trace. More... | |
void | Send (Ptr< PacketBurst > burst, WimaxPhy::ModulationType modulationType, uint8_t direction) |
Sends a burst on the channel. More... | |
void | Send (SendParams *params) override |
Sends a burst on the channel. More... | |
void | SetBandwidth (uint32_t BW) |
Set the bandwidth. More... | |
void | SetNoiseFigure (double nf) |
set the noise figure of the device More... | |
void | SetReceiveCallback (Callback< void, Ptr< PacketBurst >, Ptr< WimaxConnection >> callback) |
set the callback function to call when a burst is received More... | |
void | SetSNRToBlockErrorRateTracesPath (char *tracesPath) |
Set the path of the repository containing the traces. More... | |
void | SetTxPower (double txPower) |
set the transmission power More... | |
void | StartReceive (uint32_t burstSize, bool isFirstBlock, uint64_t frequency, WimaxPhy::ModulationType modulationType, uint8_t direction, double rxPower, Ptr< PacketBurst > burst) |
start the reception of a fec block More... | |
Public Member Functions inherited from ns3::WimaxPhy | |
WimaxPhy () | |
~WimaxPhy () override | |
void | Attach (Ptr< WimaxChannel > channel) |
Attach the physical layer to a channel. More... | |
void | DoDispose () override |
Destructor implementation. More... | |
Ptr< WimaxChannel > | GetChannel () const |
uint32_t | GetChannelBandwidth () const |
Get the channel bandwidth. More... | |
EventId | GetChnlSrchTimeoutEvent () const |
Get channel search timeout event. More... | |
uint32_t | GetDataRate (ModulationType modulationType) const |
Get the data rate corresponding to a modulation type. More... | |
Ptr< NetDevice > | GetDevice () const |
Time | GetFrameDuration () const |
Get the frame duration. More... | |
Time | GetFrameDuration (uint8_t frameDurationCode) const |
Get the frame duration corresponding to a given code. More... | |
uint8_t | GetFrameDurationCode () const |
Get the frame duration code. More... | |
Time | GetFrameDurationSec () const |
Get the frame duration This method is redundant with GetFrameDuration () More... | |
uint32_t | GetFrequency () const |
Get the frequency on which the device is locked. More... | |
double | GetGValue () const |
Get the guard interval factor (the ratio TG/Td) More... | |
uint16_t | GetNfft () const |
Get the size of the FFT. More... | |
uint64_t | GetNrBytes (uint32_t symbols, ModulationType modulationType) const |
Get the maximum number of bytes that could be carried by symbols symbols using the modulation modulationType. More... | |
uint8_t | GetNrCarriers () const |
Get the number of carriers in the physical frame. More... | |
uint64_t | GetNrSymbols (uint32_t size, ModulationType modulationType) const |
Get the number of symbols needed to transmit size bytes using the modulation modulationType. More... | |
Time | GetPsDuration () const |
Get the physical slot duration. More... | |
uint16_t | GetPsPerFrame () const |
Get the number of physical slots per frame. More... | |
uint16_t | GetPsPerSymbol () const |
Get the number of physical slots per symbol. More... | |
Callback< void, Ptr< const PacketBurst > > | GetReceiveCallback () const |
uint16_t | GetRtg () const |
Get the receive/transmit transition gap. More... | |
uint64_t | GetRxFrequency () const |
Get the reception frequency. More... | |
double | GetSamplingFactor () const |
Get the sampling factor. More... | |
double | GetSamplingFrequency () const |
Get the sampling frequency. More... | |
uint64_t | GetScanningFrequency () const |
Get the scanning frequency. More... | |
PhyState | GetState () const |
Get the state of the device. More... | |
Time | GetSymbolDuration () const |
Get the OFDM symbol duration. More... | |
uint32_t | GetSymbolsPerFrame () const |
Get the number of symbols per frame. More... | |
Time | GetTransmissionTime (uint32_t size, ModulationType modulationType) const |
Get transmission time needed to send bytes at a given modulation. More... | |
uint16_t | GetTtg () const |
Get the transmit/receive transition gap. More... | |
uint64_t | GetTxFrequency () const |
Get the transmission frequency. More... | |
bool | IsDuplex () const |
Check if configured in duplex mode. More... | |
void | SetChannelBandwidth (uint32_t channelBandwidth) |
Set the channel bandwidth. More... | |
void | SetDataRates () |
calculates the data rate of each modulation and save them for future use More... | |
void | SetDevice (Ptr< WimaxNetDevice > device) |
Set the device in which this physical layer is installed. More... | |
void | SetDuplex (uint64_t rxFrequency, uint64_t txFrequency) |
configure the physical layer in duplex mode More... | |
void | SetFrameDuration (Time frameDuration) |
Set the frame duration. More... | |
void | SetFrequency (uint32_t frequency) |
set the frequency on which the device should lock More... | |
void | SetNrCarriers (uint8_t nrCarriers) |
Set the number of carriers in the physical frame. More... | |
void | SetPhyParameters () |
computes the Physical parameters and store them More... | |
void | SetPsDuration (Time psDuration) |
set the physical slot duration More... | |
void | SetPsPerFrame (uint16_t psPerFrame) |
set the number of physical slots per frame More... | |
void | SetPsPerSymbol (uint16_t psPerSymbol) |
set the number of physical slots per symbol More... | |
void | SetReceiveCallback (Callback< void, Ptr< const PacketBurst >> callback) |
set the callback function to call when a burst is received More... | |
void | SetScanningCallback () const |
calls the scanning call back function More... | |
void | SetSimplex (uint64_t frequency) |
configure the physical layer in simplex mode More... | |
void | SetState (PhyState state) |
set the state of the device More... | |
void | SetSymbolDuration (Time symbolDuration) |
set the OFDM symbol duration More... | |
void | SetSymbolsPerFrame (uint32_t symbolsPerFrame) |
set the number of symbols per frame More... | |
void | StartScanning (uint64_t frequency, Time timeout, Callback< void, bool, uint64_t > callback) |
scan a frequency for maximum timeout seconds and call the callback if the frequency can be used More... | |
Public Member Functions inherited from ns3::Object | |
Object () | |
Constructor. More... | |
~Object () override | |
Destructor. More... | |
void | AggregateObject (Ptr< Object > other) |
Aggregate two Objects together. More... | |
void | Dispose () |
Dispose of this Object. More... | |
AggregateIterator | GetAggregateIterator () const |
Get an iterator to the Objects aggregated to this one. More... | |
TypeId | GetInstanceTypeId () const override |
Get the most derived TypeId for this Object. More... | |
template<typename T > | |
Ptr< T > | GetObject () const |
Get a pointer to the requested aggregated Object. More... | |
template<> | |
Ptr< Object > | GetObject () const |
Specialization of () for objects of type ns3::Object. More... | |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
Get a pointer to the requested aggregated Object by TypeId. More... | |
template<> | |
Ptr< Object > | GetObject (TypeId tid) const |
Specialization of (TypeId tid) for objects of type ns3::Object. More... | |
void | Initialize () |
Invoke DoInitialize on all Objects aggregated to this one. More... | |
bool | IsInitialized () const |
Check if the object has been initialized. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
SimpleRefCount () | |
Default constructor. More... | |
SimpleRefCount (const SimpleRefCount &o[[maybe_unused]]) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount () const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (const SimpleRefCount &o[[maybe_unused]]) |
Assignment operator. More... | |
void | Ref () const |
Increment the reference count. More... | |
void | Unref () const |
Decrement the reference count. More... | |
Public Member Functions inherited from ns3::ObjectBase | |
virtual | ~ObjectBase () |
Virtual destructor. More... | |
void | GetAttribute (std::string name, AttributeValue &value) const |
Get the value of an attribute, raising fatal errors if unsuccessful. More... | |
bool | GetAttributeFailSafe (std::string name, AttributeValue &value) const |
Get the value of an attribute without raising errors. More... | |
void | SetAttribute (std::string name, const AttributeValue &value) |
Set a single attribute, raising fatal errors if unsuccessful. More... | |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
Set a single attribute without raising errors. More... | |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
Connect a TraceSource to a Callback with a context. More... | |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
Connect a TraceSource to a Callback without a context. More... | |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected with a context. More... | |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected without a context. More... | |
Static Public Member Functions | |
static TypeId | GetTypeId () |
Get the type ID. More... | |
Static Public Member Functions inherited from ns3::WimaxPhy | |
static TypeId | GetTypeId () |
Get the type ID. More... | |
Static Public Member Functions inherited from ns3::Object | |
static TypeId | GetTypeId () |
Register this type. More... | |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId () |
Get the type ID. More... | |
Private Member Functions | |
uint32_t | CalculateDataRate (WimaxPhy::ModulationType modulationType) const |
Calculate data rate. More... | |
Ptr< PacketBurst > | ConvertBitsToBurst (Bvec buffer) |
Convert bits to burst. More... | |
Bvec | ConvertBurstToBits (Ptr< const PacketBurst > burst) |
Convert burst to bits. More... | |
void | CreateFecBlocks (const Bvec &buffer, WimaxPhy::ModulationType modulationType) |
Create FEC blocks. More... | |
void | DoDispose () override |
Destructor implementation. More... | |
uint32_t | DoGetDataRate (WimaxPhy::ModulationType modulationType) const override |
Get data rate. More... | |
Time | DoGetFrameDuration (uint8_t frameDurationCode) const override |
Get frame duration. More... | |
uint8_t | DoGetFrameDurationCode () const override |
Get frame duration code. More... | |
double | DoGetGValue () const override |
Get G value. More... | |
uint16_t | DoGetNfft () const override |
Get NFFT. More... | |
uint64_t | DoGetNrBytes (uint32_t symbols, WimaxPhy::ModulationType modulationType) const override |
Get number of bytes. More... | |
uint64_t | DoGetNrSymbols (uint32_t size, WimaxPhy::ModulationType modulationType) const override |
Get number of symbols. More... | |
uint16_t | DoGetRtg () const override |
Get RTG. More... | |
double | DoGetSamplingFactor () const override |
Get sampling factor. More... | |
double | DoGetSamplingFrequency () const override |
Get sampling frequency. More... | |
Time | DoGetTransmissionTime (uint32_t size, WimaxPhy::ModulationType modulationType) const override |
Get transmission time. More... | |
uint16_t | DoGetTtg () const override |
Get TTG. More... | |
void | DoSetDataRates () override |
Set data rates. More... | |
void | DoSetGValue (double g) |
Set G value. More... | |
void | DoSetNfft (uint16_t nfft) |
Set NFFT. More... | |
void | DoSetPhyParameters () override |
Set Phy parameters. More... | |
void | EndReceive (Ptr< const PacketBurst > burst) |
End receive. More... | |
void | EndReceiveFecBlock (uint32_t burstSize, WimaxPhy::ModulationType modulationType, uint8_t direction, bool drop, Ptr< PacketBurst > burst) |
End receive FEC block. More... | |
void | EndSend () |
End send. More... | |
void | EndSendFecBlock (WimaxPhy::ModulationType modulationType, uint8_t direction) |
End send FEC block. More... | |
Time | GetBlockTransmissionTime (WimaxPhy::ModulationType modulationType) const |
Get block transmission time. More... | |
uint32_t | GetCodedFecBlockSize (WimaxPhy::ModulationType modulationType) const |
Get coded FEC block size. More... | |
uint32_t | GetFecBlockSize (WimaxPhy::ModulationType type) const |
Get FEC block size. More... | |
void | GetModulationFecParams (WimaxPhy::ModulationType modulationType, uint8_t &bitsPerSymbol, double &fecCode) const |
Get moduleation FEC parameters. More... | |
uint16_t | GetNrBlocks (uint32_t burstSize, WimaxPhy::ModulationType modulationType) const |
Get number of blocks. More... | |
double | GetRxGain () const |
Get receive gain. More... | |
std::string | GetTraceFilePath () const |
Get trace file path. More... | |
double | GetTxGain () const |
Get transmit gain. More... | |
void | InitSimpleOfdmWimaxPhy () |
Initialize simple OFDM WIMAX Phy. More... | |
Bvec | RecreateBuffer () |
Recreate buffer. More... | |
void | SetBlockParameters (uint32_t burstSize, WimaxPhy::ModulationType modulationType) |
Set block parameters. More... | |
void | SetRxGain (double rxgain) |
Set receive gsain. More... | |
void | SetTraceFilePath (std::string path) |
Set trace file path. More... | |
void | SetTxGain (double txgain) |
Set transmit gain. More... | |
void | StartSendDummyFecBlock (bool isFirstBlock, WimaxPhy::ModulationType modulationType, uint8_t direction) |
Start end dummy FEC block. More... | |
Private Attributes | |
double | m_bandWidth |
bandwidth More... | |
uint16_t | m_blockSize |
block size More... | |
Time | m_blockTime |
block time More... | |
Ptr< PacketBurst > | m_currentBurst |
current burst More... | |
uint32_t | m_currentBurstSize |
current burst size More... | |
uint32_t | m_dataRateBpsk12 |
data rate More... | |
uint32_t | m_dataRateQam16_12 |
data rate More... | |
uint32_t | m_dataRateQam16_34 |
data rate More... | |
uint32_t | m_dataRateQam64_23 |
data rate More... | |
uint32_t | m_dataRateQam64_34 |
data rate More... | |
uint32_t | m_dataRateQpsk12 |
data rate More... | |
uint32_t | m_dataRateQpsk34 |
data rate More... | |
std::list< Bvec > * | m_fecBlocks |
the FEC blocks More... | |
uint16_t | m_fecBlockSize |
in bits, size of FEC block transmitted after PHY operations More... | |
double | m_g |
G value. More... | |
uint16_t | m_nbErroneousBlock |
erroneous blocks More... | |
uint16_t | m_nfft |
NFFT. More... | |
double | m_noiseFigure |
noise figure More... | |
uint16_t | m_nrBlocks |
number of blocks More... | |
uint32_t | m_nrFecBlocksSent |
counting the number of FEC blocks sent (within a burst) More... | |
uint16_t | m_nrReceivedFecBlocks |
number received FEC blocks More... | |
uint16_t | m_nrRemainingBlocksToSend |
number of remaining blocks to send More... | |
uint32_t | m_paddingBits |
padding bits More... | |
TracedCallback< Ptr< PacketBurst > > | m_phyRxBeginTrace |
The trace source fired when a packet begins the reception process from the medium. More... | |
TracedCallback< Ptr< PacketBurst > > | m_phyRxDropTrace |
The trace source fired when the phy layer drops a packet it has received. More... | |
TracedCallback< Ptr< PacketBurst > > | m_phyRxEndTrace |
The trace source fired when a packet ends the reception process from the medium. More... | |
TracedCallback< Ptr< PacketBurst > > | m_phyTxBeginTrace |
The trace source fired when a packet begins the transmission process on the medium. More... | |
TracedCallback< Ptr< PacketBurst > > | m_phyTxDropTrace |
The trace source fired when the phy layer drops a packet as it tries to transmit it. More... | |
TracedCallback< Ptr< PacketBurst > > | m_phyTxEndTrace |
The trace source fired when a packet ends the transmission process on the medium. More... | |
std::list< Bvec > * | m_receivedFecBlocks |
a list of received FEC blocks until they are combined to recreate the full burst buffer More... | |
double | m_rxGain |
receive gain More... | |
SNRToBlockErrorRateManager * | m_snrToBlockErrorRateManager |
SNR to block error rate manager. More... | |
TracedCallback< Ptr< const PacketBurst > > | m_traceRx |
trace receive callback More... | |
TracedCallback< Ptr< const PacketBurst > > | m_traceTx |
trace transmit callback More... | |
double | m_txGain |
transmit gain More... | |
double | m_txPower |
transmit power More... | |
Ptr< UniformRandomVariable > | m_URNG |
Provides uniform random variables. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ns3::Object | |
Object (const Object &o) | |
Copy an Object. More... | |
virtual void | DoInitialize () |
Initialize() implementation. More... | |
virtual void | NotifyNewAggregate () |
Notify all Objects aggregated to this one of a new Object being aggregated. More... | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
Complete construction of ObjectBase; invoked by derived classes. More... | |
virtual void | NotifyConstructionCompleted () |
Notifier called once the ObjectBase is fully constructed. More... | |
Related Functions inherited from ns3::ObjectBase | |
static TypeId | GetObjectIid () |
Ensure the TypeId for ObjectBase gets fully configured to anchor the inheritance tree properly. More... | |
SimpleOfdmWimaxPhy class.
Definition at line 50 of file simple-ofdm-wimax-phy.h.
Frame duration code enumeration.
Enumerator | |
---|---|
FRAME_DURATION_2_POINT_5_MS | |
FRAME_DURATION_4_MS | |
FRAME_DURATION_5_MS | |
FRAME_DURATION_8_MS | |
FRAME_DURATION_10_MS | |
FRAME_DURATION_12_POINT_5_MS | |
FRAME_DURATION_20_MS |
Definition at line 54 of file simple-ofdm-wimax-phy.h.
ns3::SimpleOfdmWimaxPhy::SimpleOfdmWimaxPhy | ( | ) |
Definition at line 187 of file simple-ofdm-wimax-phy.cc.
References InitSimpleOfdmWimaxPhy(), ns3::SNRToBlockErrorRateManager::LoadTraces(), m_snrToBlockErrorRateManager, m_URNG, and ns3::SNRToBlockErrorRateManager::SetTraceFilePath().
ns3::SimpleOfdmWimaxPhy::SimpleOfdmWimaxPhy | ( | char * | tracesPath | ) |
Constructor.
tracesPath | trace path |
Definition at line 196 of file simple-ofdm-wimax-phy.cc.
References InitSimpleOfdmWimaxPhy(), ns3::SNRToBlockErrorRateManager::LoadTraces(), m_snrToBlockErrorRateManager, and ns3::SNRToBlockErrorRateManager::SetTraceFilePath().
|
override |
Definition at line 203 of file simple-ofdm-wimax-phy.cc.
void ns3::SimpleOfdmWimaxPhy::ActivateLoss | ( | bool | loss | ) |
if called with true it will enable the loss model
loss | set to true to enable the loss model |
Definition at line 208 of file simple-ofdm-wimax-phy.cc.
References ns3::SNRToBlockErrorRateManager::ActivateLoss(), and m_snrToBlockErrorRateManager.
|
overridevirtual |
Assign a fixed random variable stream number to the random variables used by this model.
Return the number of streams (possibly zero) that have been assigned.
stream | first stream index to use |
Implements ns3::WimaxPhy.
Definition at line 1099 of file simple-ofdm-wimax-phy.cc.
References m_URNG, NS_LOG_FUNCTION, and ns3::RandomVariableStream::SetStream().
|
private |
Calculate data rate.
modulationType | the modulation type |
Definition at line 674 of file simple-ofdm-wimax-phy.cc.
References GetModulationFecParams(), ns3::WimaxPhy::GetNrCarriers(), ns3::Time::GetSeconds(), and ns3::WimaxPhy::GetSymbolDuration().
Referenced by DoSetDataRates().
|
private |
Convert bits to burst.
buffer | the BVEC |
Definition at line 537 of file simple-ofdm-wimax-phy.cc.
References packetSize.
|
private |
Convert burst to bits.
burst | the packet burst |
Definition at line 497 of file simple-ofdm-wimax-phy.cc.
References ns3::Packet::CopyData(), and ns3::Packet::GetSize().
|
private |
Create FEC blocks.
buffer | the BVEC |
modulationType | the modulation type |
Definition at line 588 of file simple-ofdm-wimax-phy.cc.
References m_blockSize, m_fecBlocks, m_nrBlocks, and m_paddingBits.
|
overridevirtual |
Attach the physical layer to a channel.
channel | the channel to which the physical layer will be attached |
Implements ns3::WimaxPhy.
Definition at line 268 of file simple-ofdm-wimax-phy.cc.
References ns3::WimaxPhy::GetChannel().
|
overrideprivatevirtual |
Destructor implementation.
This method is called by Dispose() or by the Object's destructor, whichever comes first.
Subclasses are expected to implement their real destruction code in an overridden version of this method and chain up to their parent's implementation once they are done. i.e, for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose() method.
It is safe to call GetObject() from within this method.
Reimplemented from ns3::Object.
Definition at line 257 of file simple-ofdm-wimax-phy.cc.
References ns3::WimaxPhy::DoDispose(), m_fecBlocks, m_receivedFecBlocks, and m_snrToBlockErrorRateManager.
|
overrideprivatevirtual |
Get data rate.
modulationType | the modulation type |
Implements ns3::WimaxPhy.
Definition at line 687 of file simple-ofdm-wimax-phy.cc.
References m_dataRateBpsk12, m_dataRateQam16_12, m_dataRateQam16_34, m_dataRateQam64_23, m_dataRateQam64_34, m_dataRateQpsk12, m_dataRateQpsk34, ns3::WimaxPhy::MODULATION_TYPE_BPSK_12, ns3::WimaxPhy::MODULATION_TYPE_QAM16_12, ns3::WimaxPhy::MODULATION_TYPE_QAM16_34, ns3::WimaxPhy::MODULATION_TYPE_QAM64_23, ns3::WimaxPhy::MODULATION_TYPE_QAM64_34, ns3::WimaxPhy::MODULATION_TYPE_QPSK_12, ns3::WimaxPhy::MODULATION_TYPE_QPSK_34, and NS_FATAL_ERROR.
Referenced by DoGetNrBytes(), DoGetNrSymbols(), and GetBlockTransmissionTime().
|
overrideprivatevirtual |
Get frame duration.
frameDurationCode | the frame duration code |
Implements ns3::WimaxPhy.
Definition at line 883 of file simple-ofdm-wimax-phy.cc.
References FRAME_DURATION_10_MS, FRAME_DURATION_12_POINT_5_MS, FRAME_DURATION_20_MS, FRAME_DURATION_2_POINT_5_MS, FRAME_DURATION_4_MS, FRAME_DURATION_5_MS, FRAME_DURATION_8_MS, NS_FATAL_ERROR, and ns3::Seconds().
|
overrideprivatevirtual |
Get frame duration code.
Implements ns3::WimaxPhy.
Definition at line 839 of file simple-ofdm-wimax-phy.cc.
References FRAME_DURATION_10_MS, FRAME_DURATION_12_POINT_5_MS, FRAME_DURATION_20_MS, FRAME_DURATION_2_POINT_5_MS, FRAME_DURATION_4_MS, FRAME_DURATION_5_MS, FRAME_DURATION_8_MS, ns3::WimaxPhy::GetFrameDuration(), ns3::Time::GetSeconds(), and NS_FATAL_ERROR.
|
overrideprivatevirtual |
Get G value.
Implements ns3::WimaxPhy.
Definition at line 1014 of file simple-ofdm-wimax-phy.cc.
References m_g.
Referenced by DoSetPhyParameters(), and GetTypeId().
|
overrideprivatevirtual |
Get NFFT.
Implements ns3::WimaxPhy.
Definition at line 964 of file simple-ofdm-wimax-phy.cc.
References m_nfft.
Referenced by DoSetPhyParameters(), and GetTypeId().
|
overrideprivatevirtual |
Get number of bytes.
symbols | the symbols |
modulationType | the modulation type |
Implements ns3::WimaxPhy.
Definition at line 737 of file simple-ofdm-wimax-phy.cc.
References DoGetDataRate(), ns3::Time::GetSeconds(), ns3::WimaxPhy::GetSymbolDuration(), and ns3::Seconds().
|
overrideprivatevirtual |
Get number of symbols.
size | the size |
modulationType | the modulation type |
Implements ns3::WimaxPhy.
Definition at line 728 of file simple-ofdm-wimax-phy.cc.
References DoGetDataRate(), GetFecBlockSize(), GetNrBlocks(), ns3::Time::GetSeconds(), ns3::WimaxPhy::GetSymbolDuration(), and ns3::Seconds().
Referenced by DoGetTransmissionTime().
|
overrideprivatevirtual |
Get RTG.
Implements ns3::WimaxPhy.
Definition at line 832 of file simple-ofdm-wimax-phy.cc.
References ns3::WimaxPhy::GetPsPerSymbol().
|
overrideprivatevirtual |
Get sampling factor.
Implements ns3::WimaxPhy.
Definition at line 970 of file simple-ofdm-wimax-phy.cc.
References ns3::WimaxPhy::GetChannelBandwidth(), NS_FATAL_ERROR, and NS_LOG_DEBUG.
Referenced by DoGetSamplingFrequency().
|
overrideprivatevirtual |
Get sampling frequency.
Implements ns3::WimaxPhy.
Definition at line 1006 of file simple-ofdm-wimax-phy.cc.
References DoGetSamplingFactor(), and ns3::WimaxPhy::GetChannelBandwidth().
Referenced by DoSetPhyParameters().
|
overrideprivatevirtual |
Get transmission time.
size | the size |
modulationType | the modulation type |
Implements ns3::WimaxPhy.
Definition at line 717 of file simple-ofdm-wimax-phy.cc.
References DoGetNrSymbols(), ns3::WimaxPhy::GetSymbolDuration(), ns3::NanoSeconds(), and ns3::Seconds().
|
overrideprivatevirtual |
Get TTG.
Implements ns3::WimaxPhy.
Definition at line 825 of file simple-ofdm-wimax-phy.cc.
References ns3::WimaxPhy::GetPsPerSymbol().
|
overrideprivatevirtual |
Set data rates.
Implements ns3::WimaxPhy.
Definition at line 624 of file simple-ofdm-wimax-phy.cc.
References CalculateDataRate(), m_dataRateBpsk12, m_dataRateQam16_12, m_dataRateQam16_34, m_dataRateQam64_23, m_dataRateQam64_34, m_dataRateQpsk12, m_dataRateQpsk34, ns3::WimaxPhy::MODULATION_TYPE_BPSK_12, ns3::WimaxPhy::MODULATION_TYPE_QAM16_12, ns3::WimaxPhy::MODULATION_TYPE_QAM16_34, ns3::WimaxPhy::MODULATION_TYPE_QAM64_23, ns3::WimaxPhy::MODULATION_TYPE_QAM64_34, ns3::WimaxPhy::MODULATION_TYPE_QPSK_12, and ns3::WimaxPhy::MODULATION_TYPE_QPSK_34.
|
private |
Set G value.
g | the G value |
Definition at line 1020 of file simple-ofdm-wimax-phy.cc.
References m_g.
Referenced by GetTypeId().
|
private |
Set NFFT.
nfft | the NFFT |
Definition at line 958 of file simple-ofdm-wimax-phy.cc.
References m_nfft.
Referenced by GetTypeId().
|
overrideprivatevirtual |
Set Phy parameters.
Implements ns3::WimaxPhy.
Definition at line 928 of file simple-ofdm-wimax-phy.cc.
References DoGetGValue(), DoGetNfft(), DoGetSamplingFrequency(), ns3::WimaxPhy::GetFrameDuration(), ns3::Time::GetSeconds(), ns3::Seconds(), ns3::WimaxPhy::SetPsDuration(), ns3::WimaxPhy::SetPsPerFrame(), ns3::WimaxPhy::SetPsPerSymbol(), ns3::WimaxPhy::SetSymbolDuration(), and ns3::WimaxPhy::SetSymbolsPerFrame().
|
private |
End receive.
burst |
Definition at line 489 of file simple-ofdm-wimax-phy.cc.
References ns3::WimaxPhy::GetReceiveCallback(), and m_traceRx.
Referenced by EndReceiveFecBlock().
|
private |
End receive FEC block.
burstSize | the burst size |
modulationType | the modulation type |
direction | the direction |
drop | whether to drop |
burst | the burst |
Definition at line 458 of file simple-ofdm-wimax-phy.cc.
References EndReceive(), m_blockSize, m_nbErroneousBlock, m_nrReceivedFecBlocks, m_paddingBits, NotifyRxDrop(), NotifyRxEnd(), ns3::WimaxPhy::PHY_STATE_IDLE, ns3::Simulator::Schedule(), ns3::Seconds(), and ns3::WimaxPhy::SetState().
Referenced by StartReceive().
|
private |
End send.
Definition at line 361 of file simple-ofdm-wimax-phy.cc.
References ns3::WimaxPhy::PHY_STATE_IDLE, and ns3::WimaxPhy::SetState().
|
private |
End send FEC block.
modulationType | the modulation type |
direction | the direction |
Definition at line 343 of file simple-ofdm-wimax-phy.cc.
References m_blockSize, m_currentBurst, m_currentBurstSize, m_nrFecBlocksSent, m_nrRemainingBlocksToSend, m_paddingBits, NotifyTxEnd(), NS_ASSERT_MSG, ns3::WimaxPhy::PHY_STATE_IDLE, ns3::WimaxPhy::SetState(), and StartSendDummyFecBlock().
Referenced by StartSendDummyFecBlock().
uint32_t ns3::SimpleOfdmWimaxPhy::GetBandwidth | ( | ) | const |
Definition at line 221 of file simple-ofdm-wimax-phy.cc.
References ns3::WimaxPhy::GetChannelBandwidth().
Referenced by StartReceive().
|
private |
Get block transmission time.
modulationType | the modulation type |
Definition at line 711 of file simple-ofdm-wimax-phy.cc.
References DoGetDataRate(), GetFecBlockSize(), and ns3::Seconds().
Referenced by StartReceive(), and StartSendDummyFecBlock().
|
private |
Get coded FEC block size.
modulationType | the modulation type |
Definition at line 780 of file simple-ofdm-wimax-phy.cc.
References ns3::WimaxPhy::MODULATION_TYPE_BPSK_12, ns3::WimaxPhy::MODULATION_TYPE_QAM16_12, ns3::WimaxPhy::MODULATION_TYPE_QAM16_34, ns3::WimaxPhy::MODULATION_TYPE_QAM64_23, ns3::WimaxPhy::MODULATION_TYPE_QAM64_34, ns3::WimaxPhy::MODULATION_TYPE_QPSK_12, ns3::WimaxPhy::MODULATION_TYPE_QPSK_34, and NS_FATAL_ERROR.
|
private |
Get FEC block size.
type | the modulation type |
Definition at line 745 of file simple-ofdm-wimax-phy.cc.
References ns3::WimaxPhy::MODULATION_TYPE_BPSK_12, ns3::WimaxPhy::MODULATION_TYPE_QAM16_12, ns3::WimaxPhy::MODULATION_TYPE_QAM16_34, ns3::WimaxPhy::MODULATION_TYPE_QAM64_23, ns3::WimaxPhy::MODULATION_TYPE_QAM64_34, ns3::WimaxPhy::MODULATION_TYPE_QPSK_12, ns3::WimaxPhy::MODULATION_TYPE_QPSK_34, and NS_FATAL_ERROR.
Referenced by DoGetNrSymbols(), GetBlockTransmissionTime(), GetNrBlocks(), and SetBlockParameters().
|
private |
Get moduleation FEC parameters.
modulationType | the modulation type |
bitsPerSymbol | the number of bits per symbol |
fecCode | the FEC code |
Definition at line 636 of file simple-ofdm-wimax-phy.cc.
References ns3::WimaxPhy::MODULATION_TYPE_BPSK_12, ns3::WimaxPhy::MODULATION_TYPE_QAM16_12, ns3::WimaxPhy::MODULATION_TYPE_QAM16_34, ns3::WimaxPhy::MODULATION_TYPE_QAM64_23, ns3::WimaxPhy::MODULATION_TYPE_QAM64_34, ns3::WimaxPhy::MODULATION_TYPE_QPSK_12, and ns3::WimaxPhy::MODULATION_TYPE_QPSK_34.
Referenced by CalculateDataRate().
double ns3::SimpleOfdmWimaxPhy::GetNoiseFigure | ( | ) | const |
Definition at line 245 of file simple-ofdm-wimax-phy.cc.
References m_noiseFigure.
Referenced by GetTypeId().
|
private |
Get number of blocks.
burstSize | the burst size |
modulationType | the modulation type |
Definition at line 912 of file simple-ofdm-wimax-phy.cc.
References GetFecBlockSize().
Referenced by DoGetNrSymbols(), and SetBlockParameters().
|
overridevirtual |
returns the type this physical layer
Implements ns3::WimaxPhy.
Definition at line 284 of file simple-ofdm-wimax-phy.cc.
References ns3::WimaxPhy::simpleOfdmWimaxPhy.
|
private |
Get receive gain.
Definition at line 1044 of file simple-ofdm-wimax-phy.cc.
References m_rxGain.
Referenced by GetTypeId().
|
private |
Get trace file path.
Definition at line 1050 of file simple-ofdm-wimax-phy.cc.
References ns3::SNRToBlockErrorRateManager::GetTraceFilePath(), and m_snrToBlockErrorRateManager.
Referenced by GetTypeId().
|
private |
Get transmit gain.
Definition at line 1038 of file simple-ofdm-wimax-phy.cc.
References m_txGain.
Referenced by GetTypeId().
double ns3::SimpleOfdmWimaxPhy::GetTxPower | ( | ) | const |
Definition at line 233 of file simple-ofdm-wimax-phy.cc.
References m_txPower.
Referenced by GetTypeId().
|
static |
Get the type ID.
Definition at line 48 of file simple-ofdm-wimax-phy.cc.
References DoGetGValue(), DoGetNfft(), DoSetGValue(), DoSetNfft(), GetNoiseFigure(), GetRxGain(), GetTraceFilePath(), GetTxGain(), GetTxPower(), m_phyRxBeginTrace, m_phyRxDropTrace, m_phyRxEndTrace, m_phyTxBeginTrace, m_phyTxDropTrace, m_phyTxEndTrace, m_traceRx, m_traceTx, ns3::MakeDoubleAccessor(), ns3::MakeStringAccessor(), ns3::MakeStringChecker(), ns3::MakeTraceSourceAccessor(), ns3::MakeUintegerAccessor(), SetNoiseFigure(), ns3::TypeId::SetParent(), SetRxGain(), SetTraceFilePath(), SetTxGain(), and SetTxPower().
|
private |
Initialize simple OFDM WIMAX Phy.
Definition at line 155 of file simple-ofdm-wimax-phy.cc.
References m_blockSize, m_currentBurstSize, m_dataRateBpsk12, m_dataRateQam16_12, m_dataRateQam16_34, m_dataRateQam64_23, m_dataRateQam64_34, m_dataRateQpsk12, m_dataRateQpsk34, m_fecBlocks, m_fecBlockSize, m_g, m_nbErroneousBlock, m_nfft, m_noiseFigure, m_nrBlocks, m_nrFecBlocksSent, m_nrReceivedFecBlocks, m_paddingBits, m_receivedFecBlocks, m_rxGain, m_snrToBlockErrorRateManager, m_txGain, m_txPower, SetBandwidth(), and ns3::WimaxPhy::SetNrCarriers().
Referenced by SimpleOfdmWimaxPhy().
void ns3::SimpleOfdmWimaxPhy::NotifyRxBegin | ( | Ptr< PacketBurst > | burst | ) |
Public method used to fire a PhyRxBegin trace.
Implemented for encapsulation purposes.
burst | the packet burst |
Definition at line 1081 of file simple-ofdm-wimax-phy.cc.
References m_phyRxBeginTrace.
Referenced by StartReceive().
void ns3::SimpleOfdmWimaxPhy::NotifyRxDrop | ( | Ptr< PacketBurst > | burst | ) |
Public method used to fire a PhyRxDrop trace.
Implemented for encapsulation purposes.
burst | the packet burst |
Definition at line 1093 of file simple-ofdm-wimax-phy.cc.
References m_phyRxDropTrace.
Referenced by EndReceiveFecBlock().
void ns3::SimpleOfdmWimaxPhy::NotifyRxEnd | ( | Ptr< PacketBurst > | burst | ) |
Public method used to fire a PhyRxEnd trace.
Implemented for encapsulation purposes.
burst | the packet burst |
Definition at line 1087 of file simple-ofdm-wimax-phy.cc.
References m_phyRxEndTrace.
Referenced by EndReceiveFecBlock().
void ns3::SimpleOfdmWimaxPhy::NotifyTxBegin | ( | Ptr< PacketBurst > | burst | ) |
Public method used to fire a PhyTxBegin trace.
Implemented for encapsulation purposes.
burst | the packet burst |
Definition at line 1063 of file simple-ofdm-wimax-phy.cc.
References m_phyTxBeginTrace.
Referenced by Send().
void ns3::SimpleOfdmWimaxPhy::NotifyTxDrop | ( | Ptr< PacketBurst > | burst | ) |
Public method used to fire a PhyTxDrop trace.
Implemented for encapsulation purposes.
burst | the packet burst |
Definition at line 1075 of file simple-ofdm-wimax-phy.cc.
References m_phyTxDropTrace.
void ns3::SimpleOfdmWimaxPhy::NotifyTxEnd | ( | Ptr< PacketBurst > | burst | ) |
Public method used to fire a PhyTxEnd trace.
Implemented for encapsulation purposes.
burst | the packet burst |
Definition at line 1069 of file simple-ofdm-wimax-phy.cc.
References m_phyTxEndTrace.
Referenced by EndSendFecBlock().
|
private |
Recreate buffer.
Definition at line 608 of file simple-ofdm-wimax-phy.cc.
References m_blockSize, m_nrBlocks, and m_receivedFecBlocks.
void ns3::SimpleOfdmWimaxPhy::Send | ( | Ptr< PacketBurst > | burst, |
WimaxPhy::ModulationType | modulationType, | ||
uint8_t | direction | ||
) |
Sends a burst on the channel.
burst | the burst to send |
modulationType | the modulation that will be used to send this burst |
direction | set to uplink or downlink |
Definition at line 290 of file simple-ofdm-wimax-phy.cc.
References ns3::WimaxPhy::GetState(), m_currentBurst, m_currentBurstSize, m_nrFecBlocksSent, m_traceTx, NotifyTxBegin(), ns3::WimaxPhy::PHY_STATE_TX, SetBlockParameters(), and StartSendDummyFecBlock().
Referenced by Send().
|
overridevirtual |
Sends a burst on the channel.
params | parameters |
Implements ns3::WimaxPhy.
Definition at line 274 of file simple-ofdm-wimax-phy.cc.
References NS_ASSERT, two-ray-to-three-gpp-ch-calibration::params, and Send().
void ns3::SimpleOfdmWimaxPhy::SetBandwidth | ( | uint32_t | BW | ) |
Set the bandwidth.
BW | the bandwidth |
Definition at line 227 of file simple-ofdm-wimax-phy.cc.
References BW, and ns3::WimaxPhy::SetChannelBandwidth().
Referenced by InitSimpleOfdmWimaxPhy().
|
private |
Set block parameters.
burstSize | the burst size |
modulationType | the modulation type |
Definition at line 814 of file simple-ofdm-wimax-phy.cc.
References GetFecBlockSize(), GetNrBlocks(), m_blockSize, m_nrBlocks, m_nrRemainingBlocksToSend, m_paddingBits, and NS_ASSERT_MSG.
Referenced by Send(), and StartReceive().
void ns3::SimpleOfdmWimaxPhy::SetNoiseFigure | ( | double | nf | ) |
set the noise figure of the device
nf | the noise figure |
Definition at line 251 of file simple-ofdm-wimax-phy.cc.
References m_noiseFigure.
Referenced by GetTypeId().
void ns3::SimpleOfdmWimaxPhy::SetReceiveCallback | ( | Callback< void, Ptr< PacketBurst >, Ptr< WimaxConnection >> | callback | ) |
set the callback function to call when a burst is received
callback | the receive callback function |
|
private |
Set receive gsain.
rxgain | the receive gain |
Definition at line 1032 of file simple-ofdm-wimax-phy.cc.
References m_rxGain.
Referenced by GetTypeId().
void ns3::SimpleOfdmWimaxPhy::SetSNRToBlockErrorRateTracesPath | ( | char * | tracesPath | ) |
Set the path of the repository containing the traces.
tracesPath | the path to the repository. see snr-to-block-error-rate-manager.h for more details. |
Definition at line 214 of file simple-ofdm-wimax-phy.cc.
References m_snrToBlockErrorRateManager, ns3::SNRToBlockErrorRateManager::ReLoadTraces(), and ns3::SNRToBlockErrorRateManager::SetTraceFilePath().
|
private |
Set trace file path.
path | the trace file path |
Definition at line 1056 of file simple-ofdm-wimax-phy.cc.
References ns3::SNRToBlockErrorRateManager::LoadTraces(), m_snrToBlockErrorRateManager, and ns3::SNRToBlockErrorRateManager::SetTraceFilePath().
Referenced by GetTypeId().
|
private |
Set transmit gain.
txgain | the transmit gain |
Definition at line 1026 of file simple-ofdm-wimax-phy.cc.
References m_txGain.
Referenced by GetTypeId().
void ns3::SimpleOfdmWimaxPhy::SetTxPower | ( | double | txPower | ) |
set the transmission power
txPower | the transmission power |
Definition at line 239 of file simple-ofdm-wimax-phy.cc.
References m_txPower.
Referenced by GetTypeId().
void ns3::SimpleOfdmWimaxPhy::StartReceive | ( | uint32_t | burstSize, |
bool | isFirstBlock, | ||
uint64_t | frequency, | ||
WimaxPhy::ModulationType | modulationType, | ||
uint8_t | direction, | ||
double | rxPower, | ||
Ptr< PacketBurst > | burst | ||
) |
start the reception of a fec block
burstSize | the burst size |
isFirstBlock | true if this block is the first one, false otherwise |
frequency | the frequency in which the fec block is being received |
modulationType | the modulation used to transmit this fec Block |
direction | set to uplink and downlink |
rxPower | the received power. |
burst | the burst to be sent |
Definition at line 367 of file simple-ofdm-wimax-phy.cc.
References ns3::Simulator::Cancel(), EndReceiveFecBlock(), GetBandwidth(), GetBlockTransmissionTime(), ns3::WimaxPhy::GetChnlSrchTimeoutEvent(), ns3::SNRToBlockErrorRateRecord::GetI1(), ns3::SNRToBlockErrorRateRecord::GetI2(), ns3::WimaxPhy::GetRxFrequency(), ns3::WimaxPhy::GetScanningFrequency(), ns3::SNRToBlockErrorRateManager::GetSNRToBlockErrorRateRecord(), ns3::WimaxPhy::GetState(), ns3::UniformRandomVariable::GetValue(), ns3::WimaxPhy::IsDuplex(), m_blockTime, m_noiseFigure, m_nrReceivedFecBlocks, m_receivedFecBlocks, m_snrToBlockErrorRateManager, m_URNG, NotifyRxBegin(), NS_LOG_INFO, ns3::WimaxPhy::PHY_STATE_IDLE, ns3::WimaxPhy::PHY_STATE_RX, ns3::WimaxPhy::PHY_STATE_SCANNING, ns3::WimaxPhy::PHY_STATE_TX, ns3::Simulator::Schedule(), SetBlockParameters(), ns3::WimaxPhy::SetScanningCallback(), ns3::WimaxPhy::SetSimplex(), and ns3::WimaxPhy::SetState().
|
private |
Start end dummy FEC block.
isFirstBlock | is the first block? |
modulationType | the modulation type |
direction | the direction |
Definition at line 307 of file simple-ofdm-wimax-phy.cc.
References third::channel, EndSendFecBlock(), GetBlockTransmissionTime(), ns3::WimaxPhy::GetChannel(), ns3::WimaxPhy::GetTxFrequency(), m_blockTime, m_currentBurst, m_currentBurstSize, m_nrRemainingBlocksToSend, m_txPower, NS_ASSERT, ns3::PeekPointer(), ns3::WimaxPhy::PHY_STATE_TX, ns3::Simulator::Schedule(), and ns3::WimaxPhy::SetState().
Referenced by EndSendFecBlock(), and Send().
|
private |
bandwidth
Definition at line 473 of file simple-ofdm-wimax-phy.h.
|
private |
block size
Definition at line 467 of file simple-ofdm-wimax-phy.h.
Referenced by CreateFecBlocks(), EndReceiveFecBlock(), EndSendFecBlock(), InitSimpleOfdmWimaxPhy(), RecreateBuffer(), and SetBlockParameters().
|
private |
block time
Definition at line 449 of file simple-ofdm-wimax-phy.h.
Referenced by StartReceive(), and StartSendDummyFecBlock().
|
private |
current burst
Definition at line 466 of file simple-ofdm-wimax-phy.h.
Referenced by EndSendFecBlock(), Send(), and StartSendDummyFecBlock().
|
private |
current burst size
Definition at line 443 of file simple-ofdm-wimax-phy.h.
Referenced by EndSendFecBlock(), InitSimpleOfdmWimaxPhy(), Send(), and StartSendDummyFecBlock().
|
private |
data rate
Definition at line 455 of file simple-ofdm-wimax-phy.h.
Referenced by DoGetDataRate(), DoSetDataRates(), and InitSimpleOfdmWimaxPhy().
|
private |
data rate
Definition at line 458 of file simple-ofdm-wimax-phy.h.
Referenced by DoGetDataRate(), DoSetDataRates(), and InitSimpleOfdmWimaxPhy().
|
private |
data rate
Definition at line 459 of file simple-ofdm-wimax-phy.h.
Referenced by DoGetDataRate(), DoSetDataRates(), and InitSimpleOfdmWimaxPhy().
|
private |
data rate
Definition at line 460 of file simple-ofdm-wimax-phy.h.
Referenced by DoGetDataRate(), DoSetDataRates(), and InitSimpleOfdmWimaxPhy().
|
private |
data rate
Definition at line 461 of file simple-ofdm-wimax-phy.h.
Referenced by DoGetDataRate(), DoSetDataRates(), and InitSimpleOfdmWimaxPhy().
|
private |
data rate
Definition at line 456 of file simple-ofdm-wimax-phy.h.
Referenced by DoGetDataRate(), DoSetDataRates(), and InitSimpleOfdmWimaxPhy().
|
private |
data rate
Definition at line 457 of file simple-ofdm-wimax-phy.h.
Referenced by DoGetDataRate(), DoSetDataRates(), and InitSimpleOfdmWimaxPhy().
the FEC blocks
Definition at line 448 of file simple-ofdm-wimax-phy.h.
Referenced by CreateFecBlocks(), DoDispose(), and InitSimpleOfdmWimaxPhy().
|
private |
in bits, size of FEC block transmitted after PHY operations
Definition at line 442 of file simple-ofdm-wimax-phy.h.
Referenced by InitSimpleOfdmWimaxPhy().
|
private |
G value.
Definition at line 472 of file simple-ofdm-wimax-phy.h.
Referenced by DoGetGValue(), DoSetGValue(), and InitSimpleOfdmWimaxPhy().
|
private |
erroneous blocks
Definition at line 469 of file simple-ofdm-wimax-phy.h.
Referenced by EndReceiveFecBlock(), and InitSimpleOfdmWimaxPhy().
|
private |
NFFT.
Definition at line 471 of file simple-ofdm-wimax-phy.h.
Referenced by DoGetNfft(), DoSetNfft(), and InitSimpleOfdmWimaxPhy().
|
private |
noise figure
Definition at line 475 of file simple-ofdm-wimax-phy.h.
Referenced by GetNoiseFigure(), InitSimpleOfdmWimaxPhy(), SetNoiseFigure(), and StartReceive().
|
private |
number of blocks
Definition at line 464 of file simple-ofdm-wimax-phy.h.
Referenced by CreateFecBlocks(), InitSimpleOfdmWimaxPhy(), RecreateBuffer(), and SetBlockParameters().
|
private |
counting the number of FEC blocks sent (within a burst)
Definition at line 447 of file simple-ofdm-wimax-phy.h.
Referenced by EndSendFecBlock(), InitSimpleOfdmWimaxPhy(), and Send().
|
private |
number received FEC blocks
Definition at line 470 of file simple-ofdm-wimax-phy.h.
Referenced by EndReceiveFecBlock(), InitSimpleOfdmWimaxPhy(), and StartReceive().
|
private |
number of remaining blocks to send
Definition at line 465 of file simple-ofdm-wimax-phy.h.
Referenced by EndSendFecBlock(), SetBlockParameters(), and StartSendDummyFecBlock().
|
private |
padding bits
Definition at line 468 of file simple-ofdm-wimax-phy.h.
Referenced by CreateFecBlocks(), EndReceiveFecBlock(), EndSendFecBlock(), InitSimpleOfdmWimaxPhy(), and SetBlockParameters().
|
private |
The trace source fired when a packet begins the reception process from the medium.
Ptr<PacketBurst>
argument is deprecated and will be changed to Ptrc<PacketBurst>
in a future release. Definition at line 516 of file simple-ofdm-wimax-phy.h.
Referenced by GetTypeId(), and NotifyRxBegin().
|
private |
The trace source fired when the phy layer drops a packet it has received.
Ptr<PacketBurst>
argument is deprecated and will be changed to Ptrc<PacketBurst>
in a future release. Definition at line 535 of file simple-ofdm-wimax-phy.h.
Referenced by GetTypeId(), and NotifyRxDrop().
|
private |
The trace source fired when a packet ends the reception process from the medium.
Ptr<PacketBurst>
argument is deprecated and will be changed to Ptrc<PacketBurst>
in a future release. Definition at line 526 of file simple-ofdm-wimax-phy.h.
Referenced by GetTypeId(), and NotifyRxEnd().
|
private |
The trace source fired when a packet begins the transmission process on the medium.
Ptr<PacketBurst>
argument is deprecated and will be changed to Ptrc<PacketBurst>
in a future release. Definition at line 486 of file simple-ofdm-wimax-phy.h.
Referenced by GetTypeId(), and NotifyTxBegin().
|
private |
The trace source fired when the phy layer drops a packet as it tries to transmit it.
Ptr<PacketBurst>
argument is deprecated and will be changed to Ptrc<PacketBurst>
in a future release. Definition at line 506 of file simple-ofdm-wimax-phy.h.
Referenced by GetTypeId(), and NotifyTxDrop().
|
private |
The trace source fired when a packet ends the transmission process on the medium.
Ptr<PacketBurst>
argument is deprecated and will be changed to Ptrc<PacketBurst>
in a future release. Definition at line 496 of file simple-ofdm-wimax-phy.h.
Referenced by GetTypeId(), and NotifyTxEnd().
a list of received FEC blocks until they are combined to recreate the full burst buffer
Definition at line 445 of file simple-ofdm-wimax-phy.h.
Referenced by DoDispose(), InitSimpleOfdmWimaxPhy(), RecreateBuffer(), and StartReceive().
|
private |
receive gain
Definition at line 477 of file simple-ofdm-wimax-phy.h.
Referenced by GetRxGain(), InitSimpleOfdmWimaxPhy(), and SetRxGain().
|
private |
SNR to block error rate manager.
Definition at line 537 of file simple-ofdm-wimax-phy.h.
Referenced by SimpleOfdmWimaxPhy(), ActivateLoss(), DoDispose(), GetTraceFilePath(), InitSimpleOfdmWimaxPhy(), SetSNRToBlockErrorRateTracesPath(), SetTraceFilePath(), and StartReceive().
|
private |
trace receive callback
Definition at line 451 of file simple-ofdm-wimax-phy.h.
Referenced by EndReceive(), and GetTypeId().
|
private |
trace transmit callback
Definition at line 452 of file simple-ofdm-wimax-phy.h.
Referenced by GetTypeId(), and Send().
|
private |
transmit gain
Definition at line 476 of file simple-ofdm-wimax-phy.h.
Referenced by GetTxGain(), InitSimpleOfdmWimaxPhy(), and SetTxGain().
|
private |
transmit power
Definition at line 474 of file simple-ofdm-wimax-phy.h.
Referenced by GetTxPower(), InitSimpleOfdmWimaxPhy(), SetTxPower(), and StartSendDummyFecBlock().
|
private |
Provides uniform random variables.
URNG
Definition at line 540 of file simple-ofdm-wimax-phy.h.
Referenced by SimpleOfdmWimaxPhy(), AssignStreams(), and StartReceive().