A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
no-op-component-carrier-manager.cc
Go to the documentation of this file.
1/*
2 * Copyright (c) 2015 Danilo Abrignani
3 * Copyright (c) 2016 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation;
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 * Authors: Danilo Abrignani <danilo.abrignani@unibo.it>
19 * Biljana Bojovic <biljana.bojovic@cttc.es>
20 *
21 */
22
24
25#include "lte-common.h"
26
27#include <ns3/log.h>
28#include <ns3/random-variable-stream.h>
29
30namespace ns3
31{
32
33NS_LOG_COMPONENT_DEFINE("NoOpComponentCarrierManager");
34NS_OBJECT_ENSURE_REGISTERED(NoOpComponentCarrierManager);
35
37{
38 NS_LOG_FUNCTION(this);
42 m_ccmRrcSapUser = nullptr;
43}
44
46{
47 NS_LOG_FUNCTION(this);
48}
49
50void
52{
53 NS_LOG_FUNCTION(this);
55 delete m_ccmMacSapUser;
56 delete m_macSapProvider;
57}
58
61{
62 static TypeId tid = TypeId("ns3::NoOpComponentCarrierManager")
64 .SetGroupName("Lte")
65 .AddConstructor<NoOpComponentCarrierManager>();
66 return tid;
67}
68
69void
71{
72 NS_LOG_FUNCTION(this);
74}
75
77// MAC SAP
79
80void
82{
83 NS_LOG_FUNCTION(this);
84 auto it = m_macSapProvidersMap.find(params.componentCarrierId);
86 "could not find Sap for ComponentCarrier " << params.componentCarrierId);
87 // with this algorithm all traffic is on Primary Carrier
88 it->second->TransmitPdu(params);
89}
90
91void
94{
95 NS_LOG_FUNCTION(this);
96 auto ueManager = m_ccmRrcSapUser->GetUeManager(params.rnti);
97 auto it = m_macSapProvidersMap.find(ueManager->GetComponentCarrierId());
98 NS_ASSERT_MSG(it != m_macSapProvidersMap.end(), "could not find Sap for ComponentCarrier ");
99 it->second->ReportBufferStatus(params);
100}
101
102void
105{
106 NS_LOG_FUNCTION(this);
107 NS_LOG_DEBUG(this << " rnti= " << txOpParams.rnti << " lcid= " << +txOpParams.lcid << " layer= "
108 << +txOpParams.layer << " ccId=" << +txOpParams.componentCarrierId);
109 m_ueInfo.at(txOpParams.rnti).m_ueAttached.at(txOpParams.lcid)->NotifyTxOpportunity(txOpParams);
110}
111
112void
114{
115 NS_LOG_FUNCTION(this);
116 auto lcidIt = m_ueInfo.at(rxPduParams.rnti).m_ueAttached.find(rxPduParams.lcid);
117 if (lcidIt != m_ueInfo.at(rxPduParams.rnti).m_ueAttached.end())
118 {
119 lcidIt->second->ReceivePdu(rxPduParams);
120 }
121}
122
123void
125{
126 NS_LOG_FUNCTION(this);
127}
128
129void
131{
132 NS_LOG_FUNCTION(this << rnti << (uint16_t)measResults.measId);
133}
134
135void
136NoOpComponentCarrierManager::DoAddUe(uint16_t rnti, uint8_t state)
137{
138 NS_LOG_FUNCTION(this << rnti << (uint16_t)state);
139 auto ueInfoIt = m_ueInfo.find(rnti);
140 if (ueInfoIt == m_ueInfo.end())
141 {
142 NS_LOG_DEBUG(this << " UE " << rnti << " was not found, now it is added in the map");
143 UeInfo info;
144 info.m_ueState = state;
145
146 // the Primary carrier (PC) is enabled by default
147 // on the PC the SRB0 and SRB1 are enabled when the Ue is connected
148 // these are hard-coded and the configuration not pass through the
149 // Component Carrier Manager which is responsible of configure
150 // only DataRadioBearer on the different Component Carrier
152 m_ueInfo.emplace(rnti, info);
153 }
154 else
155 {
156 NS_LOG_DEBUG(this << " UE " << rnti << "found, updating the state from "
157 << +ueInfoIt->second.m_ueState << " to " << +state);
158 ueInfoIt->second.m_ueState = state;
159 }
160}
161
162void
164{
165 NS_LOG_FUNCTION(this);
166 m_ueInfo.at(lcInfo.rnti).m_rlcLcInstantiated.emplace(lcInfo.lcId, lcInfo);
167}
168
169void
171{
172 NS_LOG_FUNCTION(this);
173 auto rntiIt = m_ueInfo.find(rnti);
174 NS_ASSERT_MSG(rntiIt != m_ueInfo.end(), "request to remove UE info with unknown RNTI " << rnti);
175 m_ueInfo.erase(rntiIt);
176}
177
178std::vector<LteCcmRrcSapProvider::LcsConfig>
180 uint8_t bearerId,
181 uint16_t rnti,
182 uint8_t lcid,
183 uint8_t lcGroup,
184 LteMacSapUser* msu)
185{
186 NS_LOG_FUNCTION(this << rnti);
187 auto rntiIt = m_ueInfo.find(rnti);
188 NS_ASSERT_MSG(rntiIt != m_ueInfo.end(), "SetupDataRadioBearer on unknown RNTI " << rnti);
189
190 // enable by default all carriers
191 rntiIt->second.m_enabledComponentCarrier = m_noOfComponentCarriers;
192
193 std::vector<LteCcmRrcSapProvider::LcsConfig> res;
196 // NS_LOG_DEBUG (this << " componentCarrierEnabled " << (uint16_t) eccIt->second);
197 for (uint16_t ncc = 0; ncc < m_noOfComponentCarriers; ncc++)
198 {
199 // NS_LOG_DEBUG (this << " res size " << (uint16_t) res.size ());
201 lci.rnti = rnti;
202 lci.lcId = lcid;
203 lci.lcGroup = lcGroup;
204 lci.qci = bearer.qci;
205 if (ncc == 0)
206 {
207 lci.resourceType = bearer.GetResourceType();
208 lci.mbrUl = bearer.gbrQosInfo.mbrUl;
209 lci.mbrDl = bearer.gbrQosInfo.mbrDl;
210 lci.gbrUl = bearer.gbrQosInfo.gbrUl;
211 lci.gbrDl = bearer.gbrQosInfo.gbrDl;
212 }
213 else
214 {
215 lci.resourceType = 0;
216 lci.mbrUl = 0;
217 lci.mbrDl = 0;
218 lci.gbrUl = 0;
219 lci.gbrDl = 0;
220 } // data flows only on PC
221 NS_LOG_DEBUG(this << " RNTI " << lci.rnti << "Lcid " << (uint16_t)lci.lcId << " lcGroup "
222 << (uint16_t)lci.lcGroup);
223 entry.componentCarrierId = ncc;
224 entry.lc = lci;
225 entry.msu = m_ccmMacSapUser;
226 res.push_back(entry);
227 } // end for
228
229 auto lcidIt = rntiIt->second.m_rlcLcInstantiated.find(lcid);
230 if (lcidIt == rntiIt->second.m_rlcLcInstantiated.end())
231 {
232 lcinfo.rnti = rnti;
233 lcinfo.lcId = lcid;
234 lcinfo.lcGroup = lcGroup;
235 lcinfo.qci = bearer.qci;
236 lcinfo.resourceType = bearer.GetResourceType();
237 lcinfo.mbrUl = bearer.gbrQosInfo.mbrUl;
238 lcinfo.mbrDl = bearer.gbrQosInfo.mbrDl;
239 lcinfo.gbrUl = bearer.gbrQosInfo.gbrUl;
240 lcinfo.gbrDl = bearer.gbrQosInfo.gbrDl;
241 rntiIt->second.m_rlcLcInstantiated.emplace(lcinfo.lcId, lcinfo);
242 rntiIt->second.m_ueAttached.emplace(lcinfo.lcId, msu);
243 }
244 else
245 {
246 NS_LOG_ERROR("LC already exists");
247 }
248 return res;
249}
250
251std::vector<uint8_t>
253{
254 NS_LOG_FUNCTION(this << rnti << +lcid);
255
256 // Here we receive directly the RNTI and the LCID, instead of only DRB ID
257 // DRB ID are mapped as DRBID = LCID + 2
258 auto rntiIt = m_ueInfo.find(rnti);
259 NS_ASSERT_MSG(rntiIt != m_ueInfo.end(),
260 "request to Release Data Radio Bearer on UE with unknown RNTI " << rnti);
261
262 NS_LOG_DEBUG(this << " remove LCID " << +lcid << " for RNTI " << rnti);
263 std::vector<uint8_t> res;
264 for (uint16_t i = 0; i < rntiIt->second.m_enabledComponentCarrier; i++)
265 {
266 res.insert(res.end(), i);
267 }
268
269 auto lcIt = rntiIt->second.m_ueAttached.find(lcid);
270 NS_ASSERT_MSG(lcIt != rntiIt->second.m_ueAttached.end(), "Logical Channel not found");
271 rntiIt->second.m_ueAttached.erase(lcIt);
272
273 auto rlcInstancesIt = rntiIt->second.m_rlcLcInstantiated.find(rnti);
274 NS_ASSERT_MSG(rlcInstancesIt != rntiIt->second.m_rlcLcInstantiated.end(),
275 "Logical Channel not found");
276 rntiIt->second.m_rlcLcInstantiated.erase(rlcInstancesIt);
277
278 return res;
279}
280
283 LteMacSapUser* msu)
284{
285 NS_LOG_FUNCTION(this);
286
287 auto rntiIt = m_ueInfo.find(lcinfo.rnti);
288 NS_ASSERT_MSG(rntiIt != m_ueInfo.end(),
289 "request to add a signal bearer to unknown RNTI " << lcinfo.rnti);
290
291 auto lcidIt = rntiIt->second.m_ueAttached.find(lcinfo.lcId);
292 if (lcidIt == rntiIt->second.m_ueAttached.end())
293 {
294 rntiIt->second.m_ueAttached.emplace(lcinfo.lcId, msu);
295 }
296 else
297 {
298 NS_LOG_ERROR("LC already exists");
299 }
300
301 return m_ccmMacSapUser;
302}
303
304void
305NoOpComponentCarrierManager::DoNotifyPrbOccupancy(double prbOccupancy, uint8_t componentCarrierId)
306{
307 NS_LOG_FUNCTION(this);
308 NS_LOG_DEBUG("Update PRB occupancy:" << prbOccupancy
309 << " at carrier:" << (uint32_t)componentCarrierId);
310 m_ccPrbOccupancy.insert(std::pair<uint8_t, double>(componentCarrierId, prbOccupancy));
311}
312
313void
315{
316 NS_LOG_FUNCTION(this);
317 NS_ASSERT_MSG(bsr.m_macCeType == MacCeListElement_s::BSR,
318 "Received a Control Message not allowed " << bsr.m_macCeType);
319 if (bsr.m_macCeType == MacCeListElement_s::BSR)
320 {
321 MacCeListElement_s newBsr;
322 newBsr.m_rnti = bsr.m_rnti;
323 newBsr.m_macCeType = bsr.m_macCeType;
326 newBsr.m_macCeValue.m_bufferStatus.resize(4);
327 for (uint16_t i = 0; i < 4; i++)
328 {
329 uint8_t bsrId = bsr.m_macCeValue.m_bufferStatus.at(i);
331 // here the buffer should be divide among the different sap
332 // since the buffer status report are compressed information
333 // it is needed to use BsrId2BufferSize to uncompress
334 // after the split over all component carriers is is needed to
335 // compress again the information to fit MacCeListEkement_s structure
336 // verify how many Component Carrier are enabled per UE
337 // in this simple code the BufferStatus will be notify only
338 // to the primary carrier component
340 }
341 auto sapIt = m_ccmMacSapProviderMap.find(componentCarrierId);
342 if (sapIt == m_ccmMacSapProviderMap.end())
343 {
344 NS_FATAL_ERROR("Sap not found in the CcmMacSapProviderMap");
345 }
346 else
347 {
348 // in the current implementation bsr in uplink is forwarded only to the primary carrier.
349 // above code demonstrates how to resize buffer status if more carriers are being used
350 // in future
351 sapIt->second->ReportMacCeToScheduler(newBsr);
352 }
353 }
354 else
355 {
356 NS_FATAL_ERROR("Expected BSR type of message.");
357 }
358}
359
360void
361NoOpComponentCarrierManager::DoUlReceiveSr(uint16_t rnti, uint8_t componentCarrierId)
362{
363 NS_LOG_FUNCTION(this);
364
365 auto sapIt = m_ccmMacSapProviderMap.find(componentCarrierId);
367 "Sap not found in the CcmMacSapProviderMap");
368
369 sapIt->second->ReportSrToScheduler(rnti);
370}
371
373
375
377{
378 NS_LOG_FUNCTION(this);
379}
380
382{
383 NS_LOG_FUNCTION(this);
384}
385
386TypeId
388{
389 static TypeId tid = TypeId("ns3::RrComponentCarrierManager")
391 .SetGroupName("Lte")
392 .AddConstructor<RrComponentCarrierManager>();
393 return tid;
394}
395
396void
399{
400 NS_LOG_FUNCTION(this);
401
402 uint32_t numberOfCarriersForUe = m_ueInfo.at(params.rnti).m_enabledComponentCarrier;
403 if (params.lcid == 0 || params.lcid == 1 || numberOfCarriersForUe == 1)
404 {
405 NS_LOG_INFO("Buffer status forwarded to the primary carrier.");
406 auto ueManager = m_ccmRrcSapUser->GetUeManager(params.rnti);
407 m_macSapProvidersMap.at(ueManager->GetComponentCarrierId())->ReportBufferStatus(params);
408 }
409 else
410 {
411 params.retxQueueSize /= numberOfCarriersForUe;
412 params.txQueueSize /= numberOfCarriersForUe;
413 for (uint32_t i = 0; i < numberOfCarriersForUe; i++)
414 {
416 "Mac sap provider does not exist.");
417 m_macSapProvidersMap.at(i)->ReportBufferStatus(params);
418 }
419 }
420}
421
422void
424{
425 NS_LOG_FUNCTION(this);
426 NS_ASSERT_MSG(componentCarrierId == 0,
427 "Received BSR from a ComponentCarrier not allowed, ComponentCarrierId = "
428 << componentCarrierId);
429 NS_ASSERT_MSG(bsr.m_macCeType == MacCeListElement_s::BSR,
430 "Received a Control Message not allowed " << bsr.m_macCeType);
431
432 // split traffic in uplink equally among carriers
433 uint32_t numberOfCarriersForUe = m_ueInfo.at(bsr.m_rnti).m_enabledComponentCarrier;
434
435 if (bsr.m_macCeType == MacCeListElement_s::BSR)
436 {
437 MacCeListElement_s newBsr;
438 newBsr.m_rnti = bsr.m_rnti;
439 // mac control element type, values can be BSR, PHR, CRNTI
440 newBsr.m_macCeType = bsr.m_macCeType;
441 // the power headroom, 64 means no valid phr is available
443 // indicates that the CRNTI MAC CE was received. The value is not used.
445 // and value 64 means that the buffer status should not be updated
446 newBsr.m_macCeValue.m_bufferStatus.resize(4);
447 // always all 4 LCGs are present see 6.1.3.1 of 3GPP TS 36.321.
448 for (uint16_t i = 0; i < 4; i++)
449 {
450 uint8_t bsrStatusId = bsr.m_macCeValue.m_bufferStatus.at(i);
451 uint32_t bufferSize = BufferSizeLevelBsr::BsrId2BufferSize(bsrStatusId);
452 // here the buffer should be divide among the different sap
453 // since the buffer status report are compressed information
454 // it is needed to use BsrId2BufferSize to uncompress
455 // after the split over all component carriers is is needed to
456 // compress again the information to fit MacCeListElement_s structure
457 // verify how many Component Carrier are enabled per UE
458 newBsr.m_macCeValue.m_bufferStatus.at(i) =
459 BufferSizeLevelBsr::BufferSize2BsrId(bufferSize / numberOfCarriersForUe);
460 }
461 // notify MAC of each component carrier that is enabled for this UE
462 for (uint32_t i = 0; i < numberOfCarriersForUe; i++)
463 {
465 "Mac sap provider does not exist.");
466 m_ccmMacSapProviderMap.find(i)->second->ReportMacCeToScheduler(newBsr);
467 }
468 }
469 else
470 {
471 auto ueManager = m_ccmRrcSapUser->GetUeManager(bsr.m_rnti);
472 m_ccmMacSapProviderMap.at(ueManager->GetComponentCarrierId())->ReportMacCeToScheduler(bsr);
473 }
474}
475
476void
477RrComponentCarrierManager::DoUlReceiveSr(uint16_t rnti, uint8_t /* componentCarrierId */)
478{
479 NS_LOG_FUNCTION(this);
480 // split traffic in uplink equally among carriers
481 uint32_t numberOfCarriersForUe = m_ueInfo.at(rnti).m_enabledComponentCarrier;
482
483 m_ccmMacSapProviderMap.find(m_lastCcIdForSr)->second->ReportSrToScheduler(rnti);
484
486 if (m_lastCcIdForSr > numberOfCarriersForUe - 1)
487 {
488 m_lastCcIdForSr = 0;
489 }
490}
491
492} // end of namespace ns3
static uint8_t BufferSize2BsrId(uint32_t val)
Convert Buffer size to BSR ID.
Definition: lte-common.cc:183
static uint32_t BsrId2BufferSize(uint8_t val)
Convert BSR ID to buffer size.
Definition: lte-common.cc:176
This class contains the specification of EPS Bearers.
Definition: eps-bearer.h:91
uint8_t GetResourceType() const
Definition: eps-bearer.cc:126
Qci qci
Qos class indicator.
Definition: eps-bearer.h:151
GbrQosInformation gbrQosInfo
GBR QOS information.
Definition: eps-bearer.h:153
virtual Ptr< UeManager > GetUeManager(uint16_t rnti)=0
Get UE manager by RNTI.
The class implements Component Carrier Manager (CCM) that operates using the Component Carrier Manage...
std::map< uint16_t, UeInfo > m_ueInfo
The map from RNTI to UE information.
LteCcmRrcSapProvider * m_ccmRrcSapProvider
A pointer to the SAP interface of the CCM instance to receive API calls from the eNodeB RRC instance.
LteMacSapProvider * m_macSapProvider
A pointer to main SAP interface of the MAC instance, which is in this case handled by CCM.
std::map< uint8_t, LteMacSapProvider * > m_macSapProvidersMap
A map of pointers to real SAP interfaces of MAC instances.
uint16_t m_noOfComponentCarriers
The number component of carriers that are supported by this eNb.
std::map< uint8_t, LteCcmMacSapProvider * > m_ccmMacSapProviderMap
A map of pointers to the SAP interfaces of CCM instance that provides the CCM specific functionalitie...
LteCcmMacSapUser * m_ccmMacSapUser
LteCcmMacSapUser is extended version of LteMacSapUser interface.
LteCcmRrcSapUser * m_ccmRrcSapUser
A pointer to SAP interface of RRC instance, i.e.
Service Access Point (SAP) offered by the MAC to the RLC See Femto Forum MAC Scheduler Interface Spec...
Definition: lte-mac-sap.h:96
The default component carrier manager that forwards all traffic, the uplink and the downlink,...
void DoDispose() override
Destructor implementation.
virtual LteMacSapUser * DoConfigureSignalBearer(LteEnbCmacSapProvider::LcInfo lcinfo, LteMacSapUser *msu)
Configure the signal bearer.
std::map< uint8_t, double > m_ccPrbOccupancy
The physical resource block occupancy per carrier.
virtual void DoNotifyPrbOccupancy(double prbOccupancy, uint8_t componentCarrierId)
Function implements the function of the SAP interface of CCM instance which is used by MAC to notify ...
friend class MemberLteCcmRrcSapProvider< NoOpComponentCarrierManager >
allow MemberLteCcmRrcSapProvider<NoOpComponentCarrierManager> class friend access
virtual void DoTransmitPdu(LteMacSapProvider::TransmitPduParameters params)
Transmit PDU.
void DoReportUeMeas(uint16_t rnti, LteRrcSap::MeasResults measResults) override
Implementation of ReportUeMeas.
virtual void DoReportBufferStatus(LteMacSapProvider::ReportBufferStatusParameters params)
Report buffer status.
virtual void DoAddLc(LteEnbCmacSapProvider::LcInfo lcInfo, LteMacSapUser *msu)
Add LC.
virtual void DoRemoveUe(uint16_t rnti)
Remove UE.
virtual void DoAddUe(uint16_t rnti, uint8_t state)
Add UE.
virtual void DoNotifyTxOpportunity(LteMacSapUser::TxOpportunityParameters txOpParams)
Notify transmit opportunity.
virtual void DoUlReceiveSr(uint16_t rnti, uint8_t componentCarrierId)
Forward uplink SR to CCM, called by MAC through CCM SAP interface.
friend class MemberLteCcmMacSapUser< NoOpComponentCarrierManager >
allow MemberLteCcmMacSapUser<NoOpComponentCarrierManager> class friend access
virtual void DoUlReceiveMacCe(MacCeListElement_s bsr, uint8_t componentCarrierId)
Forwards uplink BSR to CCM, called by MAC through CCM SAP interface.
friend class EnbMacMemberLteMacSapProvider< NoOpComponentCarrierManager >
allow EnbMacMemberLteMacSapProvider<NoOpComponentCarrierManager> class friend access
virtual std::vector< uint8_t > DoReleaseDataRadioBearer(uint16_t rnti, uint8_t lcid)
Release data radio bearer.
virtual void DoReceivePdu(LteMacSapUser::ReceivePduParameters rxPduParams)
Receive PDU.
virtual std::vector< LteCcmRrcSapProvider::LcsConfig > DoSetupDataRadioBearer(EpsBearer bearer, uint8_t bearerId, uint16_t rnti, uint8_t lcid, uint8_t lcGroup, LteMacSapUser *msu)
Setup data radio bearer.
void DoInitialize() override
Initialize() implementation.
virtual void DoNotifyHarqDeliveryFailure()
Notify HARQ delivery failure.
virtual void DoInitialize()
Initialize() implementation.
Definition: object.cc:451
Component carrier manager implementation that splits traffic equally among carriers.
void DoUlReceiveMacCe(MacCeListElement_s bsr, uint8_t componentCarrierId) override
Forwards uplink BSR to CCM, called by MAC through CCM SAP interface.
static TypeId GetTypeId()
Get the type ID.
void DoUlReceiveSr(uint16_t rnti, uint8_t componentCarrierId) override
Forward uplink SR to CCM, called by MAC through CCM SAP interface.
uint8_t m_lastCcIdForSr
Last CCID to which a SR was routed.
void DoReportBufferStatus(LteMacSapProvider::ReportBufferStatusParameters params) override
Report buffer status.
a unique identifier for an interface.
Definition: type-id.h:59
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Definition: type-id.cc:932
#define NS_ASSERT_MSG(condition, message)
At runtime, in debugging builds, if this condition is not true, the program prints the message to out...
Definition: assert.h:86
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate.
Definition: fatal-error.h:179
#define NS_ABORT_MSG_IF(cond, msg)
Abnormal program termination if a condition is true, with a message.
Definition: abort.h:108
#define NS_LOG_ERROR(msg)
Use NS_LOG to output a message of level LOG_ERROR.
Definition: log.h:254
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
Definition: log.h:202
#define NS_LOG_DEBUG(msg)
Use NS_LOG to output a message of level LOG_DEBUG.
Definition: log.h:268
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
#define NS_LOG_INFO(msg)
Use NS_LOG to output a message of level LOG_INFO.
Definition: log.h:275
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Definition: object-base.h:46
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint64_t gbrDl
Guaranteed Bit Rate (bit/s) in downlink.
Definition: eps-bearer.h:42
uint64_t gbrUl
Guaranteed Bit Rate (bit/s) in uplink.
Definition: eps-bearer.h:43
uint64_t mbrDl
Maximum Bit Rate (bit/s) in downlink.
Definition: eps-bearer.h:44
uint64_t mbrUl
Maximum Bit Rate (bit/s) in uplink.
Definition: eps-bearer.h:45
uint16_t componentCarrierId
component carrier ID
LteEnbCmacSapProvider::LcInfo lc
LC info.
Logical Channel information to be passed to CmacSapProvider::ConfigureLc.
uint64_t gbrUl
guaranteed bitrate in uplink
uint8_t qci
QoS Class Identifier.
uint64_t mbrDl
maximum bitrate in downlink
uint64_t mbrUl
maximum bitrate in uplink
uint8_t lcGroup
logical channel group
uint8_t resourceType
0 if the bearer is NON-GBR, 1 if the bearer is GBR, 2 if the bearer in DC-GBR
uint64_t gbrDl
guaranteed bitrate in downlink
uint8_t lcId
logical channel identifier
uint16_t rnti
C-RNTI identifying the UE.
uint8_t m_enabledComponentCarrier
The number of enabled component carriers.
Parameters for LteMacSapProvider::ReportBufferStatus.
Definition: lte-mac-sap.h:69
Parameters for LteMacSapProvider::TransmitPdu.
Definition: lte-mac-sap.h:45
Parameters for LteMacSapUser::ReceivePdu.
Definition: lte-mac-sap.h:166
uint8_t lcid
the logical channel id
Definition: lte-mac-sap.h:189
uint16_t rnti
the C-RNTI identifying the UE
Definition: lte-mac-sap.h:188
Parameters for LteMacSapUser::NotifyTxOpportunity.
Definition: lte-mac-sap.h:105
uint16_t rnti
the C-RNTI identifying the UE
Definition: lte-mac-sap.h:141
uint8_t componentCarrierId
the component carrier id
Definition: lte-mac-sap.h:140
uint8_t layer
the layer of transmission (MIMO)
Definition: lte-mac-sap.h:138
uint8_t lcid
the logical channel id
Definition: lte-mac-sap.h:142
MeasResults structure.
Definition: lte-rrc-sap.h:717
uint8_t measId
measure ID
Definition: lte-rrc-sap.h:718
See section 4.3.14 macCEListElement.
struct MacCeValue_u m_macCeValue
MAC CE value.
std::vector< uint8_t > m_bufferStatus
buffer status
uint8_t m_crnti
NRTI.