77 std::vector<OfdmDlBurstProfile> dlBurstProfiles =
78 m_device->GetCurrentDcd().GetDlBurstProfiles();
79 for (
auto iter = dlBurstProfiles.begin(); iter != dlBurstProfiles.end(); ++iter)
81 if (iter->GetDiuc() == iuc)
89 std::vector<OfdmUlBurstProfile> ulBurstProfiles =
90 m_device->GetCurrentUcd().GetUlBurstProfiles();
91 for (
auto iter = ulBurstProfiles.begin(); iter != ulBurstProfiles.end(); ++iter)
93 if (iter->GetUiuc() == iuc)
112 std::vector<OfdmDlBurstProfile> dlBurstProfiles =
113 m_device->GetCurrentDcd().GetDlBurstProfiles();
114 for (
auto iter = dlBurstProfiles.begin(); iter != dlBurstProfiles.end(); ++iter)
116 if (iter->GetFecCodeType() == modulationType)
118 return iter->GetDiuc();
124 std::vector<OfdmUlBurstProfile> ulBurstProfiles =
125 m_device->GetCurrentUcd().GetUlBurstProfiles();
126 for (
auto iter = ulBurstProfiles.begin(); iter != ulBurstProfiles.end(); ++iter)
128 if (iter->GetFecCodeType() == modulationType)
130 return iter->GetUiuc();
Ptr< WimaxNetDevice > m_device
the device
BurstProfileManager(Ptr< WimaxNetDevice > device)
Constructor.
WimaxPhy::ModulationType GetModulationTypeForSS(const SSRecord *ssRecord, const RngReq *rngreq) const
Get module ation type for SS.
uint8_t GetBurstProfile(WimaxPhy::ModulationType modulationType, WimaxNetDevice::Direction direction) const
returns the burst profile
uint8_t GetBurstProfileToRequest()
Get burst profile to request.
static TypeId GetTypeId()
Get the type ID.
~BurstProfileManager() override
uint16_t GetNrBurstProfilesToDefine()
uint8_t GetBurstProfileForSS(const SSRecord *ssRecord, const RngReq *rngreq, WimaxPhy::ModulationType &modulationType) const
Get burst profile for SS.
void DoDispose() override
Destructor implementation.
WimaxPhy::ModulationType GetModulationType(uint8_t iuc, WimaxNetDevice::Direction direction) const
returns the modulation type of a given iuc
A base class which provides memory management and object aggregation.
Smart pointer class similar to boost::intrusive_ptr.
This class implements the ranging request message described by "IEEE Standard for Local and metropoli...
uint8_t GetReqDlBurstProfile() const
Get request DL burst profile field.
This class is used by the base station to store some information related to subscriber station in the...
SubscriberStationNetDevice subclass of WimaxNetDevice.
WimaxPhy::ModulationType GetModulationType() const
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Direction
Direction enumeration.
ModulationType
ModulationType enumeration.
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Every class exported by the ns3 library is enclosed in the ns3 namespace.