This class implements the OFDM DCD channel encodings as described by "IEEE Standard for Local and metropolitan area networks Part 16: Air Interface for Fixed Broadband Wireless Access Systems". More...
#include "dl-mac-messages.h"
Public Member Functions | |
OfdmDcdChannelEncodings () | |
~OfdmDcdChannelEncodings () override | |
Mac48Address | GetBaseStationId () const |
Get base station ID field. More... | |
uint8_t | GetChannelNr () const |
Get channel number field. More... | |
uint8_t | GetFrameDurationCode () const |
Get frame duration code field. More... | |
uint32_t | GetFrameNumber () const |
Get frame number field. More... | |
uint8_t | GetRtg () const |
Get RTG field. More... | |
uint16_t | GetSize () const |
Get size field. More... | |
uint8_t | GetTtg () const |
Get TTG field. More... | |
void | SetBaseStationId (Mac48Address baseStationId) |
Set base station ID field. More... | |
void | SetChannelNr (uint8_t channelNr) |
Set channel number field. More... | |
void | SetFrameDurationCode (uint8_t frameDurationCode) |
Set frame duration code field. More... | |
void | SetFrameNumber (uint32_t frameNumber) |
Set frame number field. More... | |
void | SetRtg (uint8_t rtg) |
Set RTG field. More... | |
void | SetTtg (uint8_t ttg) |
Set TTG field. More... | |
Public Member Functions inherited from ns3::DcdChannelEncodings | |
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 | |
Buffer::Iterator | DoRead (Buffer::Iterator start) override |
Read item. More... | |
Buffer::Iterator | DoWrite (Buffer::Iterator start) const override |
Write item. More... | |
Private Attributes | |
Mac48Address | m_baseStationId |
base station ID More... | |
uint8_t | m_channelNr |
channel number More... | |
uint8_t | m_frameDurationCode |
frame duration code More... | |
uint32_t | m_frameNumber |
frame number More... | |
uint8_t | m_rtg |
RTG. More... | |
uint8_t | m_ttg |
TTG. More... | |
This class implements the OFDM DCD channel encodings as described by "IEEE Standard for Local and metropolitan area networks Part 16: Air Interface for Fixed Broadband Wireless Access Systems".
Definition at line 136 of file dl-mac-messages.h.
ns3::OfdmDcdChannelEncodings::OfdmDcdChannelEncodings | ( | ) |
Definition at line 106 of file dl-mac-messages.cc.
|
override |
Definition at line 116 of file dl-mac-messages.cc.
|
overrideprivatevirtual |
Read item.
start | the iterator |
Implements ns3::DcdChannelEncodings.
Definition at line 212 of file dl-mac-messages.cc.
References m_baseStationId, m_channelNr, m_frameDurationCode, m_frameNumber, m_rtg, m_ttg, ns3::ReadFrom(), ns3::Buffer::Iterator::ReadU32(), ns3::Buffer::Iterator::ReadU8(), and two-ray-to-three-gpp-ch-calibration::start.
|
overrideprivatevirtual |
Write item.
start | the iterator |
Implements ns3::DcdChannelEncodings.
Definition at line 199 of file dl-mac-messages.cc.
References m_baseStationId, m_channelNr, m_frameDurationCode, m_frameNumber, m_rtg, m_ttg, two-ray-to-three-gpp-ch-calibration::start, ns3::WriteTo(), ns3::Buffer::Iterator::WriteU32(), and ns3::Buffer::Iterator::WriteU8().
Mac48Address ns3::OfdmDcdChannelEncodings::GetBaseStationId | ( | ) | const |
Get base station ID field.
Definition at line 175 of file dl-mac-messages.cc.
References m_baseStationId.
uint8_t ns3::OfdmDcdChannelEncodings::GetChannelNr | ( | ) | const |
Get channel number field.
Definition at line 157 of file dl-mac-messages.cc.
References m_channelNr.
uint8_t ns3::OfdmDcdChannelEncodings::GetFrameDurationCode | ( | ) | const |
Get frame duration code field.
Definition at line 181 of file dl-mac-messages.cc.
References m_frameDurationCode.
Referenced by ns3::SubscriberStationNetDevice::ProcessDcd().
uint32_t ns3::OfdmDcdChannelEncodings::GetFrameNumber | ( | ) | const |
Get frame number field.
Definition at line 187 of file dl-mac-messages.cc.
References m_frameNumber.
uint8_t ns3::OfdmDcdChannelEncodings::GetRtg | ( | ) | const |
uint16_t ns3::OfdmDcdChannelEncodings::GetSize | ( | void | ) | const |
Get size field.
Definition at line 193 of file dl-mac-messages.cc.
References ns3::DcdChannelEncodings::GetSize().
Referenced by ns3::Dcd::GetSerializedSize().
uint8_t ns3::OfdmDcdChannelEncodings::GetTtg | ( | ) | const |
void ns3::OfdmDcdChannelEncodings::SetBaseStationId | ( | Mac48Address | baseStationId | ) |
Set base station ID field.
baseStationId | the base station ID |
Definition at line 139 of file dl-mac-messages.cc.
References m_baseStationId.
Referenced by ns3::BaseStationNetDevice::CreateDcd().
void ns3::OfdmDcdChannelEncodings::SetChannelNr | ( | uint8_t | channelNr | ) |
Set channel number field.
channelNr | the channel number |
Definition at line 121 of file dl-mac-messages.cc.
References m_channelNr.
Referenced by ns3::BaseStationNetDevice::CreateDcd().
void ns3::OfdmDcdChannelEncodings::SetFrameDurationCode | ( | uint8_t | frameDurationCode | ) |
Set frame duration code field.
frameDurationCode | the frame duration code |
Definition at line 145 of file dl-mac-messages.cc.
References m_frameDurationCode.
Referenced by ns3::BaseStationNetDevice::CreateDcd().
void ns3::OfdmDcdChannelEncodings::SetFrameNumber | ( | uint32_t | frameNumber | ) |
Set frame number field.
frameNumber | the frame number |
Definition at line 151 of file dl-mac-messages.cc.
References m_frameNumber.
Referenced by ns3::BaseStationNetDevice::CreateDcd().
void ns3::OfdmDcdChannelEncodings::SetRtg | ( | uint8_t | rtg | ) |
Set RTG field.
rtg | the RTG |
Definition at line 133 of file dl-mac-messages.cc.
References m_rtg.
Referenced by ns3::BaseStationNetDevice::CreateDcd().
void ns3::OfdmDcdChannelEncodings::SetTtg | ( | uint8_t | ttg | ) |
Set TTG field.
ttg | the TTG |
Definition at line 127 of file dl-mac-messages.cc.
References m_ttg.
Referenced by ns3::BaseStationNetDevice::CreateDcd().
|
private |
base station ID
Definition at line 230 of file dl-mac-messages.h.
Referenced by DoRead(), DoWrite(), GetBaseStationId(), and SetBaseStationId().
|
private |
channel number
Definition at line 226 of file dl-mac-messages.h.
Referenced by DoRead(), DoWrite(), GetChannelNr(), and SetChannelNr().
|
private |
frame duration code
Definition at line 231 of file dl-mac-messages.h.
Referenced by DoRead(), DoWrite(), GetFrameDurationCode(), and SetFrameDurationCode().
|
private |
frame number
Definition at line 232 of file dl-mac-messages.h.
Referenced by DoRead(), DoWrite(), GetFrameNumber(), and SetFrameNumber().
|
private |
|
private |