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 std::map<uint8_t, LteMacSapProvider*>::iterator it =
85 m_macSapProvidersMap.find(params.componentCarrierId);
87 "could not find Sap for ComponentCarrier " << params.componentCarrierId);
88 // with this algorithm all traffic is on Primary Carrier
89 it->second->TransmitPdu(params);
90}
91
92void
95{
96 NS_LOG_FUNCTION(this);
97 auto ueManager = m_ccmRrcSapUser->GetUeManager(params.rnti);
98 std::map<uint8_t, LteMacSapProvider*>::iterator it =
99 m_macSapProvidersMap.find(ueManager->GetComponentCarrierId());
100 NS_ASSERT_MSG(it != m_macSapProvidersMap.end(), "could not find Sap for ComponentCarrier ");
101 it->second->ReportBufferStatus(params);
102}
103
104void
107{
108 NS_LOG_FUNCTION(this);
109 NS_LOG_DEBUG(this << " rnti= " << txOpParams.rnti << " lcid= " << +txOpParams.lcid << " layer= "
110 << +txOpParams.layer << " ccId=" << +txOpParams.componentCarrierId);
111 m_ueInfo.at(txOpParams.rnti).m_ueAttached.at(txOpParams.lcid)->NotifyTxOpportunity(txOpParams);
112}
113
114void
116{
117 NS_LOG_FUNCTION(this);
118 auto lcidIt = m_ueInfo.at(rxPduParams.rnti).m_ueAttached.find(rxPduParams.lcid);
119 if (lcidIt != m_ueInfo.at(rxPduParams.rnti).m_ueAttached.end())
120 {
121 lcidIt->second->ReceivePdu(rxPduParams);
122 }
123}
124
125void
127{
128 NS_LOG_FUNCTION(this);
129}
130
131void
133{
134 NS_LOG_FUNCTION(this << rnti << (uint16_t)measResults.measId);
135}
136
137void
138NoOpComponentCarrierManager::DoAddUe(uint16_t rnti, uint8_t state)
139{
140 NS_LOG_FUNCTION(this << rnti << (uint16_t)state);
141 std::map<uint16_t, uint8_t>::iterator eccIt; // m_enabledComponentCarrier iterator
142 auto ueInfoIt = m_ueInfo.find(rnti);
143 if (ueInfoIt == m_ueInfo.end())
144 {
145 NS_LOG_DEBUG(this << " UE " << rnti << " was not found, now it is added in the map");
146 UeInfo info;
147 info.m_ueState = state;
148
149 // the Primary carrier (PC) is enabled by default
150 // on the PC the SRB0 and SRB1 are enabled when the Ue is connected
151 // these are hard-coded and the configuration not pass through the
152 // Component Carrier Manager which is responsible of configure
153 // only DataRadioBearer on the different Component Carrier
155 m_ueInfo.emplace(rnti, info);
156 }
157 else
158 {
159 NS_LOG_DEBUG(this << " UE " << rnti << "found, updating the state from "
160 << +ueInfoIt->second.m_ueState << " to " << +state);
161 ueInfoIt->second.m_ueState = state;
162 }
163}
164
165void
167{
168 NS_LOG_FUNCTION(this);
169 m_ueInfo.at(lcInfo.rnti).m_rlcLcInstantiated.emplace(lcInfo.lcId, lcInfo);
170}
171
172void
174{
175 NS_LOG_FUNCTION(this);
176 auto rntiIt = m_ueInfo.find(rnti);
177 NS_ASSERT_MSG(rntiIt != m_ueInfo.end(), "request to remove UE info with unknown RNTI " << rnti);
178 m_ueInfo.erase(rntiIt);
179}
180
181std::vector<LteCcmRrcSapProvider::LcsConfig>
183 uint8_t bearerId,
184 uint16_t rnti,
185 uint8_t lcid,
186 uint8_t lcGroup,
187 LteMacSapUser* msu)
188{
189 NS_LOG_FUNCTION(this << rnti);
190 auto rntiIt = m_ueInfo.find(rnti);
191 NS_ASSERT_MSG(rntiIt != m_ueInfo.end(), "SetupDataRadioBearer on unknown RNTI " << rnti);
192
193 // enable by default all carriers
194 rntiIt->second.m_enabledComponentCarrier = m_noOfComponentCarriers;
195
196 std::vector<LteCcmRrcSapProvider::LcsConfig> res;
199 // NS_LOG_DEBUG (this << " componentCarrierEnabled " << (uint16_t) eccIt->second);
200 for (uint16_t ncc = 0; ncc < m_noOfComponentCarriers; ncc++)
201 {
202 // NS_LOG_DEBUG (this << " res size " << (uint16_t) res.size ());
204 lci.rnti = rnti;
205 lci.lcId = lcid;
206 lci.lcGroup = lcGroup;
207 lci.qci = bearer.qci;
208 if (ncc == 0)
209 {
210 lci.resourceType = bearer.GetResourceType();
211 lci.mbrUl = bearer.gbrQosInfo.mbrUl;
212 lci.mbrDl = bearer.gbrQosInfo.mbrDl;
213 lci.gbrUl = bearer.gbrQosInfo.gbrUl;
214 lci.gbrDl = bearer.gbrQosInfo.gbrDl;
215 }
216 else
217 {
218 lci.resourceType = 0;
219 lci.mbrUl = 0;
220 lci.mbrDl = 0;
221 lci.gbrUl = 0;
222 lci.gbrDl = 0;
223 } // data flows only on PC
224 NS_LOG_DEBUG(this << " RNTI " << lci.rnti << "Lcid " << (uint16_t)lci.lcId << " lcGroup "
225 << (uint16_t)lci.lcGroup);
226 entry.componentCarrierId = ncc;
227 entry.lc = lci;
228 entry.msu = m_ccmMacSapUser;
229 res.push_back(entry);
230 } // end for
231
232 auto lcidIt = rntiIt->second.m_rlcLcInstantiated.find(lcid);
233 if (lcidIt == rntiIt->second.m_rlcLcInstantiated.end())
234 {
235 lcinfo.rnti = rnti;
236 lcinfo.lcId = lcid;
237 lcinfo.lcGroup = lcGroup;
238 lcinfo.qci = bearer.qci;
239 lcinfo.resourceType = bearer.GetResourceType();
240 lcinfo.mbrUl = bearer.gbrQosInfo.mbrUl;
241 lcinfo.mbrDl = bearer.gbrQosInfo.mbrDl;
242 lcinfo.gbrUl = bearer.gbrQosInfo.gbrUl;
243 lcinfo.gbrDl = bearer.gbrQosInfo.gbrDl;
244 rntiIt->second.m_rlcLcInstantiated.emplace(lcinfo.lcId, lcinfo);
245 rntiIt->second.m_ueAttached.emplace(lcinfo.lcId, msu);
246 }
247 else
248 {
249 NS_LOG_ERROR("LC already exists");
250 }
251 return res;
252}
253
254std::vector<uint8_t>
256{
257 NS_LOG_FUNCTION(this << rnti << +lcid);
258
259 // Here we receive directly the RNTI and the LCID, instead of only DRB ID
260 // DRB ID are mapped as DRBID = LCID + 2
261 auto rntiIt = m_ueInfo.find(rnti);
262 NS_ASSERT_MSG(rntiIt != m_ueInfo.end(),
263 "request to Release Data Radio Bearer on UE with unknown RNTI " << rnti);
264
265 NS_LOG_DEBUG(this << " remove LCID " << +lcid << " for RNTI " << rnti);
266 std::vector<uint8_t> res;
267 for (uint16_t i = 0; i < rntiIt->second.m_enabledComponentCarrier; i++)
268 {
269 res.insert(res.end(), i);
270 }
271
272 auto lcIt = rntiIt->second.m_ueAttached.find(lcid);
273 NS_ASSERT_MSG(lcIt != rntiIt->second.m_ueAttached.end(), "Logical Channel not found");
274 rntiIt->second.m_ueAttached.erase(lcIt);
275
276 auto rlcInstancesIt = rntiIt->second.m_rlcLcInstantiated.find(rnti);
277 NS_ASSERT_MSG(rlcInstancesIt != rntiIt->second.m_rlcLcInstantiated.end(),
278 "Logical Channel not found");
279 rntiIt->second.m_rlcLcInstantiated.erase(rlcInstancesIt);
280
281 return res;
282}
283
286 LteMacSapUser* msu)
287{
288 NS_LOG_FUNCTION(this);
289
290 auto rntiIt = m_ueInfo.find(lcinfo.rnti);
291 NS_ASSERT_MSG(rntiIt != m_ueInfo.end(),
292 "request to add a signal bearer to unknown RNTI " << lcinfo.rnti);
293
294 auto lcidIt = rntiIt->second.m_ueAttached.find(lcinfo.lcId);
295 if (lcidIt == rntiIt->second.m_ueAttached.end())
296 {
297 rntiIt->second.m_ueAttached.emplace(lcinfo.lcId, msu);
298 }
299 else
300 {
301 NS_LOG_ERROR("LC already exists");
302 }
303
304 return m_ccmMacSapUser;
305}
306
307void
308NoOpComponentCarrierManager::DoNotifyPrbOccupancy(double prbOccupancy, uint8_t componentCarrierId)
309{
310 NS_LOG_FUNCTION(this);
311 NS_LOG_DEBUG("Update PRB occupancy:" << prbOccupancy
312 << " at carrier:" << (uint32_t)componentCarrierId);
313 m_ccPrbOccupancy.insert(std::pair<uint8_t, double>(componentCarrierId, prbOccupancy));
314}
315
316void
318{
319 NS_LOG_FUNCTION(this);
320 NS_ASSERT_MSG(bsr.m_macCeType == MacCeListElement_s::BSR,
321 "Received a Control Message not allowed " << bsr.m_macCeType);
322 if (bsr.m_macCeType == MacCeListElement_s::BSR)
323 {
324 MacCeListElement_s newBsr;
325 newBsr.m_rnti = bsr.m_rnti;
326 newBsr.m_macCeType = bsr.m_macCeType;
329 newBsr.m_macCeValue.m_bufferStatus.resize(4);
330 for (uint16_t i = 0; i < 4; i++)
331 {
332 uint8_t bsrId = bsr.m_macCeValue.m_bufferStatus.at(i);
334 // here the buffer should be divide among the different sap
335 // since the buffer status report are compressed information
336 // it is needed to use BsrId2BufferSize to uncompress
337 // after the split over all component carriers is is needed to
338 // compress again the information to fit MacCeListEkement_s structure
339 // verify how many Component Carrier are enabled per UE
340 // in this simple code the BufferStatus will be notify only
341 // to the primary carrier component
343 }
344 auto sapIt = m_ccmMacSapProviderMap.find(componentCarrierId);
345 if (sapIt == m_ccmMacSapProviderMap.end())
346 {
347 NS_FATAL_ERROR("Sap not found in the CcmMacSapProviderMap");
348 }
349 else
350 {
351 // in the current implementation bsr in uplink is forwarded only to the primary carrier.
352 // above code demonstrates how to resize buffer status if more carriers are being used
353 // in future
354 sapIt->second->ReportMacCeToScheduler(newBsr);
355 }
356 }
357 else
358 {
359 NS_FATAL_ERROR("Expected BSR type of message.");
360 }
361}
362
363void
364NoOpComponentCarrierManager::DoUlReceiveSr(uint16_t rnti, uint8_t componentCarrierId)
365{
366 NS_LOG_FUNCTION(this);
367
368 auto sapIt = m_ccmMacSapProviderMap.find(componentCarrierId);
370 "Sap not found in the CcmMacSapProviderMap");
371
372 sapIt->second->ReportSrToScheduler(rnti);
373}
374
376
378
380{
381 NS_LOG_FUNCTION(this);
382}
383
385{
386 NS_LOG_FUNCTION(this);
387}
388
389TypeId
391{
392 static TypeId tid = TypeId("ns3::RrComponentCarrierManager")
394 .SetGroupName("Lte")
395 .AddConstructor<RrComponentCarrierManager>();
396 return tid;
397}
398
399void
402{
403 NS_LOG_FUNCTION(this);
404
405 uint32_t numberOfCarriersForUe = m_ueInfo.at(params.rnti).m_enabledComponentCarrier;
406 if (params.lcid == 0 || params.lcid == 1 || numberOfCarriersForUe == 1)
407 {
408 NS_LOG_INFO("Buffer status forwarded to the primary carrier.");
409 auto ueManager = m_ccmRrcSapUser->GetUeManager(params.rnti);
410 m_macSapProvidersMap.at(ueManager->GetComponentCarrierId())->ReportBufferStatus(params);
411 }
412 else
413 {
414 params.retxQueueSize /= numberOfCarriersForUe;
415 params.txQueueSize /= numberOfCarriersForUe;
416 for (uint32_t i = 0; i < numberOfCarriersForUe; i++)
417 {
419 "Mac sap provider does not exist.");
420 m_macSapProvidersMap.at(i)->ReportBufferStatus(params);
421 }
422 }
423}
424
425void
427{
428 NS_LOG_FUNCTION(this);
429 NS_ASSERT_MSG(componentCarrierId == 0,
430 "Received BSR from a ComponentCarrier not allowed, ComponentCarrierId = "
431 << componentCarrierId);
432 NS_ASSERT_MSG(bsr.m_macCeType == MacCeListElement_s::BSR,
433 "Received a Control Message not allowed " << bsr.m_macCeType);
434
435 // split traffic in uplink equally among carriers
436 uint32_t numberOfCarriersForUe = m_ueInfo.at(bsr.m_rnti).m_enabledComponentCarrier;
437
438 if (bsr.m_macCeType == MacCeListElement_s::BSR)
439 {
440 MacCeListElement_s newBsr;
441 newBsr.m_rnti = bsr.m_rnti;
442 // mac control element type, values can be BSR, PHR, CRNTI
443 newBsr.m_macCeType = bsr.m_macCeType;
444 // the power headroom, 64 means no valid phr is available
446 // indicates that the CRNTI MAC CE was received. The value is not used.
448 // and value 64 means that the buffer status should not be updated
449 newBsr.m_macCeValue.m_bufferStatus.resize(4);
450 // always all 4 LCGs are present see 6.1.3.1 of 3GPP TS 36.321.
451 for (uint16_t i = 0; i < 4; i++)
452 {
453 uint8_t bsrStatusId = bsr.m_macCeValue.m_bufferStatus.at(i);
454 uint32_t bufferSize = BufferSizeLevelBsr::BsrId2BufferSize(bsrStatusId);
455 // here the buffer should be divide among the different sap
456 // since the buffer status report are compressed information
457 // it is needed to use BsrId2BufferSize to uncompress
458 // after the split over all component carriers is is needed to
459 // compress again the information to fit MacCeListElement_s structure
460 // verify how many Component Carrier are enabled per UE
461 newBsr.m_macCeValue.m_bufferStatus.at(i) =
462 BufferSizeLevelBsr::BufferSize2BsrId(bufferSize / numberOfCarriersForUe);
463 }
464 // notify MAC of each component carrier that is enabled for this UE
465 for (uint32_t i = 0; i < numberOfCarriersForUe; i++)
466 {
468 "Mac sap provider does not exist.");
469 m_ccmMacSapProviderMap.find(i)->second->ReportMacCeToScheduler(newBsr);
470 }
471 }
472 else
473 {
474 auto ueManager = m_ccmRrcSapUser->GetUeManager(bsr.m_rnti);
475 m_ccmMacSapProviderMap.at(ueManager->GetComponentCarrierId())->ReportMacCeToScheduler(bsr);
476 }
477}
478
479void
480RrComponentCarrierManager::DoUlReceiveSr(uint16_t rnti, uint8_t /* componentCarrierId */)
481{
482 NS_LOG_FUNCTION(this);
483 // split traffic in uplink equally among carriers
484 uint32_t numberOfCarriersForUe = m_ueInfo.at(rnti).m_enabledComponentCarrier;
485
486 m_ccmMacSapProviderMap.find(m_lastCcIdForSr)->second->ReportSrToScheduler(rnti);
487
489 if (m_lastCcIdForSr > numberOfCarriersForUe - 1)
490 {
491 m_lastCcIdForSr = 0;
492 }
493}
494
495} // 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:360
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:936
#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.