A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::DcdChannelEncodings Class Referenceabstract

This class implements the DCD channel encodings as described by "IEEE Standard for Local and metropolitan area networks Part 16: Air Interface for Fixed Broadband Wireless Access Systems" 11.4.1 DCD channel encodings, page 659. More...

#include "dl-mac-messages.h"

+ Inheritance diagram for ns3::DcdChannelEncodings:
+ Collaboration diagram for ns3::DcdChannelEncodings:

Public Member Functions

 DcdChannelEncodings ()
 
virtual ~DcdChannelEncodings ()
 
uint16_t GetBsEirp () const
 Get BS EIRP field.
 
uint16_t GetEirxPIrMax () const
 Get EIRX IR MAX field.
 
uint32_t GetFrequency () const
 Get frequency function.
 
uint16_t GetSize () const
 Get size field.
 
Buffer::Iterator Read (Buffer::Iterator start)
 Read item.
 
void SetBsEirp (uint16_t bs_eirp)
 Set BS EIRP field.
 
void SetEirxPIrMax (uint16_t rss_ir_max)
 Set EIRX IR MAX field.
 
void SetFrequency (uint32_t frequency)
 Set frequency field.
 
Buffer::Iterator Write (Buffer::Iterator start) const
 Write item.
 

Private Member Functions

virtual Buffer::Iterator DoRead (Buffer::Iterator start)=0
 Read item.
 
virtual Buffer::Iterator DoWrite (Buffer::Iterator start) const =0
 Write item.
 

Private Attributes

uint16_t m_bsEirp
 BS EIRP.
 
uint16_t m_eirXPIrMax
 EIRX IR MAX.
 
uint32_t m_frequency
 frequency
 

Detailed Description

This class implements the DCD channel encodings as described by "IEEE Standard for Local and metropolitan area networks Part 16: Air Interface for Fixed Broadband Wireless Access Systems" 11.4.1 DCD channel encodings, page 659.

Definition at line 39 of file dl-mac-messages.h.

Constructor & Destructor Documentation

◆ DcdChannelEncodings()

ns3::DcdChannelEncodings::DcdChannelEncodings ( )

Definition at line 31 of file dl-mac-messages.cc.

◆ ~DcdChannelEncodings()

ns3::DcdChannelEncodings::~DcdChannelEncodings ( )
virtual

Definition at line 38 of file dl-mac-messages.cc.

Member Function Documentation

◆ DoRead()

virtual Buffer::Iterator ns3::DcdChannelEncodings::DoRead ( Buffer::Iterator  start)
privatepure virtual

Read item.

Parameters
startthe iterator
Returns
the updated iterator

Implemented in ns3::OfdmDcdChannelEncodings.

Referenced by Read().

+ Here is the caller graph for this function:

◆ DoWrite()

virtual Buffer::Iterator ns3::DcdChannelEncodings::DoWrite ( Buffer::Iterator  start) const
privatepure virtual

Write item.

Parameters
startiterator
Returns
the updated iterator

Implemented in ns3::OfdmDcdChannelEncodings.

Referenced by Write().

+ Here is the caller graph for this function:

◆ GetBsEirp()

uint16_t ns3::DcdChannelEncodings::GetBsEirp ( ) const

Get BS EIRP field.

Returns
the BS EIRP

Definition at line 61 of file dl-mac-messages.cc.

References m_bsEirp.

Referenced by ns3::SubscriberStationNetDevice::ProcessDcd().

+ Here is the caller graph for this function:

◆ GetEirxPIrMax()

uint16_t ns3::DcdChannelEncodings::GetEirxPIrMax ( ) const

Get EIRX IR MAX field.

Returns
the EIRX IR MAX

Definition at line 67 of file dl-mac-messages.cc.

References m_eirXPIrMax.

Referenced by ns3::SubscriberStationNetDevice::ProcessDcd().

+ Here is the caller graph for this function:

◆ GetFrequency()

uint32_t ns3::DcdChannelEncodings::GetFrequency ( ) const

Get frequency function.

Returns
the frequency

Definition at line 73 of file dl-mac-messages.cc.

References m_frequency.

◆ GetSize()

uint16_t ns3::DcdChannelEncodings::GetSize ( ) const

Get size field.

Returns
the size

Definition at line 79 of file dl-mac-messages.cc.

Referenced by ns3::OfdmDcdChannelEncodings::GetSize().

+ Here is the caller graph for this function:

◆ Read()

Buffer::Iterator ns3::DcdChannelEncodings::Read ( Buffer::Iterator  start)

Read item.

Parameters
startthe iterator
Returns
the updated iterator

Definition at line 95 of file dl-mac-messages.cc.

References DoRead(), m_bsEirp, m_eirXPIrMax, m_frequency, ns3::Buffer::Iterator::ReadU16(), and ns3::Buffer::Iterator::ReadU32().

Referenced by ns3::Dcd::Deserialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBsEirp()

void ns3::DcdChannelEncodings::SetBsEirp ( uint16_t  bs_eirp)

Set BS EIRP field.

Parameters
bs_eirpthe BS EIRP

Definition at line 43 of file dl-mac-messages.cc.

References m_bsEirp.

Referenced by ns3::BaseStationNetDevice::CreateDcd().

+ Here is the caller graph for this function:

◆ SetEirxPIrMax()

void ns3::DcdChannelEncodings::SetEirxPIrMax ( uint16_t  rss_ir_max)

Set EIRX IR MAX field.

Parameters
rss_ir_maxthe EIRRX IR MAX

Definition at line 49 of file dl-mac-messages.cc.

References m_eirXPIrMax.

Referenced by ns3::BaseStationNetDevice::CreateDcd().

+ Here is the caller graph for this function:

◆ SetFrequency()

void ns3::DcdChannelEncodings::SetFrequency ( uint32_t  frequency)

Set frequency field.

Parameters
frequencythe frequency

Definition at line 55 of file dl-mac-messages.cc.

References m_frequency.

Referenced by ns3::BaseStationNetDevice::CreateDcd().

+ Here is the caller graph for this function:

◆ Write()

Buffer::Iterator ns3::DcdChannelEncodings::Write ( Buffer::Iterator  start) const

Write item.

Parameters
startthe iterator
Returns
the updated iterator

Definition at line 85 of file dl-mac-messages.cc.

References DoWrite(), m_bsEirp, m_eirXPIrMax, m_frequency, ns3::Buffer::Iterator::WriteU16(), and ns3::Buffer::Iterator::WriteU32().

Referenced by ns3::Dcd::Serialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_bsEirp

uint16_t ns3::DcdChannelEncodings::m_bsEirp
private

BS EIRP.

Definition at line 110 of file dl-mac-messages.h.

Referenced by GetBsEirp(), Read(), SetBsEirp(), and Write().

◆ m_eirXPIrMax

uint16_t ns3::DcdChannelEncodings::m_eirXPIrMax
private

EIRX IR MAX.

Definition at line 111 of file dl-mac-messages.h.

Referenced by GetEirxPIrMax(), Read(), SetEirxPIrMax(), and Write().

◆ m_frequency

uint32_t ns3::DcdChannelEncodings::m_frequency
private

frequency

Definition at line 112 of file dl-mac-messages.h.

Referenced by GetFrequency(), Read(), SetFrequency(), and Write().


The documentation for this class was generated from the following files: