21 #ifndef DL_FRAME_PREFIX_IE_H 22 #define DL_FRAME_PREFIX_IE_H 25 #include "ns3/header.h" 125 #ifndef OFDM_DOWNLINK_FRAME_PREFIX_H 126 #define OFDM_DOWNLINK_FRAME_PREFIX_H 129 #include "ns3/header.h" 130 #include "ns3/mac48-address.h" 173 void SetHcs (uint8_t hcs);
199 uint8_t
GetHcs (
void)
const;
205 std::string
GetName (
void)
const;
206 void Print (std::ostream &os)
const;
OfdmDownlinkFramePrefix()
void AddDlFramePrefixElement(DlFramePrefixIe dlFramePrefixElement)
Add DL frame prefix element field.
uint8_t GetPreamblePresent(void) const
Get preamble present field.
void SetLength(uint16_t length)
Set length field.
uint8_t GetRateId(void) const
Get rate ID field.
Buffer::Iterator Read(Buffer::Iterator start)
Read item function.
uint16_t GetStartTime(void) const
Get start time field.
uint8_t m_preamblePresent
preamble present
uint16_t m_startTime
start time
std::vector< DlFramePrefixIe > GetDlFramePrefixElements(void) const
Get DL frame prefix elements.
void SetDiuc(uint8_t diuc)
Set DIUC field.
uint16_t GetLength(void) const
Get length field.
iterator in a Buffer instance
void Print(std::ostream &os) const
std::vector< DlFramePrefixIe > m_dlFramePrefixElements
vector of dl frame prefix elements
static TypeId GetTypeId(void)
Register this type.
void SetBaseStationId(Mac48Address baseStationId)
Set base station ID field.
This class implements the DL Frame Prefix IE as described by IEEE-802.16 standard.
uint32_t GetSerializedSize(void) const
void SetRateId(uint8_t rateId)
Set rate ID field.
uint8_t GetConfigurationChangeCount(void) const
Get configuration change count field.
std::string GetName(void) const
Get name field.
uint16_t GetSize(void) const
Get size field.
uint32_t Deserialize(Buffer::Iterator start)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint32_t m_frameNumber
shall actually be only 4 LSB of the same field in OFDM DCD Channel Encodings
~OfdmDownlinkFramePrefix()
Mac48Address m_baseStationId
base station ID
void Serialize(Buffer::Iterator start) const
void SetConfigurationChangeCount(uint8_t configurationChangeCount)
Set configuration change count field.
Mac48Address GetBaseStationId(void) const
Get base station ID field.
uint8_t GetDiuc(void) const
Get DIUC field.
uint8_t GetHcs(void) const
Get HCS field.
uint8_t m_configurationChangeCount
shall actually be only 4 LSB of the same field in DCD
void SetHcs(uint8_t hcs)
Set HCS field.
void SetFrameNumber(uint32_t frameNumber)
Set frame number field.
Buffer::Iterator Write(Buffer::Iterator start) const
Write item function.
uint32_t GetFrameNumber(void) const
Get frame number field.
void SetPreamblePresent(uint8_t preamblePresent)
Set preamble present field.
a unique identifier for an interface.
uint8_t m_hcs
Header Check Sequence.
void SetStartTime(uint16_t startTime)
Set start time field.