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 ();
Ptr< WimaxNetDevice > m_device
the device
void DoDispose(void)
Destructor implementation.
uint16_t GetNrBurstProfilesToDefine(void)
uint8_t GetBurstProfileForSS(const SSRecord *ssRecord, const RngReq *rngreq, WimaxPhy::ModulationType &modulationType)
Get burst profile for SS.
BurstProfileManager(Ptr< WimaxNetDevice > device)
Constructor.
~BurstProfileManager(void)
uint8_t GetBurstProfile(WimaxPhy::ModulationType modulationType, WimaxNetDevice::Direction direction) const
returns the burst profile
uint8_t GetBurstProfileToRequest(void)
Get burst profile to request.
WimaxPhy::ModulationType GetModulationTypeForSS(const SSRecord *ssRecord, const RngReq *rngreq)
Get module ation type for SS.
static TypeId GetTypeId(void)
Get the type ID.
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(void) 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(void) 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.