74 std::vector<OfdmDlBurstProfile> dlBurstProfiles =
75 m_device->GetCurrentDcd ().GetDlBurstProfiles ();
76 for (std::vector<OfdmDlBurstProfile>::iterator iter =
77 dlBurstProfiles.begin (); iter != dlBurstProfiles.end (); ++iter)
79 if (iter->GetDiuc () == iuc)
87 std::vector<OfdmUlBurstProfile> ulBurstProfiles =
88 m_device->GetCurrentUcd ().GetUlBurstProfiles ();
89 for (std::vector<OfdmUlBurstProfile>::iterator iter =
90 ulBurstProfiles.begin (); iter != ulBurstProfiles.end (); ++iter)
92 if (iter->GetUiuc () == iuc)
112 std::vector<OfdmDlBurstProfile> dlBurstProfiles =
113 m_device->GetCurrentDcd ().GetDlBurstProfiles ();
114 for (std::vector<OfdmDlBurstProfile>::iterator iter =
115 dlBurstProfiles.begin (); iter != dlBurstProfiles.end (); ++iter)
117 if (iter->GetFecCodeType () == modulationType)
119 return iter->GetDiuc ();
125 std::vector<OfdmUlBurstProfile> ulBurstProfiles =
126 m_device->GetCurrentUcd ().GetUlBurstProfiles ();
127 for (std::vector<OfdmUlBurstProfile>::iterator iter =
128 ulBurstProfiles.begin (); iter != ulBurstProfiles.end (); ++iter)
130 if (iter->GetFecCodeType () == modulationType)
132 return iter->GetUiuc ();
uint16_t GetNrBurstProfilesToDefine(void)
smart pointer class similar to boost::intrusive_ptr
WimaxPhy::ModulationType GetModulationTypeForSS(const SSRecord *ssRecord, const RngReq *rngreq)
uint8_t GetReqDlBurstProfile(void) const
Ptr< WimaxNetDevice > m_device
#define NS_FATAL_ERROR(msg)
fatal error handling
NS_LOG_COMPONENT_DEFINE("BurstProfileManager")
uint8_t GetBurstProfileForSS(const SSRecord *ssRecord, const RngReq *rngreq, WimaxPhy::ModulationType &modulationType)
uint8_t GetBurstProfile(WimaxPhy::ModulationType modulationType, WimaxNetDevice::Direction direction) const
NS_OBJECT_ENSURE_REGISTERED(AntennaModel)
uint8_t GetBurstProfileToRequest(void)
static TypeId GetTypeId(void)
~BurstProfileManager(void)
WimaxPhy::ModulationType GetModulationType(void) const
WimaxPhy::ModulationType GetModulationType(uint8_t iuc, WimaxNetDevice::Direction direction) const
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)
a unique identifier for an interface.
TypeId SetParent(TypeId tid)