A Discrete-Event Network Simulator
API
lte-fr-soft-algorithm.cc
Go to the documentation of this file.
1/*
2 * Copyright (c) 2014 Piotr Gawlowicz
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 *
17 * Author: Piotr Gawlowicz <gawlowicz.p@gmail.com>
18 *
19 */
20
22
23#include "ns3/boolean.h"
24#include <ns3/log.h>
25
26namespace ns3
27{
28
29NS_LOG_COMPONENT_DEFINE("LteFrSoftAlgorithm");
30
31NS_OBJECT_ENSURE_REGISTERED(LteFrSoftAlgorithm);
32
35{
36 uint8_t cellId;
37 uint8_t dlBandwidth;
41 {1, 15, 0, 4},
42 {2, 15, 4, 4},
43 {3, 15, 8, 6},
44 {1, 25, 0, 8},
45 {2, 25, 8, 8},
46 {3, 25, 16, 9},
47 {1, 50, 0, 16},
48 {2, 50, 16, 16},
49 {3, 50, 32, 18},
50 {1, 75, 0, 24},
51 {2, 75, 24, 24},
52 {3, 75, 48, 27},
53 {1, 100, 0, 32},
54 {2, 100, 32, 32},
55 {3, 100, 64, 36}};
56
59{
60 uint8_t cellId;
61 uint8_t ulBandwidth;
64} g_frSoftUplinkDefaultConfiguration[] = {{1, 15, 0, 5},
65 {2, 15, 5, 5},
66 {3, 15, 10, 5},
67 {1, 25, 0, 8},
68 {2, 25, 8, 8},
69 {3, 25, 16, 9},
70 {1, 50, 0, 16},
71 {2, 50, 16, 16},
72 {3, 50, 32, 18},
73 {1, 75, 0, 24},
74 {2, 75, 24, 24},
75 {3, 75, 48, 27},
76 {1, 100, 0, 32},
77 {2, 100, 32, 32},
78 {3, 100, 64, 36}};
79
86
88 : m_ffrSapUser(nullptr),
89 m_ffrRrcSapUser(nullptr),
90 m_dlEdgeSubBandOffset(0),
91 m_dlEdgeSubBandwidth(0),
92 m_ulEdgeSubBandOffset(0),
93 m_ulEdgeSubBandwidth(0),
94 m_measId(0)
95{
96 NS_LOG_FUNCTION(this);
99}
100
102{
103 NS_LOG_FUNCTION(this);
104}
105
106void
108{
109 NS_LOG_FUNCTION(this);
110 delete m_ffrSapProvider;
111 delete m_ffrRrcSapProvider;
112}
113
114TypeId
116{
117 static TypeId tid =
118 TypeId("ns3::LteFrSoftAlgorithm")
120 .SetGroupName("Lte")
121 .AddConstructor<LteFrSoftAlgorithm>()
122 .AddAttribute("UlEdgeSubBandOffset",
123 "Uplink Edge SubBand Offset in number of Resource Block Groups",
124 UintegerValue(0),
126 MakeUintegerChecker<uint8_t>())
127 .AddAttribute(
128 "UlEdgeSubBandwidth",
129 "Uplink Edge SubBandwidth Configuration in number of Resource Block Groups",
130 UintegerValue(0),
132 MakeUintegerChecker<uint8_t>())
133 .AddAttribute("DlEdgeSubBandOffset",
134 "Downlink Edge SubBand Offset in number of Resource Block Groups",
135 UintegerValue(0),
137 MakeUintegerChecker<uint8_t>())
138 .AddAttribute(
139 "DlEdgeSubBandwidth",
140 "Downlink Edge SubBandwidth Configuration in number of Resource Block Groups",
141 UintegerValue(0),
143 MakeUintegerChecker<uint8_t>())
144 .AddAttribute("AllowCenterUeUseEdgeSubBand",
145 "If true center UEs can receive on Edge SubBand RBGs",
146 BooleanValue(true),
149 .AddAttribute(
150 "RsrqThreshold",
151 "If the RSRQ of is worse than this threshold, UE should be served in Edge sub-band",
152 UintegerValue(20),
154 MakeUintegerChecker<uint8_t>())
155 .AddAttribute("CenterPowerOffset",
156 "PdschConfigDedicated::Pa value for Center Sub-band, default value dB0",
157 UintegerValue(5),
159 MakeUintegerChecker<uint8_t>())
160 .AddAttribute("EdgePowerOffset",
161 "PdschConfigDedicated::Pa value for Edge Sub-band, default value dB0",
162 UintegerValue(5),
164 MakeUintegerChecker<uint8_t>())
165 .AddAttribute("CenterAreaTpc",
166 "TPC value which will be set in DL-DCI for UEs in center area"
167 "Absolute mode is used, default value 1 is mapped to -1 according to"
168 "TS36.213 Table 5.1.1.1-2",
169 UintegerValue(1),
171 MakeUintegerChecker<uint8_t>())
172 .AddAttribute("EdgeAreaTpc",
173 "TPC value which will be set in DL-DCI for UEs in edge area"
174 "Absolute mode is used, default value 1 is mapped to -1 according to"
175 "TS36.213 Table 5.1.1.1-2",
176 UintegerValue(1),
178 MakeUintegerChecker<uint8_t>());
179 return tid;
180}
181
182void
184{
185 NS_LOG_FUNCTION(this << s);
186 m_ffrSapUser = s;
187}
188
191{
192 NS_LOG_FUNCTION(this);
193 return m_ffrSapProvider;
194}
195
196void
198{
199 NS_LOG_FUNCTION(this << s);
200 m_ffrRrcSapUser = s;
201}
202
205{
206 NS_LOG_FUNCTION(this);
207 return m_ffrRrcSapProvider;
208}
209
210void
212{
213 NS_LOG_FUNCTION(this);
215
216 NS_ASSERT_MSG(m_dlBandwidth > 14, "DlBandwidth must be at least 15 to use FFR algorithms");
217 NS_ASSERT_MSG(m_ulBandwidth > 14, "UlBandwidth must be at least 15 to use FFR algorithms");
218
219 if (m_frCellTypeId != 0)
220 {
223 }
224
225 NS_LOG_LOGIC(this << " requesting Event A1 measurements"
226 << " (threshold = 0"
227 << ")");
228 LteRrcSap::ReportConfigEutra reportConfig;
231 reportConfig.threshold1.range = 0;
235}
236
237void
239{
240 NS_LOG_FUNCTION(this);
241 if (m_frCellTypeId != 0)
242 {
245 }
248 m_needReconfiguration = false;
249}
250
251void
252LteFrSoftAlgorithm::SetDownlinkConfiguration(uint16_t cellId, uint8_t bandwidth)
253{
254 NS_LOG_FUNCTION(this);
255 for (uint16_t i = 0; i < NUM_DOWNLINK_CONFS; ++i)
256 {
257 if ((g_frSoftDownlinkDefaultConfiguration[i].cellId == cellId) &&
259 {
262 }
263 }
264}
265
266void
267LteFrSoftAlgorithm::SetUplinkConfiguration(uint16_t cellId, uint8_t bandwidth)
268{
269 NS_LOG_FUNCTION(this);
270 for (uint16_t i = 0; i < NUM_UPLINK_CONFS; ++i)
271 {
272 if ((g_frSoftUplinkDefaultConfiguration[i].cellId == cellId) &&
274 {
277 }
278 }
279}
280
281void
283{
284 m_dlRbgMap.clear();
285 m_dlEdgeRbgMap.clear();
286
287 int rbgSize = GetRbgSize(m_dlBandwidth);
288 m_dlRbgMap.resize(m_dlBandwidth / rbgSize, false);
289 m_dlEdgeRbgMap.resize(m_dlBandwidth / rbgSize, false);
290
292 "DlEdgeSubBandOffset higher than DlBandwidth");
294 "DlEdgeSubBandwidth higher than DlBandwidth");
296 "(DlEdgeSubBandOffset+DlEdgeSubBandwidth) higher than DlBandwidth");
297
298 for (int i = m_dlEdgeSubBandOffset / rbgSize;
300 i++)
301 {
302 m_dlEdgeRbgMap[i] = true;
303 }
304}
305
306void
308{
309 m_ulRbgMap.clear();
310 m_ulEdgeRbgMap.clear();
311
312 m_ulRbgMap.resize(m_ulBandwidth, false);
313 m_ulEdgeRbgMap.resize(m_ulBandwidth, false);
314
316 "UlEdgeSubBandOffset higher than DlBandwidth");
318 "UlEdgeSubBandwidth higher than DlBandwidth");
320 "(UlEdgeSubBandOffset+UlEdgeSubBandwidth) higher than DlBandwidth");
321
323 {
324 m_ulEdgeRbgMap[i] = true;
325 }
326}
327
328std::vector<bool>
330{
331 NS_LOG_FUNCTION(this);
332
334 {
335 Reconfigure();
336 }
337
338 if (m_dlRbgMap.empty())
339 {
341 }
342
343 return m_dlRbgMap;
344}
345
346bool
348{
349 NS_LOG_FUNCTION(this);
350
351 bool edgeRbg = m_dlEdgeRbgMap[rbgId];
352
353 std::map<uint16_t, uint8_t>::iterator it = m_ues.find(rnti);
354 if (it == m_ues.end())
355 {
356 m_ues.insert(std::pair<uint16_t, uint8_t>(rnti, AreaUnset));
357 return !edgeRbg;
358 }
359
360 bool edgeUe = false;
361 if (it->second == CellEdge)
362 {
363 edgeUe = true;
364 }
365
366 if (!edgeUe && m_isEdgeSubBandForCenterUe)
367 {
368 return true;
369 }
370
371 return (edgeRbg && edgeUe) || (!edgeRbg && !edgeUe);
372}
373
374std::vector<bool>
376{
377 NS_LOG_FUNCTION(this);
378
379 if (m_ulRbgMap.empty())
380 {
382 }
383
384 return m_ulRbgMap;
385}
386
387bool
389{
390 NS_LOG_FUNCTION(this);
391
393 {
394 return true;
395 }
396
397 bool edgeRbg = m_ulEdgeRbgMap[rbgId];
398
399 std::map<uint16_t, uint8_t>::iterator it = m_ues.find(rnti);
400 if (it == m_ues.end())
401 {
402 m_ues.insert(std::pair<uint16_t, uint8_t>(rnti, AreaUnset));
403 return !edgeRbg;
404 }
405
406 bool edgeUe = false;
407 if (it->second == CellEdge)
408 {
409 edgeUe = true;
410 }
411
412 if (!edgeUe && m_isEdgeSubBandForCenterUe)
413 {
414 return true;
415 }
416
417 return (edgeRbg && edgeUe) || (!edgeRbg && !edgeUe);
418}
419
420void
423{
424 NS_LOG_FUNCTION(this);
425 NS_LOG_WARN("Method should not be called, because it is empty");
426}
427
428void
431{
432 NS_LOG_FUNCTION(this);
433 NS_LOG_WARN("Method should not be called, because it is empty");
434}
435
436void
437LteFrSoftAlgorithm::DoReportUlCqiInfo(std::map<uint16_t, std::vector<double>> ulCqiMap)
438{
439 NS_LOG_FUNCTION(this);
440 NS_LOG_WARN("Method should not be called, because it is empty");
441}
442
443uint8_t
445{
446 NS_LOG_FUNCTION(this);
447
449 {
450 return 1; // 1 is mapped to 0 for Accumulated mode, and to -1 in Absolute mode TS36.213
451 // Table 5.1.1.1-2
452 }
453
454 // TS36.213 Table 5.1.1.1-2
455 // TPC | Accumulated Mode | Absolute Mode
456 //------------------------------------------------
457 // 0 | -1 | -4
458 // 1 | 0 | -1
459 // 2 | 1 | 1
460 // 3 | 3 | 4
461 //------------------------------------------------
462 // here Absolute mode is used
463
464 std::map<uint16_t, uint8_t>::iterator it = m_ues.find(rnti);
465 if (it == m_ues.end())
466 {
467 return 1;
468 }
469
470 if (it->second == CellEdge)
471 {
472 return m_edgeAreaTpc;
473 }
474 else if (it->second == CellCenter)
475 {
476 return m_centerAreaTpc;
477 }
478
479 return 1;
480}
481
482uint16_t
484{
485 NS_LOG_FUNCTION(this);
486
487 uint8_t minContinuousUlBandwidth = m_ulBandwidth;
488
490 {
491 return minContinuousUlBandwidth;
492 }
493
494 uint8_t leftBandwidth = m_ulEdgeSubBandOffset;
495 uint8_t centerBandwidth = m_ulEdgeSubBandwidth;
496 uint8_t rightBandwidth = m_ulBandwidth - m_ulEdgeSubBandwidth - m_ulEdgeSubBandOffset;
497
498 minContinuousUlBandwidth = ((leftBandwidth > 0) && (leftBandwidth < minContinuousUlBandwidth))
499 ? leftBandwidth
500 : minContinuousUlBandwidth;
501
502 minContinuousUlBandwidth =
503 ((centerBandwidth > 0) && (centerBandwidth < minContinuousUlBandwidth))
504 ? centerBandwidth
505 : minContinuousUlBandwidth;
506
507 minContinuousUlBandwidth = ((rightBandwidth > 0) && (rightBandwidth < minContinuousUlBandwidth))
508 ? rightBandwidth
509 : minContinuousUlBandwidth;
510
511 NS_LOG_INFO("minContinuousUlBandwidth: " << (int)minContinuousUlBandwidth);
512
513 return minContinuousUlBandwidth;
514}
515
516void
518{
519 NS_LOG_FUNCTION(this << rnti << (uint16_t)measResults.measId);
520 NS_LOG_INFO("RNTI :" << rnti << " MeasId: " << (uint16_t)measResults.measId
521 << " RSRP: " << (uint16_t)measResults.measResultPCell.rsrpResult
522 << " RSRQ: " << (uint16_t)measResults.measResultPCell.rsrqResult);
523
524 if (measResults.measId != m_measId)
525 {
526 NS_LOG_WARN("Ignoring measId " << (uint16_t)measResults.measId);
527 }
528 else
529 {
530 std::map<uint16_t, uint8_t>::iterator it = m_ues.find(rnti);
531 if (it == m_ues.end())
532 {
533 m_ues.insert(std::pair<uint16_t, uint8_t>(rnti, AreaUnset));
534 }
535 it = m_ues.find(rnti);
536
538 {
539 if (it->second != CellEdge)
540 {
541 NS_LOG_INFO("UE RNTI: " << rnti << " will be served in Edge sub-band");
542 it->second = CellEdge;
543
544 LteRrcSap::PdschConfigDedicated pdschConfigDedicated;
545 pdschConfigDedicated.pa = m_edgePowerOffset;
546 m_ffrRrcSapUser->SetPdschConfigDedicated(rnti, pdschConfigDedicated);
547 }
548 }
549 else
550 {
551 if (it->second != CellCenter)
552 {
553 NS_LOG_INFO("UE RNTI: " << rnti << " will be served in Center sub-band");
554 it->second = CellCenter;
555
556 LteRrcSap::PdschConfigDedicated pdschConfigDedicated;
557 pdschConfigDedicated.pa = m_centerPowerOffset;
558 m_ffrRrcSapUser->SetPdschConfigDedicated(rnti, pdschConfigDedicated);
559 }
560 }
561 }
562}
563
564void
566{
567 NS_LOG_FUNCTION(this);
568 NS_LOG_WARN("Method should not be called, because it is empty");
569}
570
571} // end of namespace ns3
AttributeValue implementation for Boolean.
Definition: boolean.h:37
The abstract base class of a Frequency Reuse algorithm.
bool m_needReconfiguration
If true FR algorithm will be reconfigured.
uint8_t m_frCellTypeId
FFR cell type ID for automatic configuration.
int GetRbgSize(int dlbandwidth)
Get RBG size for DL Bandwidth according to table 7.1.6.1-1 of 36.213.
bool m_enabledInUplink
If true FR algorithm will also work in Uplink.
uint8_t m_dlBandwidth
downlink bandwidth in RBs
uint8_t m_ulBandwidth
uplink bandwidth in RBs
Service Access Point (SAP) offered by the Frequency Reuse algorithm instance to the eNodeB RRC instan...
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
virtual void SetPdschConfigDedicated(uint16_t rnti, LteRrcSap::PdschConfigDedicated pdschConfigDedicated)=0
Instruct the eNodeB RRC entity to perform RrcConnectionReconfiguration to inform UE about new PdschCo...
virtual uint8_t AddUeMeasReportConfigForFfr(LteRrcSap::ReportConfigEutra reportConfig)=0
Request a certain reporting configuration to be fulfilled by the UEs attached to the eNodeB entity.
Service Access Point (SAP) offered by the Frequency Reuse algorithm instance to the MAC Scheduler ins...
Definition: lte-ffr-sap.h:41
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
Definition: lte-ffr-sap.h:141
Soft Frequency Reuse algorithm implementation.
uint8_t m_dlEdgeSubBandwidth
DL edge subbandwidth.
void Reconfigure() override
Automatic FR reconfiguration.
uint8_t m_centerPowerOffset
center power offset
LteFfrSapProvider * GetLteFfrSapProvider() override
Export the "provider" part of the LteFfrSap interface.
void DoDispose() override
Destructor implementation.
uint8_t m_ulEdgeSubBandOffset
UL edge subband offset.
bool DoIsUlRbgAvailableForUe(int i, uint16_t rnti) override
Implementation of LteFfrSapProvider::IsUlRbgAvailableForUe.
std::vector< bool > m_dlRbgMap
DL RBG map.
uint8_t m_edgeAreaTpc
edge area tpc
static TypeId GetTypeId()
Get the type ID.
uint8_t m_dlEdgeSubBandOffset
DL edge subband offset.
void SetUplinkConfiguration(uint16_t cellId, uint8_t bandwidth)
Set uplink configuration.
void SetDownlinkConfiguration(uint16_t cellId, uint8_t bandwidth)
Set downlink configuration.
LteFfrSapUser * m_ffrSapUser
FFR SAP user.
std::vector< bool > m_ulEdgeRbgMap
UL edge RBG map.
void DoReportUlCqiInfo(const struct FfMacSchedSapProvider::SchedUlCqiInfoReqParameters &params) override
DoReportUlCqiInfo.
uint8_t m_ulEdgeSubBandwidth
UL edge subbandwidth.
friend class MemberLteFfrSapProvider< LteFrSoftAlgorithm >
let the forwarder class access the protected and private members
void DoReportDlCqiInfo(const struct FfMacSchedSapProvider::SchedDlCqiInfoReqParameters &params) override
DoReportDlCqiInfo.
LteFfrRrcSapProvider * GetLteFfrRrcSapProvider() override
Export the "provider" part of the LteFfrRrcSap interface.
std::vector< bool > DoGetAvailableDlRbg() override
Implementation of LteFfrSapProvider::GetAvailableDlRbg.
void InitializeUplinkRbgMaps()
Initialize uplink RBG maps.
uint16_t DoGetMinContinuousUlBandwidth() override
DoGetMinContinuousUlBandwidth in number of RB.
uint8_t m_edgeSubBandThreshold
Edge subband threshold.
friend class MemberLteFfrRrcSapProvider< LteFrSoftAlgorithm >
let the forwarder class access the protected and private members
uint8_t m_centerAreaTpc
center area tpc
LteFfrRrcSapProvider * m_ffrRrcSapProvider
FFR RRC SAP provider.
std::map< uint16_t, uint8_t > m_ues
UEs.
void InitializeDownlinkRbgMaps()
Initialize downlink RBG maps.
void SetLteFfrSapUser(LteFfrSapUser *s) override
Set the "user" part of the LteFfrSap interface that this frequency reuse algorithm instance will inte...
uint8_t m_edgePowerOffset
edge power offset
void DoReportUeMeas(uint16_t rnti, LteRrcSap::MeasResults measResults) override
Implementation of LteFfrRrcSapProvider::ReportUeMeas.
void DoInitialize() override
Initialize() implementation.
uint8_t DoGetTpc(uint16_t rnti) override
DoGetTpc for UE.
LteFfrRrcSapUser * m_ffrRrcSapUser
FFR RRC SAP user.
LteFrSoftAlgorithm()
Creates a trivial ffr algorithm instance.
std::vector< bool > m_ulRbgMap
UL RBG map.
bool DoIsDlRbgAvailableForUe(int i, uint16_t rnti) override
Implementation of LteFfrSapProvider::IsDlRbgAvailableForUe.
void DoRecvLoadInformation(EpcX2Sap::LoadInformationParams params) override
DoRecvLoadInformation.
void SetLteFfrRrcSapUser(LteFfrRrcSapUser *s) override
Set the "user" part of the LteFfrRrcSap interface that this frequency reuse algorithm instance will i...
std::vector< bool > m_dlEdgeRbgMap
DL edge RBG map.
uint8_t m_measId
The expected measurement identity.
std::vector< bool > DoGetAvailableUlRbg() override
Implementation of LteFfrSapProvider::GetAvailableUlRbg.
bool m_isEdgeSubBandForCenterUe
is edge subband for center UE?
LteFfrSapProvider * m_ffrSapProvider
FFR SAP provider.
virtual void DoInitialize()
Initialize() implementation.
Definition: object.cc:360
a unique identifier for an interface.
Definition: type-id.h:60
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Definition: type-id.cc:935
Hold an unsigned integer type.
Definition: uinteger.h:45
#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
Ptr< const AttributeAccessor > MakeBooleanAccessor(T1 a1)
Definition: boolean.h:86
Ptr< const AttributeChecker > MakeBooleanChecker()
Definition: boolean.cc:124
Ptr< const AttributeAccessor > MakeUintegerAccessor(T1 a1)
Definition: uinteger.h:46
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
Definition: log.h:202
#define NS_LOG_LOGIC(msg)
Use NS_LOG to output a message of level LOG_LOGIC.
Definition: log.h:282
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
#define NS_LOG_WARN(msg)
Use NS_LOG to output a message of level LOG_WARN.
Definition: log.h:261
#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:45
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static const struct ns3::FrSoftDownlinkDefaultConfiguration g_frSoftDownlinkDefaultConfiguration[]
soft downlink default configuration
const uint16_t NUM_DOWNLINK_CONFS(sizeof(g_ffrEnhancedDownlinkDefaultConfiguration)/sizeof(FfrEnhancedDownlinkDefaultConfiguration))
const uint16_t NUM_UPLINK_CONFS(sizeof(g_ffrEnhancedUplinkDefaultConfiguration)/sizeof(FfrEnhancedUplinkDefaultConfiguration))
static const struct ns3::FrSoftUplinkDefaultConfiguration g_frSoftUplinkDefaultConfiguration[]
soft uplink default configuration
Parameters of the LOAD INFORMATION message.
Definition: epc-x2-sap.h:305
Parameters of the SCHED_DL_CQI_INFO_REQ primitive.
Parameters of the SCHED_UL_CQI_INFO_REQ primitive.
uint8_t rsrqResult
the RSRQ result
Definition: lte-rrc-sap.h:661
uint8_t rsrpResult
the RSRP result
Definition: lte-rrc-sap.h:660
MeasResults structure.
Definition: lte-rrc-sap.h:703
uint8_t measId
measure ID
Definition: lte-rrc-sap.h:704
MeasResultPCell measResultPCell
measurement result primary cell
Definition: lte-rrc-sap.h:705
PdschConfigDedicated structure.
Definition: lte-rrc-sap.h:157
Specifies criteria for triggering of an E-UTRA measurement reporting event.
Definition: lte-rrc-sap.h:367
@ RSRQ
Reference Signal Received Quality.
Definition: lte-rrc-sap.h:418
enum ns3::LteRrcSap::ReportConfigEutra::@68 reportInterval
Report interval enumeration.
enum ns3::LteRrcSap::ReportConfigEutra::@65 eventId
Event enumeration.
enum ns3::LteRrcSap::ReportConfigEutra::@66 triggerQuantity
Trigger type enumeration.
ThresholdEutra threshold1
Threshold for event A1, A2, A4, and A5.
Definition: lte-rrc-sap.h:387
@ EVENT_A1
Event A1: Serving becomes better than absolute threshold.
Definition: lte-rrc-sap.h:378
@ THRESHOLD_RSRQ
RSRQ is used for the threshold.
Definition: lte-rrc-sap.h:359
uint8_t range
Value range used in RSRP/RSRQ threshold.
Definition: lte-rrc-sap.h:362
enum ns3::LteRrcSap::ThresholdEutra::@63 choice
Threshold enumeration.