This class implements the UL-MAP_IE message as described by "IEEE Standard for Local and metropolitan area networks Part 16: Air Interface for Fixed Broadband Wireless Access Systems" 6.3.2.3.43.7 UL-MAP_IE, page 115. More...
#include "ul-mac-messages.h"
Public Member Functions | |
OfdmUlMapIe () | |
~OfdmUlMapIe () | |
Cid | GetCid () const |
Get CID. | |
uint16_t | GetDuration () const |
Get duration. | |
uint8_t | GetMidambleRepetitionInterval () const |
Get Midamble repetition interval. | |
uint16_t | GetSize () const |
Get size. | |
uint16_t | GetStartTime () const |
Get start time. | |
uint8_t | GetSubchannelIndex () const |
Get subchannel index. | |
uint8_t | GetUiuc () const |
Get UIUC. | |
Buffer::Iterator | Read (Buffer::Iterator start) |
Read item. | |
void | SetCid (const Cid &cid) |
Set CID. | |
void | SetDuration (uint16_t duration) |
Set duration. | |
void | SetMidambleRepetitionInterval (uint8_t midambleRepetitionInterval) |
Set midambe repetition interval. | |
void | SetStartTime (uint16_t startTime) |
Set start time. | |
void | SetSubchannelIndex (uint8_t subchannelIndex) |
Set subchannel index. | |
void | SetUiuc (uint8_t uiuc) |
Set UIUC. | |
Buffer::Iterator | Write (Buffer::Iterator start) const |
Write item. | |
Private Attributes | |
Cid | m_cid |
CID. | |
uint16_t | m_duration |
duration | |
uint8_t | m_midambleRepetitionInterval |
midamble repetition interval | |
uint16_t | m_startTime |
start time | |
uint8_t | m_subchannelIndex |
subchannel index | |
uint8_t | m_uiuc |
UIUC. | |
This class implements the UL-MAP_IE message as described by "IEEE Standard for Local and metropolitan area networks Part 16: Air Interface for Fixed Broadband Wireless Access Systems" 6.3.2.3.43.7 UL-MAP_IE, page 115.
Definition at line 452 of file ul-mac-messages.h.
ns3::OfdmUlMapIe::OfdmUlMapIe | ( | ) |
Definition at line 440 of file ul-mac-messages.cc.
ns3::OfdmUlMapIe::~OfdmUlMapIe | ( | ) |
Definition at line 450 of file ul-mac-messages.cc.
Cid ns3::OfdmUlMapIe::GetCid | ( | ) | const |
Get CID.
Definition at line 491 of file ul-mac-messages.cc.
References m_cid.
Referenced by ns3::BaseStationNetDevice::MarkUplinkAllocations(), and ns3::SubscriberStationNetDevice::ProcessUlMap().
uint16_t ns3::OfdmUlMapIe::GetDuration | ( | ) | const |
Get duration.
Definition at line 515 of file ul-mac-messages.cc.
References m_duration.
Referenced by ns3::BaseStationNetDevice::MarkUplinkAllocations(), and ns3::SubscriberStationNetDevice::ProcessUlMap().
uint8_t ns3::OfdmUlMapIe::GetMidambleRepetitionInterval | ( | ) | const |
Get Midamble repetition interval.
Definition at line 521 of file ul-mac-messages.cc.
References m_midambleRepetitionInterval.
uint16_t ns3::OfdmUlMapIe::GetSize | ( | ) | const |
uint16_t ns3::OfdmUlMapIe::GetStartTime | ( | ) | const |
Get start time.
Definition at line 497 of file ul-mac-messages.cc.
References m_startTime.
Referenced by ns3::BaseStationNetDevice::MarkUplinkAllocations(), and ns3::SubscriberStationNetDevice::ProcessUlMap().
uint8_t ns3::OfdmUlMapIe::GetSubchannelIndex | ( | ) | const |
Get subchannel index.
Definition at line 503 of file ul-mac-messages.cc.
References m_subchannelIndex.
uint8_t ns3::OfdmUlMapIe::GetUiuc | ( | ) | const |
Get UIUC.
Definition at line 509 of file ul-mac-messages.cc.
References m_uiuc.
Referenced by ns3::UlMap::Deserialize(), ns3::BaseStationNetDevice::MarkUplinkAllocations(), ns3::SubscriberStationNetDevice::ProcessUlMap(), ns3::UplinkSchedulerMBQoS::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerRtps::ServiceUnsolicitedGrants(), and ns3::UplinkSchedulerSimple::ServiceUnsolicitedGrants().
Buffer::Iterator ns3::OfdmUlMapIe::Read | ( | Buffer::Iterator | start | ) |
Read item.
start | the iterator |
Definition at line 546 of file ul-mac-messages.cc.
References m_cid, m_duration, m_midambleRepetitionInterval, m_startTime, m_subchannelIndex, m_uiuc, ns3::Buffer::Iterator::ReadU16(), and ns3::Buffer::Iterator::ReadU8().
Referenced by ns3::UlMap::Deserialize().
void ns3::OfdmUlMapIe::SetCid | ( | const Cid & | cid | ) |
Set CID.
cid | the CID |
Definition at line 455 of file ul-mac-messages.cc.
References m_cid.
Referenced by ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(), ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::UplinkSchedulerRtps::Schedule(), ns3::UplinkSchedulerSimple::Schedule(), and ns3::UplinkSchedulerRtps::ULSchedulerRTPSConnection().
void ns3::OfdmUlMapIe::SetDuration | ( | uint16_t | duration | ) |
Set duration.
duration | the duration |
Definition at line 479 of file ul-mac-messages.cc.
References m_duration.
Referenced by ns3::UplinkSchedulerMBQoS::AddUplinkAllocation(), ns3::UplinkSchedulerRtps::AddUplinkAllocation(), ns3::UplinkSchedulerSimple::AddUplinkAllocation(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::UplinkSchedulerRtps::Schedule(), and ns3::UplinkSchedulerSimple::Schedule().
void ns3::OfdmUlMapIe::SetMidambleRepetitionInterval | ( | uint8_t | midambleRepetitionInterval | ) |
Set midambe repetition interval.
midambleRepetitionInterval | the midambe repetition interval |
Definition at line 485 of file ul-mac-messages.cc.
References m_midambleRepetitionInterval.
void ns3::OfdmUlMapIe::SetStartTime | ( | uint16_t | startTime | ) |
Set start time.
startTime | the start time |
Definition at line 461 of file ul-mac-messages.cc.
References m_startTime.
Referenced by ns3::UplinkSchedulerMBQoS::AddUplinkAllocation(), ns3::UplinkSchedulerRtps::AddUplinkAllocation(), ns3::UplinkSchedulerSimple::AddUplinkAllocation(), ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(), ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::UplinkSchedulerRtps::Schedule(), ns3::UplinkSchedulerSimple::Schedule(), ns3::UplinkSchedulerMBQoS::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerRtps::ServiceUnsolicitedGrants(), and ns3::UplinkSchedulerSimple::ServiceUnsolicitedGrants().
void ns3::OfdmUlMapIe::SetSubchannelIndex | ( | uint8_t | subchannelIndex | ) |
Set subchannel index.
subchannelIndex |
Definition at line 467 of file ul-mac-messages.cc.
References m_subchannelIndex.
void ns3::OfdmUlMapIe::SetUiuc | ( | uint8_t | uiuc | ) |
Set UIUC.
uiuc | the UIUC |
Definition at line 473 of file ul-mac-messages.cc.
References m_uiuc.
Referenced by ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(), ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::UplinkSchedulerRtps::Schedule(), ns3::UplinkSchedulerSimple::Schedule(), ns3::UplinkSchedulerMBQoS::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerRtps::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerSimple::ServiceUnsolicitedGrants(), and ns3::UplinkSchedulerRtps::ULSchedulerRTPSConnection().
Buffer::Iterator ns3::OfdmUlMapIe::Write | ( | Buffer::Iterator | start | ) | const |
Write item.
start | the iterator |
Definition at line 533 of file ul-mac-messages.cc.
References ns3::Cid::GetIdentifier(), m_cid, m_duration, m_midambleRepetitionInterval, m_startTime, m_subchannelIndex, m_uiuc, ns3::Buffer::Iterator::WriteU16(), and ns3::Buffer::Iterator::WriteU8().
|
private |
|
private |
duration
Definition at line 544 of file ul-mac-messages.h.
Referenced by GetDuration(), Read(), SetDuration(), and Write().
|
private |
midamble repetition interval
Definition at line 545 of file ul-mac-messages.h.
Referenced by GetMidambleRepetitionInterval(), Read(), SetMidambleRepetitionInterval(), and Write().
|
private |
start time
Definition at line 541 of file ul-mac-messages.h.
Referenced by GetStartTime(), Read(), SetStartTime(), and Write().
|
private |
subchannel index
Definition at line 542 of file ul-mac-messages.h.
Referenced by GetSubchannelIndex(), Read(), SetSubchannelIndex(), and Write().
|
private |