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 
21 #include "lte-fr-soft-algorithm.h"
22 
23 #include "ns3/boolean.h"
24 #include <ns3/log.h>
25 
26 namespace ns3
27 {
28 
29 NS_LOG_COMPONENT_DEFINE("LteFrSoftAlgorithm");
30 
31 NS_OBJECT_ENSURE_REGISTERED(LteFrSoftAlgorithm);
32 
35 {
36  uint8_t cellId;
37  uint8_t dlBandwidth;
40 };
41 
44  {1, 15, 0, 4},
45  {2, 15, 4, 4},
46  {3, 15, 8, 6},
47  {1, 25, 0, 8},
48  {2, 25, 8, 8},
49  {3, 25, 16, 9},
50  {1, 50, 0, 16},
51  {2, 50, 16, 16},
52  {3, 50, 32, 18},
53  {1, 75, 0, 24},
54  {2, 75, 24, 24},
55  {3, 75, 48, 27},
56  {1, 100, 0, 32},
57  {2, 100, 32, 32},
58  {3, 100, 64, 36},
59 };
60 
63 {
64  uint8_t cellId;
65  uint8_t ulBandwidth;
68 };
69 
72  {1, 15, 0, 5},
73  {2, 15, 5, 5},
74  {3, 15, 10, 5},
75  {1, 25, 0, 8},
76  {2, 25, 8, 8},
77  {3, 25, 16, 9},
78  {1, 50, 0, 16},
79  {2, 50, 16, 16},
80  {3, 50, 32, 18},
81  {1, 75, 0, 24},
82  {2, 75, 24, 24},
83  {3, 75, 48, 27},
84  {1, 100, 0, 32},
85  {2, 100, 32, 32},
86  {3, 100, 64, 36},
87 };
88 
95 
97  : m_ffrSapUser(nullptr),
98  m_ffrRrcSapUser(nullptr),
99  m_dlEdgeSubBandOffset(0),
100  m_dlEdgeSubBandwidth(0),
101  m_ulEdgeSubBandOffset(0),
102  m_ulEdgeSubBandwidth(0),
103  m_measId(0)
104 {
105  NS_LOG_FUNCTION(this);
108 }
109 
111 {
112  NS_LOG_FUNCTION(this);
113 }
114 
115 void
117 {
118  NS_LOG_FUNCTION(this);
119  delete m_ffrSapProvider;
120  delete m_ffrRrcSapProvider;
121 }
122 
123 TypeId
125 {
126  static TypeId tid =
127  TypeId("ns3::LteFrSoftAlgorithm")
129  .SetGroupName("Lte")
130  .AddConstructor<LteFrSoftAlgorithm>()
131  .AddAttribute("UlEdgeSubBandOffset",
132  "Uplink Edge SubBand Offset in number of Resource Block Groups",
133  UintegerValue(0),
135  MakeUintegerChecker<uint8_t>())
136  .AddAttribute(
137  "UlEdgeSubBandwidth",
138  "Uplink Edge SubBandwidth Configuration in number of Resource Block Groups",
139  UintegerValue(0),
141  MakeUintegerChecker<uint8_t>())
142  .AddAttribute("DlEdgeSubBandOffset",
143  "Downlink Edge SubBand Offset in number of Resource Block Groups",
144  UintegerValue(0),
146  MakeUintegerChecker<uint8_t>())
147  .AddAttribute(
148  "DlEdgeSubBandwidth",
149  "Downlink Edge SubBandwidth Configuration in number of Resource Block Groups",
150  UintegerValue(0),
152  MakeUintegerChecker<uint8_t>())
153  .AddAttribute("AllowCenterUeUseEdgeSubBand",
154  "If true center UEs can receive on Edge SubBand RBGs",
155  BooleanValue(true),
158  .AddAttribute(
159  "RsrqThreshold",
160  "If the RSRQ of is worse than this threshold, UE should be served in Edge sub-band",
161  UintegerValue(20),
163  MakeUintegerChecker<uint8_t>())
164  .AddAttribute("CenterPowerOffset",
165  "PdschConfigDedicated::Pa value for Center Sub-band, default value dB0",
166  UintegerValue(5),
168  MakeUintegerChecker<uint8_t>())
169  .AddAttribute("EdgePowerOffset",
170  "PdschConfigDedicated::Pa value for Edge Sub-band, default value dB0",
171  UintegerValue(5),
173  MakeUintegerChecker<uint8_t>())
174  .AddAttribute("CenterAreaTpc",
175  "TPC value which will be set in DL-DCI for UEs in center area"
176  "Absolute mode is used, default value 1 is mapped to -1 according to"
177  "TS36.213 Table 5.1.1.1-2",
178  UintegerValue(1),
180  MakeUintegerChecker<uint8_t>())
181  .AddAttribute("EdgeAreaTpc",
182  "TPC value which will be set in DL-DCI for UEs in edge area"
183  "Absolute mode is used, default value 1 is mapped to -1 according to"
184  "TS36.213 Table 5.1.1.1-2",
185  UintegerValue(1),
187  MakeUintegerChecker<uint8_t>());
188  return tid;
189 }
190 
191 void
193 {
194  NS_LOG_FUNCTION(this << s);
195  m_ffrSapUser = s;
196 }
197 
200 {
201  NS_LOG_FUNCTION(this);
202  return m_ffrSapProvider;
203 }
204 
205 void
207 {
208  NS_LOG_FUNCTION(this << s);
209  m_ffrRrcSapUser = s;
210 }
211 
214 {
215  NS_LOG_FUNCTION(this);
216  return m_ffrRrcSapProvider;
217 }
218 
219 void
221 {
222  NS_LOG_FUNCTION(this);
224 
225  NS_ASSERT_MSG(m_dlBandwidth > 14, "DlBandwidth must be at least 15 to use FFR algorithms");
226  NS_ASSERT_MSG(m_ulBandwidth > 14, "UlBandwidth must be at least 15 to use FFR algorithms");
227 
228  if (m_frCellTypeId != 0)
229  {
232  }
233 
234  NS_LOG_LOGIC(this << " requesting Event A1 measurements"
235  << " (threshold = 0"
236  << ")");
237  LteRrcSap::ReportConfigEutra reportConfig;
240  reportConfig.threshold1.range = 0;
244 }
245 
246 void
248 {
249  NS_LOG_FUNCTION(this);
250  if (m_frCellTypeId != 0)
251  {
254  }
257  m_needReconfiguration = false;
258 }
259 
260 void
261 LteFrSoftAlgorithm::SetDownlinkConfiguration(uint16_t cellId, uint8_t bandwidth)
262 {
263  NS_LOG_FUNCTION(this);
264  for (uint16_t i = 0; i < NUM_DOWNLINK_CONFS; ++i)
265  {
266  if ((g_frSoftDownlinkDefaultConfiguration[i].cellId == cellId) &&
268  {
271  }
272  }
273 }
274 
275 void
276 LteFrSoftAlgorithm::SetUplinkConfiguration(uint16_t cellId, uint8_t bandwidth)
277 {
278  NS_LOG_FUNCTION(this);
279  for (uint16_t i = 0; i < NUM_UPLINK_CONFS; ++i)
280  {
281  if ((g_frSoftUplinkDefaultConfiguration[i].cellId == cellId) &&
283  {
286  }
287  }
288 }
289 
290 void
292 {
293  m_dlRbgMap.clear();
294  m_dlEdgeRbgMap.clear();
295 
296  int rbgSize = GetRbgSize(m_dlBandwidth);
297  m_dlRbgMap.resize(m_dlBandwidth / rbgSize, false);
298  m_dlEdgeRbgMap.resize(m_dlBandwidth / rbgSize, false);
299 
301  "DlEdgeSubBandOffset higher than DlBandwidth");
303  "DlEdgeSubBandwidth higher than DlBandwidth");
305  "(DlEdgeSubBandOffset+DlEdgeSubBandwidth) higher than DlBandwidth");
306 
307  for (int i = m_dlEdgeSubBandOffset / rbgSize;
309  i++)
310  {
311  m_dlEdgeRbgMap[i] = true;
312  }
313 }
314 
315 void
317 {
318  m_ulRbgMap.clear();
319  m_ulEdgeRbgMap.clear();
320 
321  m_ulRbgMap.resize(m_ulBandwidth, false);
322  m_ulEdgeRbgMap.resize(m_ulBandwidth, false);
323 
325  "UlEdgeSubBandOffset higher than DlBandwidth");
327  "UlEdgeSubBandwidth higher than DlBandwidth");
329  "(UlEdgeSubBandOffset+UlEdgeSubBandwidth) higher than DlBandwidth");
330 
332  {
333  m_ulEdgeRbgMap[i] = true;
334  }
335 }
336 
337 std::vector<bool>
339 {
340  NS_LOG_FUNCTION(this);
341 
343  {
344  Reconfigure();
345  }
346 
347  if (m_dlRbgMap.empty())
348  {
350  }
351 
352  return m_dlRbgMap;
353 }
354 
355 bool
357 {
358  NS_LOG_FUNCTION(this);
359 
360  bool edgeRbg = m_dlEdgeRbgMap[rbgId];
361 
362  auto it = m_ues.find(rnti);
363  if (it == m_ues.end())
364  {
365  m_ues.insert(std::pair<uint16_t, uint8_t>(rnti, AreaUnset));
366  return !edgeRbg;
367  }
368 
369  bool edgeUe = false;
370  if (it->second == CellEdge)
371  {
372  edgeUe = true;
373  }
374 
375  if (!edgeUe && m_isEdgeSubBandForCenterUe)
376  {
377  return true;
378  }
379 
380  return (edgeRbg && edgeUe) || (!edgeRbg && !edgeUe);
381 }
382 
383 std::vector<bool>
385 {
386  NS_LOG_FUNCTION(this);
387 
388  if (m_ulRbgMap.empty())
389  {
391  }
392 
393  return m_ulRbgMap;
394 }
395 
396 bool
398 {
399  NS_LOG_FUNCTION(this);
400 
401  if (!m_enabledInUplink)
402  {
403  return true;
404  }
405 
406  bool edgeRbg = m_ulEdgeRbgMap[rbgId];
407 
408  auto it = m_ues.find(rnti);
409  if (it == m_ues.end())
410  {
411  m_ues.insert(std::pair<uint16_t, uint8_t>(rnti, AreaUnset));
412  return !edgeRbg;
413  }
414 
415  bool edgeUe = false;
416  if (it->second == CellEdge)
417  {
418  edgeUe = true;
419  }
420 
421  if (!edgeUe && m_isEdgeSubBandForCenterUe)
422  {
423  return true;
424  }
425 
426  return (edgeRbg && edgeUe) || (!edgeRbg && !edgeUe);
427 }
428 
429 void
432 {
433  NS_LOG_FUNCTION(this);
434  NS_LOG_WARN("Method should not be called, because it is empty");
435 }
436 
437 void
440 {
441  NS_LOG_FUNCTION(this);
442  NS_LOG_WARN("Method should not be called, because it is empty");
443 }
444 
445 void
446 LteFrSoftAlgorithm::DoReportUlCqiInfo(std::map<uint16_t, std::vector<double>> ulCqiMap)
447 {
448  NS_LOG_FUNCTION(this);
449  NS_LOG_WARN("Method should not be called, because it is empty");
450 }
451 
452 uint8_t
454 {
455  NS_LOG_FUNCTION(this);
456 
457  if (!m_enabledInUplink)
458  {
459  return 1; // 1 is mapped to 0 for Accumulated mode, and to -1 in Absolute mode TS36.213
460  // Table 5.1.1.1-2
461  }
462 
463  // TS36.213 Table 5.1.1.1-2
464  // TPC | Accumulated Mode | Absolute Mode
465  //------------------------------------------------
466  // 0 | -1 | -4
467  // 1 | 0 | -1
468  // 2 | 1 | 1
469  // 3 | 3 | 4
470  //------------------------------------------------
471  // here Absolute mode is used
472 
473  auto it = m_ues.find(rnti);
474  if (it == m_ues.end())
475  {
476  return 1;
477  }
478 
479  if (it->second == CellEdge)
480  {
481  return m_edgeAreaTpc;
482  }
483  else if (it->second == CellCenter)
484  {
485  return m_centerAreaTpc;
486  }
487 
488  return 1;
489 }
490 
491 uint16_t
493 {
494  NS_LOG_FUNCTION(this);
495 
496  uint8_t minContinuousUlBandwidth = m_ulBandwidth;
497 
498  if (!m_enabledInUplink)
499  {
500  return minContinuousUlBandwidth;
501  }
502 
503  uint8_t leftBandwidth = m_ulEdgeSubBandOffset;
504  uint8_t centerBandwidth = m_ulEdgeSubBandwidth;
505  uint8_t rightBandwidth = m_ulBandwidth - m_ulEdgeSubBandwidth - m_ulEdgeSubBandOffset;
506 
507  minContinuousUlBandwidth = ((leftBandwidth > 0) && (leftBandwidth < minContinuousUlBandwidth))
508  ? leftBandwidth
509  : minContinuousUlBandwidth;
510 
511  minContinuousUlBandwidth =
512  ((centerBandwidth > 0) && (centerBandwidth < minContinuousUlBandwidth))
513  ? centerBandwidth
514  : minContinuousUlBandwidth;
515 
516  minContinuousUlBandwidth = ((rightBandwidth > 0) && (rightBandwidth < minContinuousUlBandwidth))
517  ? rightBandwidth
518  : minContinuousUlBandwidth;
519 
520  NS_LOG_INFO("minContinuousUlBandwidth: " << (int)minContinuousUlBandwidth);
521 
522  return minContinuousUlBandwidth;
523 }
524 
525 void
527 {
528  NS_LOG_FUNCTION(this << rnti << (uint16_t)measResults.measId);
529  NS_LOG_INFO("RNTI :" << rnti << " MeasId: " << (uint16_t)measResults.measId
530  << " RSRP: " << (uint16_t)measResults.measResultPCell.rsrpResult
531  << " RSRQ: " << (uint16_t)measResults.measResultPCell.rsrqResult);
532 
533  if (measResults.measId != m_measId)
534  {
535  NS_LOG_WARN("Ignoring measId " << (uint16_t)measResults.measId);
536  }
537  else
538  {
539  auto it = m_ues.find(rnti);
540  if (it == m_ues.end())
541  {
542  m_ues.insert(std::pair<uint16_t, uint8_t>(rnti, AreaUnset));
543  }
544  it = m_ues.find(rnti);
545 
547  {
548  if (it->second != CellEdge)
549  {
550  NS_LOG_INFO("UE RNTI: " << rnti << " will be served in Edge sub-band");
551  it->second = CellEdge;
552 
553  LteRrcSap::PdschConfigDedicated pdschConfigDedicated;
554  pdschConfigDedicated.pa = m_edgePowerOffset;
555  m_ffrRrcSapUser->SetPdschConfigDedicated(rnti, pdschConfigDedicated);
556  }
557  }
558  else
559  {
560  if (it->second != CellCenter)
561  {
562  NS_LOG_INFO("UE RNTI: " << rnti << " will be served in Center sub-band");
563  it->second = CellCenter;
564 
565  LteRrcSap::PdschConfigDedicated pdschConfigDedicated;
566  pdschConfigDedicated.pa = m_centerPowerOffset;
567  m_ffrRrcSapUser->SetPdschConfigDedicated(rnti, pdschConfigDedicated);
568  }
569  }
570  }
571 }
572 
573 void
575 {
576  NS_LOG_FUNCTION(this);
577  NS_LOG_WARN("Method should not be called, because it is empty");
578 }
579 
580 } // end of namespace ns3
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:40
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
Definition: lte-ffr-sap.h:140
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.
uint8_t m_ulEdgeSubBandwidth
UL edge subbandwidth.
friend class MemberLteFfrSapProvider< LteFrSoftAlgorithm >
let the forwarder class access the protected and private members
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 DoReportDlCqiInfo(const FfMacSchedSapProvider::SchedDlCqiInfoReqParameters &params) override
DoReportDlCqiInfo.
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.
void DoReportUlCqiInfo(const FfMacSchedSapProvider::SchedUlCqiInfoReqParameters &params) override
DoReportUlCqiInfo.
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:359
a unique identifier for an interface.
Definition: type-id.h:59
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Definition: type-id.cc:931
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
#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:46
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Ptr< const AttributeChecker > MakeBooleanChecker()
Definition: boolean.cc:124
const uint16_t NUM_DOWNLINK_CONFS(sizeof(g_ffrEnhancedDownlinkDefaultConfiguration)/sizeof(FfrEnhancedDownlinkDefaultConfiguration))
const uint16_t NUM_UPLINK_CONFS(sizeof(g_ffrEnhancedUplinkDefaultConfiguration)/sizeof(FfrEnhancedUplinkDefaultConfiguration))
static const FrSoftDownlinkDefaultConfiguration g_frSoftDownlinkDefaultConfiguration[]
Soft downlink default configuration.
Ptr< const AttributeAccessor > MakeBooleanAccessor(T1 a1)
Definition: boolean.h:86
Ptr< const AttributeAccessor > MakeUintegerAccessor(T1 a1)
Definition: uinteger.h:46
static const FrSoftUplinkDefaultConfiguration g_frSoftUplinkDefaultConfiguration[]
Soft uplink default configuration.
params
Fit Fluctuating Two Ray model to the 3GPP TR 38.901 using the Anderson-Darling goodness-of-fit ##.
Parameters of the LOAD INFORMATION message.
Definition: epc-x2-sap.h:306
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:675
uint8_t rsrpResult
the RSRP result
Definition: lte-rrc-sap.h:674
MeasResults structure.
Definition: lte-rrc-sap.h:717
uint8_t measId
measure ID
Definition: lte-rrc-sap.h:718
MeasResultPCell measResultPCell
measurement result primary cell
Definition: lte-rrc-sap.h:719
PdschConfigDedicated structure.
Definition: lte-rrc-sap.h:163
Specifies criteria for triggering of an E-UTRA measurement reporting event.
Definition: lte-rrc-sap.h:373
enum ns3::LteRrcSap::ReportConfigEutra::@64 eventId
Event enumeration.
@ EVENT_A1
Event A1: Serving becomes better than absolute threshold.
Definition: lte-rrc-sap.h:384
ThresholdEutra threshold1
Threshold for event A1, A2, A4, and A5.
Definition: lte-rrc-sap.h:393
enum ns3::LteRrcSap::ReportConfigEutra::@67 reportInterval
Report interval enumeration.
enum ns3::LteRrcSap::ReportConfigEutra::@65 triggerQuantity
Trigger type enumeration.
@ RSRQ
Reference Signal Received Quality.
Definition: lte-rrc-sap.h:426
enum ns3::LteRrcSap::ThresholdEutra::@62 choice
Threshold enumeration.
@ THRESHOLD_RSRQ
RSRQ is used for the threshold.
Definition: lte-rrc-sap.h:365
uint8_t range
Value range used in RSRP/RSRQ threshold.
Definition: lte-rrc-sap.h:368