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"
Public Member Functions | |
DcdChannelEncodings (void) | |
virtual | ~DcdChannelEncodings (void) |
uint16_t | GetBsEirp (void) const |
Get BS EIRP field. More... | |
uint16_t | GetEirxPIrMax (void) const |
Get EIRX IR MAX field. More... | |
uint32_t | GetFrequency (void) const |
Get frequency function. More... | |
uint16_t | GetSize (void) const |
Get size field. More... | |
Buffer::Iterator | Read (Buffer::Iterator start) |
Read item. More... | |
void | SetBsEirp (uint16_t bs_eirp) |
Set BS EIRP field. More... | |
void | SetEirxPIrMax (uint16_t rss_ir_max) |
Set EIRX IR MAX field. More... | |
void | SetFrequency (uint32_t frequency) |
Set frequency field. More... | |
Buffer::Iterator | Write (Buffer::Iterator start) const |
Write item. More... | |
Private Member Functions | |
virtual Buffer::Iterator | DoRead (Buffer::Iterator start)=0 |
Read item. More... | |
virtual Buffer::Iterator | DoWrite (Buffer::Iterator start) const =0 |
Write item. More... | |
Private Attributes | |
uint16_t | m_bsEirp |
BS EIRP. More... | |
uint16_t | m_eirXPIrMax |
EIRX IR MAX. More... | |
uint32_t | m_frequency |
frequency More... | |
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 38 of file dl-mac-messages.h.
ns3::DcdChannelEncodings::DcdChannelEncodings | ( | void | ) |
Definition at line 30 of file dl-mac-messages.cc.
|
virtual |
Definition at line 37 of file dl-mac-messages.cc.
|
privatepure virtual |
Read item.
start | the iterator |
Implemented in ns3::OfdmDcdChannelEncodings.
Referenced by Read().
|
privatepure virtual |
Write item.
start | iterator |
Implemented in ns3::OfdmDcdChannelEncodings.
Referenced by Write().
uint16_t ns3::DcdChannelEncodings::GetBsEirp | ( | void | ) | const |
Get BS EIRP field.
Definition at line 60 of file dl-mac-messages.cc.
References m_bsEirp.
Referenced by ns3::SubscriberStationNetDevice::ProcessDcd().
uint16_t ns3::DcdChannelEncodings::GetEirxPIrMax | ( | void | ) | const |
Get EIRX IR MAX field.
Definition at line 66 of file dl-mac-messages.cc.
References m_eirXPIrMax.
Referenced by ns3::SubscriberStationNetDevice::ProcessDcd().
uint32_t ns3::DcdChannelEncodings::GetFrequency | ( | void | ) | const |
Get frequency function.
Definition at line 72 of file dl-mac-messages.cc.
References m_frequency.
uint16_t ns3::DcdChannelEncodings::GetSize | ( | void | ) | const |
Get size field.
Definition at line 78 of file dl-mac-messages.cc.
Referenced by ns3::OfdmDcdChannelEncodings::GetSize().
Buffer::Iterator ns3::DcdChannelEncodings::Read | ( | Buffer::Iterator | start | ) |
Read item.
start | the iterator |
Definition at line 94 of file dl-mac-messages.cc.
References DoRead(), m_bsEirp, m_eirXPIrMax, m_frequency, ns3::Buffer::Iterator::ReadU16(), ns3::Buffer::Iterator::ReadU32(), and visualizer.core::start().
Referenced by ns3::Dcd::Deserialize().
void ns3::DcdChannelEncodings::SetBsEirp | ( | uint16_t | bs_eirp | ) |
Set BS EIRP field.
bs_eirp | the BS EIRP |
Definition at line 42 of file dl-mac-messages.cc.
References m_bsEirp.
Referenced by ns3::BaseStationNetDevice::CreateDcd().
void ns3::DcdChannelEncodings::SetEirxPIrMax | ( | uint16_t | rss_ir_max | ) |
Set EIRX IR MAX field.
rss_ir_max | the EIRRX IR MAX |
Definition at line 48 of file dl-mac-messages.cc.
References m_eirXPIrMax.
Referenced by ns3::BaseStationNetDevice::CreateDcd().
void ns3::DcdChannelEncodings::SetFrequency | ( | uint32_t | frequency | ) |
Set frequency field.
frequency | the frequency |
Definition at line 54 of file dl-mac-messages.cc.
References m_frequency.
Referenced by ns3::BaseStationNetDevice::CreateDcd().
Buffer::Iterator ns3::DcdChannelEncodings::Write | ( | Buffer::Iterator | start | ) | const |
Write item.
start | the iterator |
Definition at line 84 of file dl-mac-messages.cc.
References DoWrite(), m_bsEirp, m_eirXPIrMax, m_frequency, visualizer.core::start(), ns3::Buffer::Iterator::WriteU16(), and ns3::Buffer::Iterator::WriteU32().
Referenced by ns3::Dcd::Serialize().
|
private |
BS EIRP.
Definition at line 108 of file dl-mac-messages.h.
Referenced by GetBsEirp(), Read(), SetBsEirp(), and Write().
|
private |
EIRX IR MAX.
Definition at line 109 of file dl-mac-messages.h.
Referenced by GetEirxPIrMax(), Read(), SetEirxPIrMax(), and Write().
|
private |
frequency
Definition at line 110 of file dl-mac-messages.h.
Referenced by GetFrequency(), Read(), SetFrequency(), and Write().