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. More... | |
uint16_t | GetEirxPIrMax () const |
Get EIRX IR MAX field. More... | |
uint32_t | GetFrequency () const |
Get frequency function. More... | |
uint16_t | GetSize () 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 39 of file dl-mac-messages.h.
ns3::DcdChannelEncodings::DcdChannelEncodings | ( | ) |
Definition at line 31 of file dl-mac-messages.cc.
|
virtual |
Definition at line 38 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 61 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 67 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 73 of file dl-mac-messages.cc.
References m_frequency.
uint16_t ns3::DcdChannelEncodings::GetSize | ( | void | ) | const |
Get size field.
Definition at line 79 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 95 of file dl-mac-messages.cc.
References DoRead(), m_bsEirp, m_eirXPIrMax, m_frequency, ns3::Buffer::Iterator::ReadU16(), ns3::Buffer::Iterator::ReadU32(), and two-ray-to-three-gpp-ch-calibration::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 43 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 49 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 55 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 85 of file dl-mac-messages.cc.
References DoWrite(), m_bsEirp, m_eirXPIrMax, m_frequency, two-ray-to-three-gpp-ch-calibration::start, ns3::Buffer::Iterator::WriteU16(), and ns3::Buffer::Iterator::WriteU32().
Referenced by ns3::Dcd::Serialize().
|
private |
BS EIRP.
Definition at line 110 of file dl-mac-messages.h.
Referenced by GetBsEirp(), Read(), SetBsEirp(), and Write().
|
private |
EIRX IR MAX.
Definition at line 111 of file dl-mac-messages.h.
Referenced by GetEirxPIrMax(), Read(), SetEirxPIrMax(), and Write().
|
private |
frequency
Definition at line 112 of file dl-mac-messages.h.
Referenced by GetFrequency(), Read(), SetFrequency(), and Write().