A Discrete-Event Network Simulator
API
lte-fr-strict-algorithm.cc
Go to the documentation of this file.
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2 /*
3  * Copyright (c) 2014 Piotr Gawlowicz
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  * Author: Piotr Gawlowicz <gawlowicz.p@gmail.com>
19  *
20  */
21 
23 #include <ns3/log.h>
24 #include "ns3/boolean.h"
25 
26 namespace ns3 {
27 
28 NS_LOG_COMPONENT_DEFINE ("LteFrStrictAlgorithm");
29 
30 NS_OBJECT_ENSURE_REGISTERED (LteFrStrictAlgorithm);
31 
33 {
34  uint8_t cellId;
35  uint8_t dlBandwidth;
40  { 1, 15, 2, 0, 4},
41  { 2, 15, 2, 4, 4},
42  { 3, 15, 2, 8, 4},
43  { 1, 25, 6, 0, 6},
44  { 2, 25, 6, 6, 6},
45  { 3, 25, 6, 12, 6},
46  { 1, 50, 21, 0, 9},
47  { 2, 50, 21, 9, 9},
48  { 3, 50, 21, 18, 11},
49  { 1, 75, 36, 0, 12},
50  { 2, 75, 36, 12, 12},
51  { 3, 75, 36, 24, 15},
52  { 1, 100, 28, 0, 24},
53  { 2, 100, 28, 24, 24},
54  { 3, 100, 28, 48, 24}
55 };
56 
58 {
59  uint8_t cellId;
60  uint8_t ulBandwidth;
65  { 1, 15, 3, 0, 4},
66  { 2, 15, 3, 4, 4},
67  { 3, 15, 3, 8, 4},
68  { 1, 25, 6, 0, 6},
69  { 2, 25, 6, 6, 6},
70  { 3, 25, 6, 12, 6},
71  { 1, 50, 21, 0, 9},
72  { 2, 50, 21, 9, 9},
73  { 3, 50, 21, 18, 11},
74  { 1, 75, 36, 0, 12},
75  { 2, 75, 36, 12, 12},
76  { 3, 75, 36, 24, 15},
77  { 1, 100, 28, 0, 24},
78  { 2, 100, 28, 24, 24},
79  { 3, 100, 28, 48, 24}
80 };
81 
82 const uint16_t NUM_DOWNLINK_CONFS (sizeof (g_frStrictDownlinkDefaultConfiguration) / sizeof (FrStrictDownlinkDefaultConfiguration));
83 const uint16_t NUM_UPLINK_CONFS (sizeof (g_frStrictUplinkDefaultConfiguration) / sizeof (FrStrictUplinkDefaultConfiguration));
84 
85 
87  : m_ffrSapUser (0),
88  m_ffrRrcSapUser (0),
89  m_dlEgdeSubBandOffset (0),
90  m_dlEdgeSubBandwidth (0),
91  m_ulEgdeSubBandOffset (0),
92  m_ulEdgeSubBandwidth (0),
93  m_measId (0)
94 {
95  NS_LOG_FUNCTION (this);
98 }
99 
100 
102 {
103  NS_LOG_FUNCTION (this);
104 }
105 
106 
107 void
109 {
110  NS_LOG_FUNCTION (this);
111  delete m_ffrSapProvider;
112  delete m_ffrRrcSapProvider;
113 }
114 
115 
116 TypeId
118 {
119  static TypeId tid = TypeId ("ns3::LteFrStrictAlgorithm")
121  .SetGroupName("Lte")
122  .AddConstructor<LteFrStrictAlgorithm> ()
123  .AddAttribute ("UlCommonSubBandwidth",
124  "Uplink Common SubBandwidth Configuration in number of Resource Block Groups",
125  UintegerValue (25),
127  MakeUintegerChecker<uint8_t> ())
128  .AddAttribute ("UlEdgeSubBandOffset",
129  "Uplink Edge SubBand Offset in number of Resource Block Groups",
130  UintegerValue (0),
132  MakeUintegerChecker<uint8_t> ())
133  .AddAttribute ("UlEdgeSubBandwidth",
134  "Uplink Edge SubBandwidth Configuration in number of Resource Block Groups",
135  UintegerValue (0),
137  MakeUintegerChecker<uint8_t> ())
138  .AddAttribute ("DlCommonSubBandwidth",
139  "Downlink Common SubBandwidth Configuration in number of Resource Block Groups",
140  UintegerValue (25),
142  MakeUintegerChecker<uint8_t> ())
143  .AddAttribute ("DlEdgeSubBandOffset",
144  "Downlink Edge SubBand Offset in number of Resource Block Groups",
145  UintegerValue (0),
147  MakeUintegerChecker<uint8_t> ())
148  .AddAttribute ("DlEdgeSubBandwidth",
149  "Downlink Edge SubBandwidth Configuration in number of Resource Block Groups",
150  UintegerValue (0),
152  MakeUintegerChecker<uint8_t> ())
153  .AddAttribute ("RsrqThreshold",
154  "If the RSRQ of is worse than this threshold, UE should be served in Edge sub-band",
155  UintegerValue (20),
157  MakeUintegerChecker<uint8_t> ())
158  .AddAttribute ("CenterPowerOffset",
159  "PdschConfigDedicated::Pa value for Edge Sub-band, default value dB0",
160  UintegerValue (5),
162  MakeUintegerChecker<uint8_t> ())
163  .AddAttribute ("EdgePowerOffset",
164  "PdschConfigDedicated::Pa value for Edge Sub-band, default value dB0",
165  UintegerValue (5),
167  MakeUintegerChecker<uint8_t> ())
168  .AddAttribute ("CenterAreaTpc",
169  "TPC value which will be set in DL-DCI for UEs in center area"
170  "Absolute mode is used, default value 1 is mapped to -1 according to"
171  "TS36.213 Table 5.1.1.1-2",
172  UintegerValue (1),
174  MakeUintegerChecker<uint8_t> ())
175  .AddAttribute ("EdgeAreaTpc",
176  "TPC value which will be set in DL-DCI for UEs in edge area"
177  "Absolute mode is used, default value 1 is mapped to -1 according to"
178  "TS36.213 Table 5.1.1.1-2",
179  UintegerValue (1),
181  MakeUintegerChecker<uint8_t> ())
182  ;
183  return tid;
184 }
185 
186 
187 void
189 {
190  NS_LOG_FUNCTION (this << s);
191  m_ffrSapUser = s;
192 }
193 
194 
197 {
198  NS_LOG_FUNCTION (this);
199  return m_ffrSapProvider;
200 }
201 
202 void
204 {
205  NS_LOG_FUNCTION (this << s);
206  m_ffrRrcSapUser = s;
207 }
208 
209 
212 {
213  NS_LOG_FUNCTION (this);
214  return m_ffrRrcSapProvider;
215 }
216 
217 
218 void
220 {
221  NS_LOG_FUNCTION (this);
223 
224  NS_ASSERT_MSG (m_dlBandwidth > 14,"DlBandwidth must be at least 15 to use FFR algorithms");
225  NS_ASSERT_MSG (m_ulBandwidth > 14,"UlBandwidth must be at least 15 to use FFR algorithms");
226 
227  if (m_frCellTypeId != 0)
228  {
231  }
232 
233  NS_LOG_LOGIC (this << " requesting Event A1 measurements"
234  << " (threshold = 0" << ")");
235  LteRrcSap::ReportConfigEutra reportConfig;
238  reportConfig.threshold1.range = 0;
242 }
243 
244 void
246 {
247  NS_LOG_FUNCTION (this);
248  if (m_frCellTypeId != 0)
249  {
252  }
255  m_needReconfiguration = false;
256 }
257 
258 void
259 LteFrStrictAlgorithm::SetDownlinkConfiguration (uint16_t cellId, uint8_t bandwidth)
260 {
261  NS_LOG_FUNCTION (this);
262  for (uint16_t i = 0; i < NUM_DOWNLINK_CONFS; ++i)
263  {
264  if ((g_frStrictDownlinkDefaultConfiguration[i].cellId == cellId)
266  {
270  }
271  }
272 }
273 
274 void
275 LteFrStrictAlgorithm::SetUplinkConfiguration (uint16_t cellId, uint8_t bandwidth)
276 {
277  NS_LOG_FUNCTION (this);
278  for (uint16_t i = 0; i < NUM_UPLINK_CONFS; ++i)
279  {
280  if ((g_frStrictUplinkDefaultConfiguration[i].cellId == cellId)
282  {
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, true);
298  m_dlEdgeRbgMap.resize (m_dlBandwidth / rbgSize, false);
299 
300  NS_ASSERT_MSG (m_dlCommonSubBandwidth <= m_dlBandwidth,"DlCommonSubBandwidth higher than DlBandwidth");
301  NS_ASSERT_MSG (m_dlEgdeSubBandOffset <= m_dlBandwidth,"DlEgdeSubBandOffset higher than DlBandwidth");
302  NS_ASSERT_MSG (m_dlEdgeSubBandwidth <= m_dlBandwidth,"DlEdgeSubBandwidth higher than DlBandwidth");
304  "(DlCommonSubBandwidth+DlEgdeSubBandOffset+DlEdgeSubBandwidth) higher than DlBandwidth");
305 
306  for (uint8_t i = 0; i < m_dlCommonSubBandwidth / rbgSize; i++)
307  {
308  m_dlRbgMap[i] = false;
309 
310  }
311 
312  for (uint8_t i = m_dlCommonSubBandwidth / rbgSize + m_dlEgdeSubBandOffset / rbgSize;
313  i < (m_dlCommonSubBandwidth / rbgSize + m_dlEgdeSubBandOffset / rbgSize
314  + m_dlEdgeSubBandwidth / rbgSize); i++)
315  {
316  m_dlRbgMap[i] = false;
317  m_dlEdgeRbgMap[i] = true;
318  }
319 }
320 
321 void
323 {
324  m_ulRbgMap.clear ();
325  m_ulEdgeRbgMap.clear ();
326 
327  if (!m_enabledInUplink)
328  {
329  m_ulRbgMap.resize (m_ulBandwidth, false);
330  return;
331  }
332 
333  m_ulRbgMap.resize (m_ulBandwidth, true);
334  m_ulEdgeRbgMap.resize (m_ulBandwidth, false);
335 
336  NS_ASSERT_MSG (m_ulCommonSubBandwidth <= m_ulBandwidth,"UlCommonSubBandwidth higher than UlBandwidth");
337  NS_ASSERT_MSG (m_ulEgdeSubBandOffset <= m_ulBandwidth,"UlEgdeSubBandOffset higher than UlBandwidth");
338  NS_ASSERT_MSG (m_ulEdgeSubBandwidth <= m_ulBandwidth,"UlEdgeSubBandwidth higher than UlBandwidth");
340  "(UlCommonSubBandwidth+UlEgdeSubBandOffset+UlEdgeSubBandwidth) higher than UlBandwidth");
341 
342  for (uint8_t i = 0; i < m_ulCommonSubBandwidth; i++)
343  {
344  m_ulRbgMap[i] = false;
345 
346  }
347 
348  for (uint8_t i = m_ulCommonSubBandwidth + m_ulEgdeSubBandOffset;
349  i < (m_ulCommonSubBandwidth + m_ulEgdeSubBandOffset
350  + m_ulEdgeSubBandwidth); i++)
351  {
352  m_ulRbgMap[i] = false;
353  m_ulEdgeRbgMap[i] = true;
354  }
355 }
356 
357 
358 std::vector <bool>
360 {
361  NS_LOG_FUNCTION (this);
362 
364  {
365  Reconfigure ();
366  }
367 
368  if (m_dlRbgMap.empty ())
369  {
371  }
372 
373  return m_dlRbgMap;
374 }
375 
376 bool
378 {
379  NS_LOG_FUNCTION (this);
380 
381  bool edgeRbg = m_dlEdgeRbgMap[rbgId];
382 
383  std::map< uint16_t, uint8_t >::iterator it = m_ues.find (rnti);
384  if (it == m_ues.end ())
385  {
386  m_ues.insert (std::pair< uint16_t, uint8_t > (rnti, AreaUnset));
387  return !edgeRbg;
388  }
389 
390  bool edgeUe = false;
391  if (it->second == CellEdge )
392  {
393  edgeUe = true;
394  }
395 
396  return (edgeRbg && edgeUe) || (!edgeRbg && !edgeUe);
397 }
398 
399 std::vector <bool>
401 {
402  NS_LOG_FUNCTION (this);
403 
404  if (m_ulRbgMap.empty ())
405  {
407  }
408 
409  return m_ulRbgMap;
410 }
411 
412 bool
414 {
415  NS_LOG_FUNCTION (this);
416 
417  if (!m_enabledInUplink)
418  {
419  return true;
420  }
421 
422  bool edgeRbg = m_ulEdgeRbgMap[rbgId];
423 
424  std::map< uint16_t, uint8_t >::iterator it = m_ues.find (rnti);
425  if (it == m_ues.end ())
426  {
427  m_ues.insert (std::pair< uint16_t, uint8_t > (rnti, AreaUnset));
428  return !edgeRbg;
429  }
430 
431  bool edgeUe = false;
432  if (it->second == CellEdge )
433  {
434  edgeUe = true;
435  }
436 
437  return (edgeRbg && edgeUe) || (!edgeRbg && !edgeUe);
438 }
439 
440 void
442 {
443  NS_LOG_FUNCTION (this);
444  NS_LOG_WARN ("Method should not be called, because it is empty");
445 }
446 
447 void
449 {
450  NS_LOG_FUNCTION (this);
451  NS_LOG_WARN ("Method should not be called, because it is empty");
452 }
453 
454 void
455 LteFrStrictAlgorithm::DoReportUlCqiInfo (std::map <uint16_t, std::vector <double> > ulCqiMap)
456 {
457  NS_LOG_FUNCTION (this);
458  NS_LOG_WARN ("Method should not be called, because it is empty");
459 }
460 
461 uint8_t
463 {
464  NS_LOG_FUNCTION (this);
465 
466  if (!m_enabledInUplink)
467  {
468  return 1; // 1 is mapped to 0 for Accumulated mode, and to -1 in Absolute mode TS36.213 Table 5.1.1.1-2
469  }
470 
471  //TS36.213 Table 5.1.1.1-2
472  // TPC | Accumulated Mode | Absolute Mode
473  //------------------------------------------------
474  // 0 | -1 | -4
475  // 1 | 0 | -1
476  // 2 | 1 | 1
477  // 3 | 3 | 4
478  //------------------------------------------------
479  // here Absolute mode is used
480 
481  std::map< uint16_t, uint8_t >::iterator it = m_ues.find (rnti);
482  if (it == m_ues.end ())
483  {
484  return 1;
485  }
486 
487  if (it->second == CellEdge )
488  {
489  return m_edgeAreaTpc;
490  }
491  else if (it->second == CellCenter )
492  {
493  return m_centerAreaTpc;
494  }
495 
496  return 1;
497 }
498 
499 uint8_t
501 {
502  NS_LOG_FUNCTION (this);
503 
504  if (!m_enabledInUplink)
505  {
506  return m_ulBandwidth;
507  }
508 
510  NS_LOG_INFO ("minContinuousUlBandwidth: " << (int)minContinuousUlBandwidth);
511 
512  return minContinuousUlBandwidth;
513 }
514 
515 void
517  LteRrcSap::MeasResults measResults)
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.rsrpResult
522  << " RSRQ: " << (uint16_t)measResults.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 
537  if (measResults.rsrqResult < m_egdeSubBandThreshold)
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_edgeAreaPowerOffset;
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_centerAreaPowerOffset;
558  m_ffrRrcSapUser->SetPdschConfigDedicated (rnti, pdschConfigDedicated);
559  }
560  }
561  }
562 }
563 
564 void
566 {
567  NS_LOG_FUNCTION (this);
568  NS_LOG_WARN ("Method should not be called, since it is empty");
569 
570 }
571 
572 } // end of namespace ns3
Service Access Point (SAP) offered by the Frequency Reuse algorithm instance to the eNodeB RRC instan...
virtual void DoInitialize(void)
Initialize() implementation.
Definition: object.cc:353
Template for the implementation of the LteFfrRrcSapProvider as a member of an owner class of type C t...
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
Definition: lte-ffr-sap.h:132
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
virtual uint8_t DoGetTpc(uint16_t rnti)
DoGetTpc for UE.
virtual void DoRecvLoadInformation(EpcX2Sap::LoadInformationParams params)
DoRecvLoadInformation.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Definition: object-base.h:44
enum ns3::LteRrcSap::ReportConfigEutra::@73 triggerQuantity
The quantities used to evaluate the triggering condition for the event, see 3GPP TS 36...
ThresholdEutra threshold1
Threshold for event A1, A2, A4, and A5.
Definition: lte-rrc-sap.h:339
Specifies criteria for triggering of an E-UTRA measurement reporting event.
Definition: lte-rrc-sap.h:321
uint8_t m_ulBandwidth
uplink bandwidth in RBs
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
Definition: log.h:201
enum ns3::LteRrcSap::ReportConfigEutra::@71 eventId
Choice of E-UTRA event triggered reporting criteria.
virtual std::vector< bool > DoGetAvailableUlRbg()
Implementation of LteFfrSapProvider::GetAvailableUlRbg.
void SetUplinkConfiguration(uint16_t cellId, uint8_t bandwidth)
#define NS_LOG_INFO(msg)
Use NS_LOG to output a message of level LOG_INFO.
Definition: log.h:244
virtual bool DoIsUlRbgAvailableForUe(int i, uint16_t rnti)
Implementation of LteFfrSapProvider::IsUlRbgAvailableForUe.
enum ns3::LteRrcSap::ThresholdEutra::@69 choice
virtual uint8_t AddUeMeasReportConfigForFfr(LteRrcSap::ReportConfigEutra reportConfig)=0
Request a certain reporting configuration to be fulfilled by the UEs attached to the eNodeB entity...
Strict Frequency Reuse algorithm implementation.
virtual void DoReportDlCqiInfo(const struct FfMacSchedSapProvider::SchedDlCqiInfoReqParameters &params)
DoReportDlCqiInfo.
virtual void SetPdschConfigDedicated(uint16_t rnti, LteRrcSap::PdschConfigDedicated pdschConfigDedicated)=0
Instruct the eNodeB RRC entity to perform RrcConnectionReconfiguration to inform UE about new PdschCo...
LteFrStrictAlgorithm()
Creates a trivial ffr algorithm instance.
virtual uint8_t DoGetMinContinuousUlBandwidth()
DoGetMinContinuousUlBandwidth in number of RB.
Template for the implementation of the LteFfrSapProvider as a member of an owner class of type C to w...
Definition: lte-ffr-sap.h:146
LteFfrSapProvider * m_ffrSapProvider
virtual void SetLteFfrRrcSapUser(LteFfrRrcSapUser *s)
Set the "user" part of the LteFfrRrcSap interface that this frequency reuse algorithm instance will i...
Service Access Point (SAP) offered by the Frequency Reuse algorithm instance to the MAC Scheduler ins...
Definition: lte-ffr-sap.h:39
Hold an unsigned integer type.
Definition: uinteger.h:44
bool m_enabledInUplink
If true FR algorithm will also work in Uplink.
bool m_needReconfiguration
If true FR algorithm will be reconfigured.
uint8_t m_dlBandwidth
downlink bandwidth in RBs
virtual void DoDispose()
Destructor implementation.
#define NS_LOG_LOGIC(msg)
Use NS_LOG to output a message of level LOG_LOGIC.
Definition: log.h:252
virtual void Reconfigure()
Automatic FR reconfiguration.
virtual LteFfrSapProvider * GetLteFfrSapProvider()
Export the "provider" part of the LteFfrSap interface.
virtual LteFfrRrcSapProvider * GetLteFfrRrcSapProvider()
Export the "provider" part of the LteFfrRrcSap interface.
virtual void DoInitialize()
Initialize() implementation.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
The abstract base class of a Frequency Reuse algorithm.
enum ns3::LteRrcSap::ReportConfigEutra::@75 reportInterval
Indicates the interval between periodical reports.
uint8_t range
Value range used in RSRP/RSRQ threshold.
Definition: lte-rrc-sap.h:317
std::map< uint16_t, uint8_t > m_ues
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
#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:90
Parameters of the SCHED_DL_CQI_INFO_REQ primitive.
uint8_t m_frCellTypeId
FFR cell type ID for automatic configuration.
static const struct ns3::FrStrictDownlinkDefaultConfiguration g_frStrictDownlinkDefaultConfiguration[]
Parameters of the SCHED_UL_CQI_INFO_REQ primitive.
#define NS_LOG_WARN(msg)
Use NS_LOG to output a message of level LOG_WARN.
Definition: log.h:228
void SetDownlinkConfiguration(uint16_t cellId, uint8_t bandwidth)
int GetRbgSize(int dlbandwidth)
Get RBG size for DL Bandwidth according to table 7.1.6.1-1 of 36.213.
Parameters of the LOAD INFORMATION message.
Definition: epc-x2-sap.h:300
virtual void DoReportUlCqiInfo(const struct FfMacSchedSapProvider::SchedUlCqiInfoReqParameters &params)
DoReportUlCqiInfo.
RSRQ is used for the threshold.
Definition: lte-rrc-sap.h:315
const uint16_t NUM_DOWNLINK_CONFS(sizeof(g_ffrEnhancedDownlinkDefaultConfiguration)/sizeof(FfrEnhancedDownlinkDefaultConfiguration))
virtual std::vector< bool > DoGetAvailableDlRbg()
Implementation of LteFfrSapProvider::GetAvailableDlRbg.
virtual bool DoIsDlRbgAvailableForUe(int i, uint16_t rnti)
Implementation of LteFfrSapProvider::IsDlRbgAvailableForUe.
Ptr< const AttributeAccessor > MakeUintegerAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method...
Definition: uinteger.h:45
virtual void SetLteFfrSapUser(LteFfrSapUser *s)
Set the "user" part of the LteFfrSap interface that this frequency reuse algorithm instance will inte...
a unique identifier for an interface.
Definition: type-id.h:58
static const struct ns3::FrStrictUplinkDefaultConfiguration g_frStrictUplinkDefaultConfiguration[]
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Definition: type-id.cc:904
Event A1: Serving becomes better than absolute threshold.
Definition: lte-rrc-sap.h:331
const uint16_t NUM_UPLINK_CONFS(sizeof(g_ffrEnhancedUplinkDefaultConfiguration)/sizeof(FfrEnhancedUplinkDefaultConfiguration))
virtual void DoReportUeMeas(uint16_t rnti, LteRrcSap::MeasResults measResults)
Implementation of LteFfrRrcSapProvider::ReportUeMeas.
Reference Signal Received Quality.
Definition: lte-rrc-sap.h:363
LteFfrRrcSapProvider * m_ffrRrcSapProvider