25 #include <ns3/fatal-error.h>
27 #include <ns3/abort.h>
29 #include <ns3/pointer.h>
30 #include <ns3/object-map.h>
31 #include <ns3/object-factory.h>
32 #include <ns3/simulator.h>
34 #include <ns3/lte-radio-bearer-info.h>
35 #include <ns3/eps-bearer-tag.h>
36 #include <ns3/packet.h>
38 #include <ns3/lte-rlc.h>
39 #include <ns3/lte-rlc-tm.h>
40 #include <ns3/lte-rlc-um.h>
41 #include <ns3/lte-rlc-am.h>
42 #include <ns3/lte-pdcp.h>
105 "INITIAL_RANDOM_ACCESS",
107 "CONNECTION_REJECTED",
108 "CONNECTED_NORMALLY",
109 "CONNECTION_RECONFIGURATION",
110 "CONNECTION_REESTABLISHMENT",
111 "HANDOVER_PREPARATION",
113 "HANDOVER_PATH_SWITCH",
133 : m_lastAllocatedDrbid (0),
136 m_lastRrcTransactionIdentifier (0),
139 m_pendingRrcConnectionReconfiguration (false),
142 m_needTransmissionModeConfiguration (false)
167 Ptr<LteRlc> rlc = CreateObject<LteRlcTm> ()->GetObject<LteRlc> ();
172 m_srb0 = CreateObject<LteSignalingRadioBearerInfo> ();
174 m_srb0->m_srbIdentity = 0;
189 Ptr<LteRlc> rlc = CreateObject<LteRlcAm> ()->GetObject<LteRlc> ();
196 pdcp->SetLcId (lcid);
201 m_srb1 = CreateObject<LteSignalingRadioBearerInfo> ();
204 m_srb1->m_srbIdentity = 1;
205 m_srb1->m_logicalChannelConfig.priority = 0;
206 m_srb1->m_logicalChannelConfig.prioritizedBitRateKbps = 100;
207 m_srb1->m_logicalChannelConfig.bucketSizeDurationMs = 100;
208 m_srb1->m_logicalChannelConfig.logicalChannelGroup = 0;
232 m_rrc->m_cmacSapProvider->UeUpdateConfigurationReq (req);
239 Time maxConnectionDelay;
275 m_rrc->m_x2uTeidInfoMap.erase (it->second->m_gtpTeid);
284 .AddConstructor<UeManager> ()
285 .AddAttribute (
"DataRadioBearerMap",
"List of UE DataRadioBearerInfo by DRBID.",
288 MakeObjectMapChecker<LteDataRadioBearerInfo> ())
289 .AddAttribute (
"Srb0",
"SignalingRadioBearerInfo for SRB0",
292 MakePointerChecker<LteSignalingRadioBearerInfo> ())
293 .AddAttribute (
"Srb1",
"SignalingRadioBearerInfo for SRB1",
296 MakePointerChecker<LteSignalingRadioBearerInfo> ())
297 .AddAttribute (
"C-RNTI",
298 "Cell Radio Network Temporary Identifier",
302 MakeUintegerChecker<uint16_t> ())
303 .AddTraceSource (
"StateTransition",
304 "fired upon every UE state transition seen by the UeManager at the eNB RRC",
332 NS_ASSERT_MSG ( bearerId == 0 || bid == bearerId,
"bearer ID mismatch (" << (uint32_t) bid <<
" != " << (uint32_t) bearerId <<
", the assumption that ID are allocated in the same way by MME and RRC is not valid any more");
333 drbInfo->m_epsBearerIdentity = bid;
334 drbInfo->m_drbIdentity = drbid;
335 drbInfo->m_logicalChannelIdentity = lcid;
336 drbInfo->m_gtpTeid = gtpTeid;
337 drbInfo->m_transportLayerAddress = transportLayerAddress;
344 x2uTeidInfo.
drbid = drbid;
345 std::pair<std::map<uint32_t, LteEnbRrc::X2uTeidInfo>::iterator,
bool>
346 ret =
m_rrc->m_x2uTeidInfoMap.insert (std::pair<uint32_t, LteEnbRrc::X2uTeidInfo> (gtpTeid, x2uTeidInfo));
347 NS_ASSERT_MSG (ret.second ==
true,
"overwriting a pre-existing entry in m_x2uTeidInfoMap");
358 drbInfo->m_rlc = rlc;
367 pdcp->SetRnti (m_rnti);
368 pdcp->SetLcId (lcid);
372 drbInfo->m_pdcp = pdcp;
378 lcinfo.
lcGroup =
m_rrc->GetLogicalChannelGroup (bearer);
396 drbInfo->m_logicalChannelIdentity = lcid;
397 drbInfo->m_logicalChannelConfig.priority =
m_rrc->GetLogicalChannelPriority (bearer);
398 drbInfo->m_logicalChannelConfig.logicalChannelGroup =
m_rrc->GetLogicalChannelGroup (bearer);
401 drbInfo->m_logicalChannelConfig.prioritizedBitRateKbps = bearer.
gbrQosInfo.
gbrUl;
405 drbInfo->m_logicalChannelConfig.prioritizedBitRateKbps = 0;
407 drbInfo->m_logicalChannelConfig.bucketSizeDurationMs = 1000;
432 std::map <uint8_t, Ptr<LteDataRadioBearerInfo> >::iterator drbIt =
m_drbMap.find (*drbIdIt);
434 drbIt->second->m_rlc->Initialize ();
435 if (drbIt->second->m_pdcp)
437 drbIt->second->m_pdcp->Initialize ();
449 std::map <uint8_t, Ptr<LteDataRadioBearerInfo> >::iterator it =
m_drbMap.find (drbid);
450 NS_ASSERT_MSG (it !=
m_drbMap.end (),
"request to remove radio bearer with unknown drbid " << drbid);
453 m_rrc->m_x2uTeidInfoMap.erase (it->second->m_gtpTeid);
456 m_rrc->m_cmacSapProvider->ReleaseLc (
m_rnti, lcid);
466 m_rrc->m_rrcSapUser->SendRrcConnectionReconfiguration (
m_rnti, msg);
491 m_rrc->m_rrcSapUser->SendRrcConnectionReconfiguration (
m_rnti, msg);
539 params.
rrcContext =
m_rrc->m_rrcSapUser->EncodeHandoverPreparationInformation (hpi);
547 m_rrc->m_x2SapProvider->SendHandoverRequest (params);
575 m_rrc->m_rrcSapUser->SendRrcConnectionReconfiguration (
m_rnti, handoverCommand);
593 if (0 != drbIt->second->m_rlc->GetObject<
LteRlcAm> ())
602 m_rrc->m_x2SapProvider->SendSnStatusTransfer (sst);
639 NS_LOG_LOGIC (
"queueing data on PDCP for transmission over the air");
652 NS_LOG_LOGIC (
"forwarding data to target eNB over X2-U");
659 m_rrc->m_x2SapProvider->SendUeData (params);
669 std::vector<EpcX2Sap::ErabToBeSetupItem>
673 std::vector<EpcX2Sap::ErabToBeSetupItem> ret;
679 etbsi.
erabId = it->second->m_epsBearerIdentity;
683 etbsi.
gtpTeid = it->second->m_gtpTeid;
684 ret.push_back (etbsi);
696 NS_LOG_INFO (
"Send UE CONTEXT RELEASE from target eNB to source eNB");
701 m_rrc->m_x2SapProvider->SendUeContextRelease (ueCtxReleaseParams);
720 NS_LOG_INFO (
"target eNB sent HO preparation failure, aborting HO");
734 for (std::vector<EpcX2Sap::ErabsSubjectToStatusTransferItem>::iterator erabIt
776 if (
m_rrc->m_admitRrcConnectionRequest ==
true)
780 if (
m_rrc->m_s1SapProvider != 0)
787 m_rrc->m_rrcSapUser->SendRrcConnectionSetup (
m_rnti, msg2);
797 m_rrc->m_rrcSapUser->SendRrcConnectionReject (
m_rnti, rejectMsg);
844 m_rrc->m_cmacSapProvider->UeUpdateConfigurationReq (req);
862 NS_LOG_INFO (
"Send PATH SWITCH REQUEST to the MME");
874 b.
teid = it->second->m_gtpTeid;
877 m_rrc->m_s1SapProvider->PathSwitchRequest (params);
908 m_rrc->m_rrcSapUser->SendRrcConnectionReestablishment (
m_rnti, msg2);
936 <<
" RSRP " << (it->haveRsrpResult ? (uint16_t) it->rsrpResult : 255)
937 <<
" RSRQ " << (it->haveRsrqResult ? (uint16_t) it->rsrqResult : 255));
940 if ((
m_rrc->m_handoverManagementSapProvider != 0)
941 && (
m_rrc->m_handoverMeasIds.find (measId) !=
m_rrc->m_handoverMeasIds.end ()))
944 m_rrc->m_handoverManagementSapProvider->ReportUeMeas (
m_rnti,
948 if ((
m_rrc->m_anrSapProvider != 0)
949 && (
m_rrc->m_anrMeasIds.find (measId) !=
m_rrc->m_anrMeasIds.end ()))
1019 m_rrc->m_cphySapProvider->SetSrsConfigurationIndex (
m_rnti, srsConfIndex);
1043 const uint8_t MAX_DRB_ID = 32;
1046 drbid = (drbid + 1) % MAX_DRB_ID)
1053 drbInfo->m_drbIdentity = drbid;
1068 std::map<uint8_t, Ptr<LteDataRadioBearerInfo> >::iterator it =
m_drbMap.find (drbid);
1078 std::map <uint8_t, Ptr<LteDataRadioBearerInfo> >::iterator it =
m_drbMap.find (drbid);
1079 NS_ASSERT_MSG (it !=
m_drbMap.end (),
"request to remove radio bearer with unknown drbid " << drbid);
1118 dtam.
rlcConfig = it->second->m_rlcConfig;
1225 : m_x2SapProvider (0),
1226 m_cmacSapProvider (0),
1227 m_handoverManagementSapProvider (0),
1228 m_anrSapProvider (0),
1230 m_macSapProvider (0),
1231 m_s1SapProvider (0),
1232 m_cphySapProvider (0),
1233 m_configured (false),
1234 m_lastAllocatedRnti (0),
1235 m_srsCurrentPeriodicityId (0),
1236 m_lastAllocatedConfigurationIndex (0),
1237 m_reconfigureUes (false)
1276 .AddConstructor<LteEnbRrc> ()
1277 .AddAttribute (
"UeMap",
"List of UeManager by C-RNTI.",
1280 MakeObjectMapChecker<UeManager> ())
1281 .AddAttribute (
"DefaultTransmissionMode",
1282 "The default UEs' transmission mode (0: SISO)",
1285 MakeUintegerChecker<uint8_t> ())
1286 .AddAttribute (
"EpsBearerToRlcMapping",
1287 "Specify which type of RLC will be used for each type of EPS bearer. ",
1294 .AddAttribute (
"SystemInformationPeriodicity",
1295 "The interval for sending system information (Time value)",
1301 .AddAttribute (
"SrsPeriodicity",
1302 "The SRS periodicity in milliseconds",
1306 MakeUintegerChecker<uint32_t> ())
1309 .AddAttribute (
"ConnectionTimeoutDuration",
1310 "After a RA attempt, if no RRC Connection Request is received before this time, the UE context is destroyed. Must account for reception of RAR and transmission of RRC CONNECTION REQUEST over UL GRANT.",
1314 .AddAttribute (
"ConnectionRejectedTimeoutDuration",
1315 "Time to wait between sending a RRC CONNECTION REJECT and destroying the UE context",
1319 .AddAttribute (
"HandoverJoiningTimeoutDuration",
1320 "After accepting a handover request, if no RRC Connection Reconfiguration Completed is received before this time, the UE context is destroyed. Must account for reception of X2 HO REQ ACK by source eNB, transmission of the Handover Command, non-contention-based random access and reception of the RRC Connection Reconfiguration Completed message.",
1324 .AddAttribute (
"HandoverLeavingTimeoutDuration",
1325 "After issuing a Handover Command, if neither RRC Connection Reestablishment nor X2 UE Context Release has been previously received, the UE context is destroyed.",
1331 .AddAttribute (
"QRxLevMin",
1332 "One of information transmitted within the SIB1 message, "
1333 "indicating the required minimum RSRP level that any UE must "
1334 "receive from this cell before it is allowed to camp to this "
1335 "cell. The default value -70 corresponds to -140 dBm and is "
1336 "the lowest possible value as defined by Section 6.3.4 of "
1337 "3GPP TS 36.133. This restriction, however, only applies to "
1338 "initial cell selection and EPC-enabled simulation.",
1342 MakeIntegerChecker<int8_t> (-70, -22))
1345 .AddAttribute (
"AdmitHandoverRequest",
1346 "Whether to admit an X2 handover request from another eNB",
1349 MakeBooleanChecker ())
1350 .AddAttribute (
"AdmitRrcConnectionRequest",
1351 "Whether to admit a connection request from a UE",
1354 MakeBooleanChecker ())
1357 .AddAttribute (
"RsrpFilterCoefficient",
1358 "Determines the strength of smoothing effect induced by "
1359 "layer 3 filtering of RSRP in all attached UE; "
1360 "if set to 0, no layer 3 filtering is applicable",
1364 MakeUintegerChecker<uint8_t> (0))
1365 .AddAttribute (
"RsrqFilterCoefficient",
1366 "Determines the strength of smoothing effect induced by "
1367 "layer 3 filtering of RSRQ in all attached UE; "
1368 "if set to 0, no layer 3 filtering is applicable",
1372 MakeUintegerChecker<uint8_t> (0))
1375 .AddTraceSource (
"NewUeContext",
1376 "trace fired upon creation of a new UE context",
1378 .AddTraceSource (
"ConnectionEstablished",
1379 "trace fired upon successful RRC connection establishment",
1381 .AddTraceSource (
"ConnectionReconfiguration",
1382 "trace fired upon RRC connection reconfiguration",
1384 .AddTraceSource (
"HandoverStart",
1385 "trace fired upon start of a handover procedure",
1387 .AddTraceSource (
"HandoverEndOk",
1388 "trace fired upon successful termination of a handover procedure",
1390 .AddTraceSource (
"RecvMeasurementReport",
1391 "trace fired when measurement report is received",
1506 std::map<uint16_t, Ptr<UeManager> >::iterator it =
m_ueMap.find (rnti);
1519 "Measurement identities and reporting configuration should not have different quantity");
1523 NS_FATAL_ERROR (
"AddUeMeasReportConfig may not be called after the simulation has run");
1534 NS_FATAL_ERROR (
"The given triggerQuantity (RSRP) does not match with the given threshold2.choice");
1543 NS_FATAL_ERROR (
"The given triggerQuantity (RSRP) does not match with the given threshold1.choice");
1551 NS_FATAL_ERROR (
"The given triggerQuantity (RSRQ) does not match with the given threshold2.choice");
1560 NS_FATAL_ERROR (
"The given triggerQuantity (RSRQ) does not match with the given threshold1.choice");
1571 NS_FATAL_ERROR (
"Only REPORT_STRONGEST_CELLS purpose is supported");
1576 NS_LOG_WARN (
"reportQuantity = BOTH will be used instead of the given reportQuantity");
1601 uint16_t ulEarfcn, uint16_t dlEarfcn, uint16_t cellId)
1603 NS_LOG_FUNCTION (
this << (uint16_t) ulBandwidth << (uint16_t) dlBandwidth
1604 << ulEarfcn << dlEarfcn << cellId);
1683 NS_ASSERT_MSG (found,
"no EpsBearerTag found in packet to be sent");
1685 ueManager->SendData (tag.
GetBid (), packet);
1740 ueManager->PrepareHandover (cellId);
1762 GetUeManager (rnti)->RecvRrcConnectionSetupCompleted (msg);
1769 GetUeManager (rnti)->RecvRrcConnectionReconfigurationCompleted (msg);
1776 GetUeManager (rnti)->RecvRrcConnectionReestablishmentRequest (msg);
1783 GetUeManager (rnti)->RecvRrcConnectionReestablishmentComplete (msg);
1804 ueManager->SendUeContextRelease ();
1836 if (anrcrv.
valid ==
false)
1838 NS_LOG_INFO (
this <<
"failed to allocate a preamble for non-contention based RA => cannot accept HO");
1840 NS_FATAL_ERROR (
"should trigger HO Preparation Failure, but it is not implemented");
1854 for (std::vector <EpcX2Sap::ErabToBeSetupItem>::iterator it = req.
bearers.begin ();
1858 ueManager->SetupDataRadioBearer (it->erabLevelQosParameters, it->erabId, it->gtpTeid, it->transportLayerAddress);
1885 ackParams.
rrcContext = encodedHandoverCommand;
1887 NS_LOG_LOGIC (
"Send X2 message: HANDOVER REQUEST ACK");
1902 NS_LOG_LOGIC (
"Recv X2 message: HANDOVER REQUEST ACK");
1911 ueManager->RecvHandoverRequestAck (params);
1919 NS_LOG_LOGIC (
"Recv X2 message: HANDOVER PREPARATION FAILURE");
1929 ueManager->RecvHandoverPreparationFailure (params.
targetCellId);
1945 ueManager->RecvSnStatusTransfer (params);
1972 NS_ASSERT (
"Processing of LOAD INFORMATION X2 message IS NOT IMPLEMENTED");
1980 NS_LOG_LOGIC (
"Recv X2 message: RESOURCE STATUS UPDATE");
1984 NS_ASSERT (
"Processing of RESOURCE STATUS UPDATE X2 message IS NOT IMPLEMENTED");
1992 NS_LOG_LOGIC (
"Recv UE DATA FORWARDING through X2 interface");
1999 std::map<uint32_t, X2uTeidInfo>::iterator
2003 GetUeManager (teidInfoIt->second.rnti)->SendData (teidInfoIt->second.drbid, params.
ueData);
2023 ueManager->CmacUeConfigUpdateInd (cmacParams);
2048 bool isHandoverAllowed =
true;
2056 <<
" targetCellId=" << targetCellId
2057 <<
" NRT.NoHo=" << noHo <<
" NRT.NoX2=" << noX2);
2061 isHandoverAllowed =
false;
2062 NS_LOG_LOGIC (
this <<
" handover to cell " << targetCellId
2063 <<
" is not allowed by ANR");
2068 NS_ASSERT_MSG (ueManager != 0,
"Cannot find UE context with RNTI " << rnti);
2072 isHandoverAllowed =
false;
2073 NS_LOG_LOGIC (
this <<
" handover is not allowed because the UE"
2074 <<
" rnti=" << rnti <<
" is in "
2075 <<
ToString (ueManager->GetState ()) <<
" state");
2078 if (isHandoverAllowed)
2081 ueManager->PrepareHandover (targetCellId);
2113 NS_ASSERT_MSG (found,
"no more RNTIs available (do you have more than 65535 UEs in a cell?)");
2115 Ptr<UeManager> ueManager = CreateObject<UeManager> (
this, rnti, state);
2117 ueManager->Initialize ();
2118 NS_LOG_DEBUG (
this <<
" New UE RNTI " << rnti <<
" cellId " <<
m_cellId <<
" srs CI " << ueManager->GetSrsConfigurationIndex ());
2127 std::map <uint16_t, Ptr<UeManager> >::iterator it =
m_ueMap.find (rnti);
2129 uint16_t srsCi = (*it).second->GetSrsConfigurationIndex ();
2216 std::ostringstream allowedValues;
2221 NS_FATAL_ERROR (
"illecit SRS periodicity value " << p <<
". Allowed values: " << allowedValues.str ());
2245 <<
") for current SRS periodicity "
2247 <<
", consider increasing the value of ns3::LteEnbRrc::SrsPeriodicity");
2262 if ((*rit) <
g_srsCiHigh[m_srsCurrentPeriodicityId])
2300 if (bearer.
IsGbr ())
virtual void AddNeighbourRelation(uint16_t cellId)=0
Add a new Neighbour Relation entry.
Callback< void, Ptr< Packet > > m_forwardUpCallback
Ipv4Address transportLayerAddress
IP Address of the SGW, see 36.423 9.2.1.
static const uint8_t SRS_ENTRIES
virtual void SetMasterInformationBlock(LteRrcSap::MasterInformationBlock mib)=0
TracedCallback< uint64_t, uint16_t, uint16_t, State, State > m_stateTransitionTrace
TracedCallback< uint64_t, uint16_t, uint16_t > m_handoverEndOkTrace
SystemInformationBlockType2 sourceSystemInformationBlockType2
Parameters passed to DataRadioBearerSetupRequest ()
void SetEpcX2SapProvider(EpcX2SapProvider *s)
Set the X2 SAP this RRC should interact with.
Both the RSRP and RSRQ quantities are to be included in the measurement report.
Template for the implementation of the EpcEnbS1SapUser as a member of an owner class of type C to whi...
This class implements the Service Access Point (SAP) between the LteEnbRrc and the EpcEnbApplication...
Simulation virtual time values and global simulation resolution.
Ptr< LteSignalingRadioBearerInfo > m_srb1
void SendHandoverRequest(uint16_t rnti, uint16_t cellId)
Send a HandoverRequest through the X2 SAP interface.
void SendSystemInformation()
method used to periodically send System Information
LteRrcSap::RadioResourceConfigDedicated GetRadioResourceConfigForHandoverPreparationInfo()
CarrierFreqEutra carrierFreq
smart pointer class similar to boost::intrusive_ptr
These service primitives of this part of the X2 SAP are provided by the X2 entity and issued by RRC e...
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
E-RABs admitted item as it is used in the HANDOVER REQUEST ACKNOWLEDGE message.
LteEnbRrc()
create an RRC instance for use within an eNB
uint16_t AddUe(UeManager::State state)
Allocate a new RNTI for a new UE.
Ptr< const AttributeChecker > MakeEnumChecker(int v1, std::string n1, int v2, std::string n2, int v3, std::string n3, int v4, std::string n4, int v5, std::string n5, int v6, std::string n6, int v7, std::string n7, int v8, std::string n8, int v9, std::string n9, int v10, std::string n10, int v11, std::string n11, int v12, std::string n12, int v13, std::string n13, int v14, std::string n14, int v15, std::string n15, int v16, std::string n16, int v17, std::string n17, int v18, std::string n18, int v19, std::string n19, int v20, std::string n20, int v21, std::string n21, int v22, std::string n22)
State
The state of the UeManager at the eNB RRC.
Reference Signal Received Quality.
void RecordDataRadioBearersToBeStarted()
Start all configured data radio bearers.
virtual void DoDispose()
This method is called by Object::Dispose or by the object's destructor, whichever comes first...
MeasConfig sourceMeasConfig
void RecvUeContextRelease(EpcX2SapUser::UeContextReleaseParams params)
Take the necessary actions in response to the reception of an X2 UE CONTEXT RELEASE message...
This class implements the Service Access Point (SAP) between the LteEnbRrc and the EpcEnbApplication...
void SetSource(uint16_t sourceCellId, uint16_t sourceX2apId)
Set the identifiers of the source eNB for the case where a UE joins the current eNB as part of a hand...
std::list< MeasObjectToAddMod > measObjectToAddModList
void RecvHandoverPreparationFailure(uint16_t cellId)
Take the necessary actions in response to the reception of an X2 HO preparation failure message...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register the class in the ns-3 factory.
void DoNotifyLcConfigResult(uint16_t rnti, uint8_t lcid, bool success)
uint8_t numberOfRaPreambles
uint8_t bearerId
the EPS Bearer Identifier
uint16_t m_rnti
UE id within this cell.
SoundingRsUlConfigDedicated soundingRsUlConfigDedicated
bool presenceAntennaPort1
virtual void SetEarfcn(uint16_t ulEarfcn, uint16_t dlEarfcn)=0
static TypeId GetTypeId(void)
void SetCellId(uint16_t m_cellId)
set the cell id of this eNB
uint8_t GetLogicalChannelGroup(EpsBearer bearer)
uint8_t m_transmissionMode
Transmission mode 1..7
void AddX2Neighbour(uint16_t cellId)
Add a neighbour with an X2 interface.
QuantityConfig quantityConfig
uint8_t Drbid2Bid(uint8_t drbid)
uint16_t txSn
TX sequence number.
uint16_t rnti
the RNTI identifying the UE for which the DataRadioBearer is to be created
bool m_admitHandoverRequest
Event A1: Serving becomes better than absolute threshold.
std::vector< CellMeasurementResultItem > cellMeasurementResultList
enum ns3::LteRrcSap::ReportConfigEutra::@75 reportQuantity
The quantities to be included in the measurement report, always assumed to be BOTH.
friend class EnbRrcMemberLteEnbCmacSapUser
std::list< MeasResultEutra > measResultListEutra
Parameters of the HANDOVER REQUEST message.
int8_t qRxLevMin
INTEGER (-70..-22), actual value = IE value * 2 [dBm].
Part of the RRC protocol.
ThresholdEutra threshold1
Threshold for event A1, A2, A4, and A5.
void DoRecvRrcConnectionReconfigurationCompleted(uint16_t rnti, LteRrcSap::RrcConnectionReconfigurationCompleted msg)
Part of the RRC protocol. Forwarding LteEnbRrcSapProvider::RecvRrcConnectionReconfigurationCompleted ...
Template for the implementation of the LteHandoverManagementSapUser as a member of an owner class of ...
Status variables of the PDCP.
Class for forwarding CMAC SAP User functions.
void AddPacketTag(const Tag &tag) const
Add a packet tag.
Specifies criteria for triggering of an E-UTRA measurement reporting event.
void SetCsgId(uint32_t csgId, bool csgIndication)
Associate this RRC entity with a particular CSG information.
uint16_t GetSrsConfigurationIndex(void) const
uint8_t raResponseWindowSize
uint8_t qci
QoS Class Identifier.
enum ns3::LteRrcSap::ReportConfigEutra::@72 eventId
Choice of E-UTRA event triggered reporting criteria.
static TypeId GetTypeId(void)
virtual ~LteEnbRrc()
Destructor.
LteRlcSapUser * srb0SapUser
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
std::list< SrbToAddMod > srbToAddModList
Hold a signed integer type.
uint8_t Lcid2Bid(uint8_t lcid)
virtual void SendHandoverPreparationFailure(HandoverPreparationFailureParams params)=0
void SetLteHandoverManagementSapProvider(LteHandoverManagementSapProvider *s)
set the Handover Management SAP this RRC should interact with
EpcX2SapUser * GetEpcX2SapUser()
Get the X2 SAP offered by this RRC.
RadioResourceConfigDedicated radioResourceConfigDedicated
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
void SetLteEnbCphySapProvider(LteEnbCphySapProvider *s)
set the CPHY SAP this RRC should use to interact with the PHY
bool m_needTransmissionModeConfiguration
uint16_t m_lastAllocatedRnti
uint16_t GetNewSrsConfigurationIndex(void)
Allocate a new SRS configuration index for a new UE.
void SetTypeId(TypeId tid)
std::list< BearerToBeSwitched > bearersToBeSwitched
uint32_t GetSize(void) const
Returns the the size in bytes of the packet (including the zero-filled initial payload).
LteEnbCmacSapUser * GetLteEnbCmacSapUser()
Get the CMAC SAP offered by this RRC.
uint8_t m_transmissionMode
Transmission mode 1..7
Tag used to define the RNTI and EPS bearer ID for packets interchanged between the EpcEnbApplication ...
uint8_t m_lastRrcTransactionIdentifier
uint16_t m_srsCurrentPeriodicityId
The LTE Radio Resource Control entity at the eNB.
void SetLteEnbRrcSapUser(LteEnbRrcSapUser *s)
set the RRC SAP this RRC should interact with
MeasObjectEutra measObjectEutra
uint16_t sourceUeIdentity
void SetLteEnbCmacSapProvider(LteEnbCmacSapProvider *s)
set the CMAC SAP this RRC should interact with
#define NS_LOG_INFO(msg)
Use NS_LOG to output a message of level LOG_INFO.
uint16_t DoAllocateTemporaryCellRnti()
#define NS_FATAL_ERROR(msg)
fatal error handling
Ptr< const AttributeAccessor > MakeObjectMapAccessor(U T::*memberContainer)
virtual uint16_t AllocateTemporaryCellRnti()
request the allocation of a Temporary C-RNTI
Service Access Point (SAP) offered by the UE PHY to the UE RRC for control purposes.
EpsBearer bearer
the characteristics of the bearer to be set up
The attribute can be written at construction-time.
Time m_handoverLeavingTimeoutDuration
LteRlcSapProvider * srb0SapProvider
uint64_t mbrDl
maximum bitrate in downlink
void SetBid(uint8_t bid)
Set the bearer id to the given value.
Ipv4Address transportLayerAddress
static EventId Schedule(Time const &time, MEM mem_ptr, OBJ obj)
Schedule an event to expire at the relative time "time" is reached.
uint8_t GetBid(void) const
Time m_connectionRejectedTimeoutDuration
LteMacSapProvider * m_macSapProvider
LteHandoverManagementSapUser * GetLteHandoverManagementSapUser()
Get the Handover Management SAP offered by this RRC.
LteEnbRrcSapProvider * m_rrcSapProvider
RachConfigDedicated rachConfigDedicated
uint16_t GetRnti(void) const
void RemoveSrsConfigurationIndex(uint16_t srcCi)
remove a previously allocated SRS configuration index
virtual void RrcConfigurationUpdateInd(UeConfig params)
Notify the RRC of a UE config updated requested by the MAC (normally, by the scheduler) ...
void SetImsi(uint64_t imsi)
Set the IMSI.
uint64_t ueAggregateMaxBitRateUplink
void SetRnti(uint16_t rnti)
void SetLteMacSapProvider(LteMacSapProvider *s)
set the MAC SAP provider.
void SendUeContextRelease()
send the UE CONTEXT RELEASE X2 message to the source eNB, thus successfully terminating an X2 handove...
LteRrcSap::RrcConnectionReconfiguration GetRrcConnectionReconfigurationForHandover()
void SwitchToState(State s)
Switch the UeManager to the given state.
static const std::string g_ueManagerStateName[UeManager::NUM_STATES]
void RecvRrcConnectionReconfigurationCompleted(LteRrcSap::RrcConnectionReconfigurationCompleted msg)
Part of the RRC protocol. Implement the LteEnbRrcSapProvider::RecvRrcConnectionReconfigurationComplet...
void ReleaseDataRadioBearer(uint8_t drbid)
Release a given radio bearer.
double GetPacketErrorLossRate() const
uint8_t AddDataRadioBearerInfo(Ptr< LteDataRadioBearerInfo > radioBearerInfo)
Add a new LteDataRadioBearerInfo structure to the UeManager.
EpcX2SapUser * m_x2SapUser
uint8_t m_rsrqFilterCoefficient
LteEnbRrcSapUser * m_rrcSapUser
bool haveRadioResourceConfigDedicated
EpcEnbS1SapProvider * m_s1SapProvider
LteRrcSap::SystemInformationBlockType1 m_sib1
the System Information Block Type 1 that is currently broadcasted over BCH
void SetForwardUpCallback(Callback< void, Ptr< Packet > > cb)
set the callback used to forward data packets up the stack
void DoRecvRrcConnectionSetupCompleted(uint16_t rnti, LteRrcSap::RrcConnectionSetupCompleted msg)
Part of the RRC protocol. Forwarding LteEnbRrcSapProvider::RecvRrcConnectionSetupCompleted interface ...
void DoRecvRrcConnectionReestablishmentComplete(uint16_t rnti, LteRrcSap::RrcConnectionReestablishmentComplete msg)
Part of the RRC protocol. Forwarding LteEnbRrcSapProvider::RecvRrcConnectionReestablishmentComplete i...
The attribute can be read.
LteHandoverManagementSapUser * m_handoverManagementSapUser
void DoCompleteSetupUe(uint16_t rnti, LteEnbRrcSapProvider::CompleteSetupUeParameters params)
Part of the RRC protocol. Forwarding LteEnbRrcSapProvider::CompleteSetupUe interface to UeManager::Co...
SystemInformationBlockType1 sourceSystemInformationBlockType1
TracedCallback< uint16_t, uint16_t > m_newUeContextTrace
uint8_t rrcTransactionIdentifier
Ptr< Packet > pdcpSdu
the RRC PDU
Service Access Point (SAP) offered by the MAC to the RRC See Femto Forum MAC Scheduler Interface Spec...
PreambleInfo preambleInfo
EventId m_connectionTimeout
LteEnbCmacSapUser * m_cmacSapUser
Ptr< UeManager > GetUeManager(uint16_t rnti)
Event A2: Serving becomes worse than absolute threshold.
Parameters for LtePdcpSapUser::ReceivePdcpSdu.
uint8_t lcId
logical channel identifier
This class contains the specification of EPS Bearers.
uint16_t m_rnti
UE id within this cell.
bool m_admitRrcConnectionRequest
uint16_t rnti
the C-RNTI identifying the UE
LtePdcpSapUser * m_drbPdcpSapUser
Event A4: Neighbour becomes better than absolute threshold.
uint8_t AddUeMeasReportConfig(LteRrcSap::ReportConfigEutra config)
Add a new UE measurement reporting configuration.
RSRP is used for the threshold.
EventId m_connectionRejectedTimeout
virtual void UeContextRelease(uint16_t rnti)=0
release UE context at the S1 Application of the source eNB after reception of the UE CONTEXT RELEASE ...
Event A5: PCell becomes worse than absolute threshold1 AND Neighbour becomes better than another abso...
hold variables of type 'enum'
LteRrcSap::RrcConnectionReconfiguration BuildRrcConnectionReconfiguration()
Ptr< LteSignalingRadioBearerInfo > m_srb0
void DoRecvRrcConnectionRequest(uint16_t rnti, LteRrcSap::RrcConnectionRequest msg)
Part of the RRC protocol. Forwarding LteEnbRrcSapProvider::RecvRrcConnectionRequest interface to UeMa...
uint64_t ueAggregateMaxBitRateDownlink
uint8_t epsBearerIdentity
hold objects of type ns3::Time
static TypeId GetTypeId(void)
void SetSrsConfigurationIndex(uint16_t srsConfIndex)
Set the SRS configuration index and do the necessary reconfiguration.
void DoTriggerHandover(uint16_t rnti, uint16_t targetCellId)
LogicalChannelConfig logicalChannelConfig
RachConfigCommon rachConfigCommon
Ptr< Object > Create(void) const
enum ns3::LteRrcSap::SoundingRsUlConfigDedicated::@69 type
ReportConfigEutra reportConfigEutra
TracedCallback< uint64_t, uint16_t, uint16_t > m_connectionEstablishedTrace
RSRQ is used for the threshold.
Parameters of the HANDOVER PREPARATION FAILURE message.
virtual bool GetNoHo(uint16_t cellId) const =0
Get the value of No HO field of a neighbouring cell from the Neighbour Relation Table (NRT)...
Hold an unsigned integer type.
Logical Channel information to be passed to CmacSapProvider::ConfigureLc.
virtual void SetCellId(uint16_t cellId)=0
GbrQosInformation gbrQosInfo
void DoPathSwitchRequestAcknowledge(EpcEnbS1SapUser::PathSwitchRequestAcknowledgeParameters params)
virtual void SetBandwidth(uint8_t ulBandwidth, uint8_t dlBandwidth)=0
virtual void NotifyLcConfigResult(uint16_t rnti, uint8_t lcid, bool success)
notify the result of the last LC config operation
std::vector< ErabAdmittedItem > admittedBearers
uint16_t rnti
the C-RNTI identifying the UE
std::list< MeasIdToAddMod > measIdToAddModList
bool haveRachConfigDedicated
Parameters of the SN STATUS TRANSFER message.
PhysicalConfigDedicated physicalConfigDedicated
LteEnbCphySapProvider * m_cphySapProvider
uint8_t filterCoefficientRSRP
Service Access Point (SAP) offered by the eNodeB RRC instance to the ANR instance.
Parameters for LtePdcpSapProvider::TransmitPdcpSdu.
uint32_t gtpTeid
S1-bearer GTP tunnel endpoint identifier, see 36.423 9.2.1.
Template for the implementation of the LteEnbCphySapUser as a member of an owner class of type C to w...
uint8_t Drbid2Lcid(uint8_t drbid)
LtePdcpSapProvider * srb1SapProvider
uint16_t rxSn
RX sequence number.
LteMacSapUser * GetLteMacSapUser()
void SendData(uint8_t bid, Ptr< Packet > p)
Send a data packet over the appropriate Data Radio Bearer.
uint8_t rrcTransactionIdentifier
std::set< uint8_t > m_handoverMeasIds
#define NS_LOG_LOGIC(msg)
Use NS_LOG to output a message of level LOG_LOGIC.
virtual RachConfig GetRachConfig()=0
RadioResourceConfigDedicated radioResourceConfigDedicated
void DoRecvUeContextRelease(EpcX2SapUser::UeContextReleaseParams params)
uint8_t m_lastAllocatedDrbid
uint8_t Bid2Lcid(uint8_t bid)
Parameters for [re]configuring the UE.
std::map< uint32_t, X2uTeidInfo > m_x2uTeidInfoMap
TracedCallback< uint64_t, uint16_t, uint16_t, LteRrcSap::MeasurementReport > m_recvMeasurementReportTrace
void SetRnti(uint16_t rnti)
Set the RNTI to the given value.
uint8_t numberOfRaPreambles
uint8_t m_rsrpFilterCoefficient
E-RABs to be setup item as it is used in the HANDOVER REQUEST message.
RadioResourceConfigDedicated sourceRadioResourceConfig
Part of the RRC protocol.
uint8_t DoAddUeMeasReportConfigForAnr(LteRrcSap::ReportConfigEutra reportConfig)
void SetupDataRadioBearer(EpsBearer bearer, uint8_t bearerId, uint32_t gtpTeid, Ipv4Address transportLayerAddress)
Setup a new data radio bearer, including both the configuration within the eNB and the necessary RRC ...
void RemoveDataRadioBearerInfo(uint8_t drbid)
remove the LteDataRadioBearerInfo corresponding to a bearer being released
static TypeId GetTypeId(void)
void RecvSnStatusTransfer(EpcX2SapUser::SnStatusTransferParams params)
Take the necessary actions in response to the reception of an X2 SN STATUS TRANSFER message...
EpcX2SapProvider * m_x2SapProvider
Parameters of the RESOURCE STATUS UPDATE message.
void ConnectionTimeout(uint16_t rnti)
Method triggered when a UE is expected to get connected but does not do so in a reasonable time...
Ptr< Packet > pdcpSdu
the RRC PDU
virtual void SendHandoverRequestAck(HandoverRequestAckParams params)=0
LteRrcSap::RadioResourceConfigDedicated BuildRadioResourceConfigDedicated()
void SetLteRlcSapUser(LteRlcSapUser *s)
uint16_t targetPhysCellId
enum ns3::EpsBearer::Qci qci
EventId m_handoverLeavingTimeout
enum ns3::LteRrcSap::ThresholdEutra::@70 choice
uint8_t lcGroup
logical channel group
Ptr< const TraceSourceAccessor > MakeTraceSourceAccessor(T a)
uint8_t rrcTransactionIdentifier
void SetLteAnrSapProvider(LteAnrSapProvider *s)
set the ANR SAP this RRC should interact with
bool haveMobilityControlInfo
Parameters of the UE CONTEXT RELEASE message.
EpsBearer erabLevelQosParameters
Parameters of the HANDOVER REQUEST ACKNOWLEDGE message.
void RecvRrcConnectionSetupCompleted(LteRrcSap::RrcConnectionSetupCompleted msg)
Part of the RRC protocol. Implement the LteEnbRrcSapProvider::RecvRrcConnectionSetupCompleted interfa...
RadioResourceConfigDedicated radioResourceConfigDedicated
std::list< uint8_t > m_drbsToBeStarted
void DoReceivePdcpSdu(LtePdcpSapUser::ReceivePdcpSduParameters params)
bool haveMeasResultNeighCells
uint8_t filterCoefficientRSRQ
static const uint16_t g_srsCiLow[SRS_ENTRIES]
uint8_t logicalChannelIdentity
Reference Signal Received Power.
TracedCallback< uint64_t, uint16_t, uint16_t, uint16_t > m_handoverStartTrace
LtePdcpSapUser * srb1SapUser
bool havePhysicalConfigDedicated
std::vector< EpcX2Sap::ErabToBeSetupItem > GetErabList()
virtual void SetSystemInformationBlockType1(LteRrcSap::SystemInformationBlockType1 sib1)=0
void ScheduleRrcConnectionReconfiguration()
schedule an RRC Connection Reconfiguration procedure with the UE
These service primitives of this part of the X2 SAP are provided by the RRC entity and issued by the ...
LteAnrSapUser * GetLteAnrSapUser()
Get the ANR SAP offered by this RRC.
Parameters for [re]configuring the UE.
bool haveSoundingRsUlConfigDedicated
Time m_systemInformationPeriodicity
LteEnbRrcSapProvider * GetLteEnbRrcSapProvider()
static Time Now(void)
Return the "current simulation time".
std::vector< ErabToBeSetupItem > bearers
uint8_t m_defaultTransmissionMode
void DoRecvResourceStatusUpdate(EpcX2SapUser::ResourceStatusUpdateParams params)
void SetLcId(uint8_t lcId)
void DoRecvUeData(EpcX2SapUser::UeDataParams params)
virtual void TransmitPdcpSdu(TransmitPdcpSduParameters params)=0
Send a RRC PDU to the RDCP for transmission This method is to be called when upper RRC entity has a R...
Ptr< const AttributeAccessor > MakeEnumAccessor(T1 a1)
RadioResourceConfigCommon radioResourceConfigCommon
uint64_t GetImsi(void) const
EnbRrcMemberLteEnbCmacSapUser(LteEnbRrc *rrc)
void PrepareHandover(uint16_t cellId)
Start the handover preparation and send the handover request.
CarrierBandwidthEutra carrierBandwidth
uint8_t DoAddUeMeasReportConfigForHandover(LteRrcSap::ReportConfigEutra reportConfig)
uint16_t GetRnti(void) const
void RecvRrcConnectionReestablishmentComplete(LteRrcSap::RrcConnectionReestablishmentComplete msg)
Part of the RRC protocol. Implement the LteEnbRrcSapProvider::RecvRrcConnectionReestablishmentComplet...
#define NS_ASSERT_MSG(condition, message)
At runtime, in debugging builds, if this condition is not true, the program prints the message to out...
EpcEnbS1SapUser * m_s1SapUser
std::set< uint16_t > m_ueSrsConfigurationIndexSet
void SetSrsPeriodicity(uint32_t p)
uint16_t rnti
C-RNTI identifying the UE.
virtual void DoDispose(void)
This method is called by Object::Dispose or by the object's destructor, whichever comes first...
TypeId GetRlcType(EpsBearer bearer)
LogicalChannelConfig logicalChannelConfig
enum ns3::LteRrcSap::ReportConfigEutra::@74 triggerQuantity
The quantities used to evaluate the triggering condition for the event, see 3GPP TS 36...
uint64_t mbrUl
maximum bitrate in uplink
void HandoverJoiningTimeout(uint16_t rnti)
Method triggered when a UE is expected to join the cell for a handover but does not do so in a reason...
RachConfigCommon rachConfigCommon
#define NS_ABORT_IF(cond)
Abnormal program termination if cond is true.
instantiate subclasses of ns3::Object.
Ipv4 addresses are stored in host order in this class.
uint64_t gbrUl
guaranteed bitrate in uplink
uint8_t raResponseWindowSize
bool haveCarrierBandwidth
Service Access Point (SAP) offered by the PDCP entity to the RRC entity See 3GPP 36.323 Packet Data Convergence Protocol (PDCP) specification.
bool haveAntennaInfoDedicated
static const std::string & ToString(EpcUeNas::State s)
LteAnrSapUser * m_anrSapUser
Template for the implementation of the LteEnbRrcSapProvider as a member of an owner class of type C t...
bool m_pendingRrcConnectionReconfiguration
std::vector< ErabNotAdmittedItem > notAdmittedBearers
Service Access Point (SAP) offered by the ANR instance to the eNodeB RRC instance.
void DoRrcConfigurationUpdateInd(LteEnbCmacSapUser::UeConfig params)
virtual void ConfigureMac(uint8_t ulBandwidth, uint8_t dlBandwidth)=0
struct defining the RACH configuration of the MAC
void DoRecvHandoverPreparationFailure(EpcX2SapUser::HandoverPreparationFailureParams params)
#define NS_LOG_WARN(msg)
Use NS_LOG to output a message of level LOG_WARN.
Service Access Point (SAP) offered by the handover algorithm instance to the eNodeB RRC instance...
void StartDataRadioBearers()
Start the data radio bearers that have been previously recorded to be started using RecordDataRadioBe...
virtual AllocateNcRaPreambleReturnValue AllocateNcRaPreamble(uint16_t rnti)=0
Allocate a random access preamble for non-contention based random access (e.g., for handover)...
static const uint16_t g_srsPeriodicity[SRS_ENTRIES]
EpcEnbS1SapUser * GetS1SapUser()
uint8_t allowedMeasBandwidth
std::list< DrbToAddMod > drbToAddModList
void RecvRrcConnectionReestablishmentRequest(LteRrcSap::RrcConnectionReestablishmentRequest msg)
Part of the RRC protocol. Implement the LteEnbRrcSapProvider::RecvRrcConnectionReestablishmentRequest...
bool RemovePacketTag(Tag &tag)
Remove a packet tag.
LteEnbCmacSapProvider * m_cmacSapProvider
LteRrcSap::PhysicalConfigDedicated m_physicalConfigDedicated
std::map< uint16_t, Ptr< UeManager > > m_ueMap
uint16_t sourceDlCarrierFreq
#define NS_LOG_DEBUG(msg)
Use NS_LOG to output a message of level LOG_DEBUG.
static const uint16_t g_srsCiHigh[SRS_ENTRIES]
uint16_t criticalityDiagnostics
virtual Ptr< Packet > EncodeHandoverCommand(RrcConnectionReconfiguration msg)=0
void RecvRrcConnectionRequest(LteRrcSap::RrcConnectionRequest msg)
Part of the RRC protocol. Implement the LteEnbRrcSapProvider::RecvRrcConnectionRequest interface...
void Cancel(void)
This method is syntactic sugar for the ns3::Simulator::cancel method.
Service Access Point (SAP) offered by the MAC to the RLC See Femto Forum MAC Scheduler Interface Spec...
std::map< uint8_t, Ptr< LteDataRadioBearerInfo > > m_drbMap
TracedCallback< uint64_t, uint16_t, uint16_t > m_connectionReconfigurationTrace
uint8_t GetLogicalChannelPriority(EpsBearer bearer)
uint8_t lcid
the logical channel id corresponding to the sending RLC instance
bool valid
true if a valid RA config was allocated, false otherwise
enum ns3::LteRrcSap::ReportConfigEutra::@73 purpose
uint8_t GetNewRrcTransactionIdentifier()
MobilityControlInfo mobilityControlInfo
Ptr< const AttributeChecker > MakeTimeChecker(const Time min, const Time max)
Helper to make a Time checker with bounded range.
void DoRecvSnStatusTransfer(EpcX2SapUser::SnStatusTransferParams params)
LteEnbCphySapUser * GetLteEnbCphySapUser()
void ConnectionRejectedTimeout(uint16_t rnti)
Method triggered a while after sending RRC Connection Rejected.
uint32_t GetSrsPeriodicity() const
Ptr< LteDataRadioBearerInfo > GetDataRadioBearerInfo(uint8_t drbid)
Template for the implementation of the LteAnrSapUser as a member of an owner class of type C to which...
AntennaInfoDedicated antennaInfo
Time m_handoverJoiningTimeoutDuration
LteRlcSapProvider * GetLteRlcSapProvider()
uint16_t m_lastAllocatedConfigurationIndex
virtual void SendSystemInformation(SystemInformation msg)=0
Send a SystemInformation message to all attached UEs during a system information acquisition procedur...
virtual void RemoveUe(uint16_t rnti)=0
remove the UE, e.g., after handover or termination of the RRC connection
void HandoverLeavingTimeout(uint16_t rnti)
Method triggered when a UE is expected to leave a cell for a handover but no feedback is received in ...
LTE RLC Acknowledged Mode (AM), see 3GPP TS 36.322.
LteHandoverManagementSapProvider * m_handoverManagementSapProvider
a base class which provides memory management and object aggregation
std::set< uint8_t > m_anrMeasIds
contain a set of ns3::Object pointers.
void ConfigureCell(uint8_t ulBandwidth, uint8_t dlBandwidth, uint16_t ulEarfcn, uint16_t dlEarfcn, uint16_t cellId)
Configure cell-specific parameters.
void DoRecvRrcConnectionReestablishmentRequest(uint16_t rnti, LteRrcSap::RrcConnectionReestablishmentRequest msg)
Part of the RRC protocol. Forwarding LteEnbRrcSapProvider::RecvRrcConnectionReestablishmentRequest in...
Service Access Point (SAP) offered by the eNB MAC to the eNB RRC See Femto Forum MAC Scheduler Interf...
Service Access Point (SAP) offered by the UE PHY to the UE RRC for control purposes.
void RemoveUe(uint16_t rnti)
remove a UE from the cell
uint64_t gbrDl
guaranteed bitrate in downlink
uint8_t lcid
the logical channel id corresponding to the sending RLC instance
void DoRecvMeasurementReport(uint16_t rnti, LteRrcSap::MeasurementReport msg)
Part of the RRC protocol. Forwarding LteEnbRrcSapProvider::RecvMeasurementReport interface to UeManag...
uint8_t raPreambleId
random access preamble id
void CmacUeConfigUpdateInd(LteEnbCmacSapUser::UeConfig cmacParams)
Parameters of the UE DATA primitive.
enum LteEpsBearerToRlcMapping_t m_epsBearerToRlcMapping
Ptr< T > GetObject(void) const
std::vector< ErabsSubjectToStatusTransferItem > erabsSubjectToStatusTransferList
void RecvMeasurementReport(LteRrcSap::MeasurementReport msg)
Part of the RRC protocol. Implement the LteEnbRrcSapProvider::RecvMeasurementReport interface...
This abstract base class defines the API to interact with the Radio Link Control (LTE_RLC) in LTE...
a unique identifier for an interface.
virtual bool GetNoX2(uint16_t cellId) const =0
Get the value of No X2 field of a neighbouring cell from the Neighbour Relation Table (NRT)...
std::list< ReportConfigToAddMod > reportConfigToAddModList
TypeId SetParent(TypeId tid)
std::list< uint8_t > drbToReleaseList
uint8_t Bid2Drbid(uint8_t bid)
static TypeId GetTypeId(void)
void SetS1SapProvider(EpcEnbS1SapProvider *s)
Set the S1 SAP Provider.
uint8_t Lcid2Drbid(uint8_t lcid)
virtual void RemoveUe(uint16_t rnti)=0
Remove an UE from the the cell.
LteEnbCphySapUser * m_cphySapUser
LteAnrSapProvider * m_anrSapProvider
Service Access Point (SAP) offered by the eNodeB RRC instance to the handover algorithm instance...
void DoDataRadioBearerSetupRequest(EpcEnbS1SapUser::DataRadioBearerSetupRequestParameters params)
void DoRecvLoadInformation(EpcX2SapUser::LoadInformationParams params)
RaSupervisionInfo raSupervisionInfo
void SetLteMacSapProvider(LteMacSapProvider *s)
void RecvHandoverRequestAck(EpcX2SapUser::HandoverRequestAckParams params)
take the necessary actions in response to the reception of an X2 HANDOVER REQUEST ACK message ...
bool SendData(Ptr< Packet > p)
Enqueue an IP data packet on the proper bearer for downlink transmission.
EventId m_handoverJoiningTimeout
bool isGbr
true if the bearer is GBR, false if the bearer is NON-GBR
Time m_connectionTimeoutDuration
void CompleteSetupUe(LteEnbRrcSapProvider::CompleteSetupUeParameters params)
Part of the RRC protocol. Implement the LteEnbRrcSapProvider::CompleteSetupUe interface.
virtual void DoInitialize()
This method is called only once by Object::Initialize.
MasterInformationBlock sourceMasterInformationBlock
LteRrcSap::MeasConfig m_ueMeasConfig
List of measurement configuration which are active in every UE attached to this eNodeB instance...
int8_t qQualMin
INTEGER (-34..-3), actual value = IE value [dB].
void DoRecvHandoverRequestAck(EpcX2SapUser::HandoverRequestAckParams params)
bool haveCellForWhichToReportCGI
ThresholdEutra threshold2
Threshold for event A5.
void DoRecvHandoverRequest(EpcX2SapUser::HandoverRequestParams params)