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 () | |
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 | |
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 28 of file dl-mac-messages.h.
ns3::DcdChannelEncodings::DcdChannelEncodings | ( | ) |
Definition at line 20 of file dl-mac-messages.cc.
|
virtual |
Definition at line 27 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 | ( | ) | const |
Get BS EIRP field.
Definition at line 50 of file dl-mac-messages.cc.
References m_bsEirp.
Referenced by ns3::SubscriberStationNetDevice::ProcessDcd().
uint16_t ns3::DcdChannelEncodings::GetEirxPIrMax | ( | ) | const |
Get EIRX IR MAX field.
Definition at line 56 of file dl-mac-messages.cc.
References m_eirXPIrMax.
Referenced by ns3::SubscriberStationNetDevice::ProcessDcd().
uint32_t ns3::DcdChannelEncodings::GetFrequency | ( | ) | const |
Get frequency function.
Definition at line 62 of file dl-mac-messages.cc.
References m_frequency.
uint16_t ns3::DcdChannelEncodings::GetSize | ( | ) | const |
Get size field.
Definition at line 68 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 84 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().
void ns3::DcdChannelEncodings::SetBsEirp | ( | uint16_t | bs_eirp | ) |
Set BS EIRP field.
bs_eirp | the BS EIRP |
Definition at line 32 of file dl-mac-messages.cc.
References m_bsEirp.
Referenced by ns3::BaseStationNetDevice::CreateDcd(), and ns3::SubscriberStationNetDevice::ProcessDcd().
void ns3::DcdChannelEncodings::SetEirxPIrMax | ( | uint16_t | rss_ir_max | ) |
Set EIRX IR MAX field.
rss_ir_max | the EIRRX IR MAX |
Definition at line 38 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 44 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 74 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().
|
private |
BS EIRP.
Definition at line 99 of file dl-mac-messages.h.
Referenced by GetBsEirp(), Read(), SetBsEirp(), and Write().
|
private |
EIRX IR MAX.
Definition at line 100 of file dl-mac-messages.h.
Referenced by GetEirxPIrMax(), Read(), SetEirxPIrMax(), and Write().
|
private |
frequency
Definition at line 101 of file dl-mac-messages.h.
Referenced by GetFrequency(), Read(), SetFrequency(), and Write().