This class implements the DL Frame Prefix IE as described by IEEE-802.16 standard. More...
#include "ofdm-downlink-frame-prefix.h"
Public Member Functions | |
DlFramePrefixIe () | |
~DlFramePrefixIe () | |
uint8_t | GetDiuc () const |
Get DIUC field. More... | |
uint16_t | GetLength () const |
Get length field. More... | |
uint8_t | GetPreamblePresent () const |
Get preamble present field. More... | |
uint8_t | GetRateId () const |
Get rate ID field. More... | |
uint16_t | GetSize () const |
Get size field. More... | |
uint16_t | GetStartTime () const |
Get start time field. More... | |
Buffer::Iterator | Read (Buffer::Iterator start) |
Read item function. More... | |
void | SetDiuc (uint8_t diuc) |
Set DIUC field. More... | |
void | SetLength (uint16_t length) |
Set length field. More... | |
void | SetPreamblePresent (uint8_t preamblePresent) |
Set preamble present field. More... | |
void | SetRateId (uint8_t rateId) |
Set rate ID field. More... | |
void | SetStartTime (uint16_t startTime) |
Set start time field. More... | |
Buffer::Iterator | Write (Buffer::Iterator start) const |
Write item function. More... | |
Private Attributes | |
uint8_t | m_diuc |
DIUC. More... | |
uint16_t | m_length |
length More... | |
uint8_t | m_preamblePresent |
preamble present More... | |
uint8_t | m_rateId |
rate ID More... | |
uint16_t | m_startTime |
start time More... | |
This class implements the DL Frame Prefix IE as described by IEEE-802.16 standard.
The DL Frame Prefix IE is contained in DLFP (Downlink Frame Prefix) in OFDM PHY
Definition at line 35 of file ofdm-downlink-frame-prefix.h.
ns3::DlFramePrefixIe::DlFramePrefixIe | ( | ) |
Definition at line 29 of file ofdm-downlink-frame-prefix.cc.
ns3::DlFramePrefixIe::~DlFramePrefixIe | ( | ) |
Definition at line 38 of file ofdm-downlink-frame-prefix.cc.
uint8_t ns3::DlFramePrefixIe::GetDiuc | ( | ) | const |
Get DIUC field.
Definition at line 79 of file ofdm-downlink-frame-prefix.cc.
References m_diuc.
Referenced by ns3::OfdmDownlinkFramePrefix::Deserialize().
uint16_t ns3::DlFramePrefixIe::GetLength | ( | void | ) | const |
Get length field.
Definition at line 91 of file ofdm-downlink-frame-prefix.cc.
References m_length.
uint8_t ns3::DlFramePrefixIe::GetPreamblePresent | ( | ) | const |
Get preamble present field.
Definition at line 85 of file ofdm-downlink-frame-prefix.cc.
References m_preamblePresent.
uint8_t ns3::DlFramePrefixIe::GetRateId | ( | ) | const |
Get rate ID field.
Definition at line 73 of file ofdm-downlink-frame-prefix.cc.
References m_rateId.
uint16_t ns3::DlFramePrefixIe::GetSize | ( | void | ) | const |
uint16_t ns3::DlFramePrefixIe::GetStartTime | ( | ) | const |
Get start time field.
Definition at line 97 of file ofdm-downlink-frame-prefix.cc.
References m_startTime.
Buffer::Iterator ns3::DlFramePrefixIe::Read | ( | Buffer::Iterator | start | ) |
Read item function.
start | the iterator |
Definition at line 121 of file ofdm-downlink-frame-prefix.cc.
References m_diuc, m_length, m_preamblePresent, m_rateId, m_startTime, ns3::Buffer::Iterator::ReadU16(), ns3::Buffer::Iterator::ReadU8(), and two-ray-to-three-gpp-ch-calibration::start.
Referenced by ns3::OfdmDownlinkFramePrefix::Deserialize().
void ns3::DlFramePrefixIe::SetDiuc | ( | uint8_t | diuc | ) |
Set DIUC field.
diuc | the DIUC |
Definition at line 49 of file ofdm-downlink-frame-prefix.cc.
References m_diuc.
void ns3::DlFramePrefixIe::SetLength | ( | uint16_t | length | ) |
Set length field.
length | the length |
Definition at line 61 of file ofdm-downlink-frame-prefix.cc.
References m_length.
void ns3::DlFramePrefixIe::SetPreamblePresent | ( | uint8_t | preamblePresent | ) |
Set preamble present field.
preamblePresent | the preambel present |
Definition at line 55 of file ofdm-downlink-frame-prefix.cc.
References m_preamblePresent.
void ns3::DlFramePrefixIe::SetRateId | ( | uint8_t | rateId | ) |
Set rate ID field.
rateId | the rate ID |
Definition at line 43 of file ofdm-downlink-frame-prefix.cc.
References m_rateId.
void ns3::DlFramePrefixIe::SetStartTime | ( | uint16_t | startTime | ) |
Set start time field.
startTime | the start time |
Definition at line 67 of file ofdm-downlink-frame-prefix.cc.
References m_startTime.
Buffer::Iterator ns3::DlFramePrefixIe::Write | ( | Buffer::Iterator | start | ) | const |
Write item function.
start | the iterator |
Definition at line 109 of file ofdm-downlink-frame-prefix.cc.
References m_diuc, m_length, m_preamblePresent, m_rateId, m_startTime, two-ray-to-three-gpp-ch-calibration::start, ns3::Buffer::Iterator::WriteU16(), and ns3::Buffer::Iterator::WriteU8().
|
private |
|
private |
length
Definition at line 116 of file ofdm-downlink-frame-prefix.h.
Referenced by GetLength(), Read(), SetLength(), and Write().
|
private |
preamble present
Definition at line 115 of file ofdm-downlink-frame-prefix.h.
Referenced by GetPreamblePresent(), Read(), SetPreamblePresent(), and Write().
|
private |
rate ID
Definition at line 113 of file ofdm-downlink-frame-prefix.h.
Referenced by GetRateId(), Read(), SetRateId(), and Write().
|
private |
start time
Definition at line 117 of file ofdm-downlink-frame-prefix.h.
Referenced by GetStartTime(), Read(), SetStartTime(), and Write().