24 #ifndef UCD_CHANNEL_ENCODINGS_H 25 #define UCD_CHANNEL_ENCODINGS_H 28 #include "ns3/buffer.h" 121 #ifndef OFDM_UCD_CHANNEL_ENCODINGS_H 122 #define OFDM_UCD_CHANNEL_ENCODINGS_H 190 #ifndef OFDM_UL_BURST_PROFILE_H 191 #define OFDM_UL_BURST_PROFILE_H 194 #include "ns3/buffer.h" 307 #include "ns3/header.h" 409 std::string
GetName (
void)
const;
416 void Print (std::ostream &os)
const;
438 #ifndef OFDM_UL_MAP_IE_H 439 #define OFDM_UL_MAP_IE_H 442 #include "ns3/header.h" 563 #include "ns3/header.h" 615 std::string
GetName (
void)
const;
622 void Print (std::ostream &os)
const;
This class implements the OFDM UCD channel encodings as described by "IEEE Standard for Local and met...
uint16_t GetSize(void) const
Get size.
void SetCid(const Cid &cid)
Set CID.
void Serialize(Buffer::Iterator start) const
void SetUcdCount(uint8_t ucdCount)
Set UCD count.
virtual ~UcdChannelEncodings(void)
uint8_t m_ucdCount
UCD count.
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
uint8_t GetSubchannelIndex(void) const
Get subchannel index.
uint8_t GetUiuc(void) const
Get UIUC.
uint8_t GetRangingBackoffEnd(void) const
Get ranging backoff end.
virtual Buffer::Iterator DoRead(Buffer::Iterator start)=0
Read item.
std::string GetName(void) const
Get name.
uint16_t GetSize(void) const
Get size.
uint16_t GetStartTime(void) const
Get start time.
void SetSubchannelIndex(uint8_t subchannelIndex)
Set subchannel index.
uint8_t m_nrUlBurstProfiles
number UL burst profiles
uint8_t m_subchannelIndex
subchannel index
void SetRangingBackoffEnd(uint8_t rangingBackoffEnd)
Set ranging backoff end.
UcdChannelEncodings(void)
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
uint8_t GetSbchnlReqRegionFullParams(void) const
Get SB channel request region full parameters.
uint8_t GetConfigurationChangeCount(void) const
Get configuration change count.
This class implements the UL burst profile as described by "IEEE Standard for Local and metropolitan ...
uint16_t m_duration
duration
static TypeId GetTypeId(void)
Get the type ID.
void SetLength(uint8_t length)
Set length.
std::list< OfdmUlMapIe > m_ulMapElements
UL map elements.
uint8_t m_sbchnlFocContCodes
SB channel for control codes.
void SetChannelEncodings(OfdmUcdChannelEncodings channelEncodings)
Set channel encodings.
uint8_t GetUiuc(void) const
Get UIUC.
void Serialize(Buffer::Iterator start) const
iterator in a Buffer instance
uint8_t m_requestBackoffStart
request backoff start
Buffer::Iterator Write(Buffer::Iterator start) const
Write item.
~OfdmUcdChannelEncodings(void)
void SetNrUlBurstProfiles(uint8_t nrUlBurstProfiles)
Set NR UL burst profiles.
uint32_t GetSerializedSize(void) const
void SetSbchnlReqRegionFullParams(uint8_t sbchnlReqRegionFullParams)
Set SB channel reguest region full parameters.
OfdmUcdChannelEncodings(void)
void SetRequestBackoffStart(uint8_t requestBackoffStart)
Set request backoff start.
uint16_t m_rangReqOppSize
range request opp size
virtual Buffer::Iterator DoWrite(Buffer::Iterator start) const =0
Write item.
uint8_t GetLength(void) const
Get length.
std::string GetName(void) const
Get name.
uint32_t Deserialize(Buffer::Iterator start)
uint8_t GetRequestBackoffStart(void) const
Get request backoff start.
uint8_t m_rangingBackoffEnd
ranging backoff end
uint8_t m_configurationChangeCount
configuration change count
void SetSbchnlFocContCodes(uint8_t sbchnlFocContCodes)
Set SB channel for control codes.
uint8_t m_rangingBackoffStart
ranging backoff start
void SetFecCodeType(uint8_t fecCodeType)
Set FEC code type.
static TypeId GetTypeId(void)
Get the type ID.
uint32_t m_frequency
frequency
Buffer::Iterator Write(Buffer::Iterator start) const
Write item.
void SetUiuc(uint8_t uiuc)
Set UIUC.
This class implements the UCD message as described by "IEEE Standard for Local and metropolitan area ...
void SetAllocationStartTime(uint32_t allocationStartTime)
Set allocation start time.
uint32_t GetFrequency(void) const
Get frequency.
void SetRangingBackoffStart(uint8_t rangingBackoffStart)
Set ranging backoff start.
uint16_t m_startTime
start time
void SetDuration(uint16_t duration)
Set duration.
uint8_t m_fecCodeType
FEC code type.
void SetBwReqOppSize(uint16_t bwReqOppSize)
Set BW request opp size.
void AddUlBurstProfile(OfdmUlBurstProfile ulBurstProfile)
Add UL burst profile.
Buffer::Iterator Read(Buffer::Iterator start)
Read item.
std::vector< OfdmUlBurstProfile > m_ulBurstProfiles
UL burst profiles.
uint8_t GetType(void) const
Get type.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
~OfdmUlBurstProfile(void)
uint32_t GetAllocationStartTime(void) const
Get allocation start time.
uint8_t m_reserved
changed as per the amendment 802.16e-2005
Buffer::Iterator Read(Buffer::Iterator start)
Read item.
void SetMidambleRepetitionInterval(uint8_t midambleRepetitionInterval)
Set midambe repetition interval.
std::list< OfdmUlMapIe > GetUlMapElements(void) const
Get UL map elements.
uint8_t GetRangingBackoffStart(void) const
Get ranging backoff start.
OfdmUcdChannelEncodings GetChannelEncodings(void) const
Get channel encodings.
void SetRangReqOppSize(uint16_t rangReqOppSize)
Set range request opp size.
Buffer::Iterator Write(Buffer::Iterator start) const
Write item.
void SetStartTime(uint16_t startTime)
Set start time.
void Print(std::ostream &os) const
void Print(std::ostream &os) const
void SetFrequency(uint32_t frequency)
Set frequency.
virtual Buffer::Iterator DoRead(Buffer::Iterator start)
Read item.
uint16_t GetSize(void) const
Get size.
void SetConfigurationChangeCount(uint8_t ucdCount)
Set configuration change count.
This class implements the UCD channel encodings as described by "IEEE Standard for Local and metropol...
This class implements the UL-MAP_IE message as described by "IEEE Standard for Local and metropolitan...
uint8_t GetRequestBackoffEnd(void) const
Get request backoff end.
void SetRequestBackoffEnd(uint8_t requestBackoffEnd)
Set request backoff end.
uint8_t m_midambleRepetitionInterval
midamble repetition interval
std::vector< OfdmUlBurstProfile > GetUlBurstProfiles(void) const
Get UL burst profiles.
OfdmUcdChannelEncodings m_channelEncodings
TLV Encoded information for the overall channel.
uint8_t GetMidambleRepetitionInterval(void) const
Get Midamble repetition interval.
uint8_t GetFecCodeType(void) const
Get FEC code type.
uint16_t GetDuration(void) const
Get duration.
uint8_t GetSbchnlFocContCodes(void) const
Get SB channel for control codes.
uint32_t Deserialize(Buffer::Iterator start)
Cid GetCid(void) const
Get CID.
uint32_t m_allocationStartTime
allocation start time
uint16_t GetSize(void) const
Get size.
uint32_t GetSerializedSize(void) const
uint16_t m_bwReqOppSize
BW request opp size.
uint8_t GetNrUlBurstProfiles(void) const
Get number UL burst profiles.
This class implements the UL-MAP_IE message as described by "IEEE Standard for Local and metropolitan...
void AddUlMapElement(OfdmUlMapIe ulMapElement)
Add UL map element.
a unique identifier for an interface.
void SetUiuc(uint8_t uiuc)
Set UIUC.
uint8_t m_requestBackoffEnd
request backoff end
virtual Buffer::Iterator DoWrite(Buffer::Iterator start) const
Write item.
uint8_t m_sbchnlReqRegionFullParams
SB channel request region full parameters.
uint8_t GetUcdCount(void) const
Get UCD count.
uint16_t GetBwReqOppSize(void) const
Get BW request opp size.
Buffer::Iterator Read(Buffer::Iterator start)
Read item.
void SetType(uint8_t type)
Set type.
uint16_t GetRangReqOppSize(void) const
Get range request opp size.