66 std::vector<OfdmDlBurstProfile> dlBurstProfiles =
67 m_device->GetCurrentDcd().GetDlBurstProfiles();
68 for (
auto iter = dlBurstProfiles.begin(); iter != dlBurstProfiles.end(); ++iter)
70 if (iter->GetDiuc() == iuc)
78 std::vector<OfdmUlBurstProfile> ulBurstProfiles =
79 m_device->GetCurrentUcd().GetUlBurstProfiles();
80 for (
auto iter = ulBurstProfiles.begin(); iter != ulBurstProfiles.end(); ++iter)
82 if (iter->GetUiuc() == iuc)
101 std::vector<OfdmDlBurstProfile> dlBurstProfiles =
102 m_device->GetCurrentDcd().GetDlBurstProfiles();
103 for (
auto iter = dlBurstProfiles.begin(); iter != dlBurstProfiles.end(); ++iter)
105 if (iter->GetFecCodeType() == modulationType)
107 return iter->GetDiuc();
113 std::vector<OfdmUlBurstProfile> ulBurstProfiles =
114 m_device->GetCurrentUcd().GetUlBurstProfiles();
115 for (
auto iter = ulBurstProfiles.begin(); iter != ulBurstProfiles.end(); ++iter)
117 if (iter->GetFecCodeType() == modulationType)
119 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 forLocal and metropolit...
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.