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