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",
134 : m_lastAllocatedDrbid (0),
137 m_lastRrcTransactionIdentifier (0),
140 m_pendingRrcConnectionReconfiguration (false),
143 m_needTransmissionModeConfiguration (false)
168 Ptr<LteRlc> rlc = CreateObject<LteRlcTm> ()->GetObject<LteRlc> ();
169 rlc->SetLteMacSapProvider (
m_rrc->m_macSapProvider);
173 m_srb0 = CreateObject<LteSignalingRadioBearerInfo> ();
175 m_srb0->m_srbIdentity = 0;
182 m_rrc->m_cmacSapProvider->AddLc (lcinfo, rlc->GetLteMacSapUser ());
190 Ptr<LteRlc> rlc = CreateObject<LteRlcAm> ()->GetObject<LteRlc> ();
191 rlc->SetLteMacSapProvider (
m_rrc->m_macSapProvider);
197 pdcp->SetLcId (lcid);
199 pdcp->SetLteRlcSapProvider (rlc->GetLteRlcSapProvider ());
200 rlc->SetLteRlcSapUser (pdcp->GetLteRlcSapUser ());
202 m_srb1 = CreateObject<LteSignalingRadioBearerInfo> ();
205 m_srb1->m_srbIdentity = 1;
206 m_srb1->m_logicalChannelConfig.priority = 0;
207 m_srb1->m_logicalChannelConfig.prioritizedBitRateKbps = 100;
208 m_srb1->m_logicalChannelConfig.bucketSizeDurationMs = 100;
209 m_srb1->m_logicalChannelConfig.logicalChannelGroup = 0;
221 m_rrc->m_cmacSapProvider->AddLc (lcinfo, rlc->GetLteMacSapUser ());
233 m_rrc->m_cmacSapProvider->UeUpdateConfigurationReq (req);
240 Time maxConnectionDelay;
276 m_rrc->m_x2uTeidInfoMap.erase (it->second->m_gtpTeid);
285 .AddConstructor<UeManager> ()
286 .AddAttribute (
"DataRadioBearerMap",
"List of UE DataRadioBearerInfo by DRBID.",
289 MakeObjectMapChecker<LteDataRadioBearerInfo> ())
290 .AddAttribute (
"Srb0",
"SignalingRadioBearerInfo for SRB0",
293 MakePointerChecker<LteSignalingRadioBearerInfo> ())
294 .AddAttribute (
"Srb1",
"SignalingRadioBearerInfo for SRB1",
297 MakePointerChecker<LteSignalingRadioBearerInfo> ())
298 .AddAttribute (
"C-RNTI",
299 "Cell Radio Network Temporary Identifier",
303 MakeUintegerChecker<uint16_t> ())
304 .AddTraceSource (
"StateTransition",
305 "fired upon every UE state transition seen by the UeManager at the eNB RRC",
333 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");
334 drbInfo->m_epsBearerIdentity = bid;
335 drbInfo->m_drbIdentity = drbid;
336 drbInfo->m_logicalChannelIdentity = lcid;
337 drbInfo->m_gtpTeid = gtpTeid;
338 drbInfo->m_transportLayerAddress = transportLayerAddress;
345 x2uTeidInfo.
drbid = drbid;
346 std::pair<std::map<uint32_t, LteEnbRrc::X2uTeidInfo>::iterator,
bool>
347 ret =
m_rrc->m_x2uTeidInfoMap.insert (std::pair<uint32_t, LteEnbRrc::X2uTeidInfo> (gtpTeid, x2uTeidInfo));
348 NS_ASSERT_MSG (ret.second ==
true,
"overwriting a pre-existing entry in m_x2uTeidInfoMap");
356 rlc->SetLteMacSapProvider (
m_rrc->m_macSapProvider);
357 rlc->SetRnti (m_rnti);
359 drbInfo->m_rlc = rlc;
368 pdcp->SetRnti (m_rnti);
369 pdcp->SetLcId (lcid);
371 pdcp->SetLteRlcSapProvider (rlc->GetLteRlcSapProvider ());
372 rlc->SetLteRlcSapUser (pdcp->GetLteRlcSapUser ());
373 drbInfo->m_pdcp = pdcp;
379 lcinfo.
lcGroup =
m_rrc->GetLogicalChannelGroup (bearer);
386 m_rrc->m_cmacSapProvider->AddLc (lcinfo, rlc->GetLteMacSapUser ());
397 drbInfo->m_logicalChannelIdentity = lcid;
398 drbInfo->m_logicalChannelConfig.priority =
m_rrc->GetLogicalChannelPriority (bearer);
399 drbInfo->m_logicalChannelConfig.logicalChannelGroup =
m_rrc->GetLogicalChannelGroup (bearer);
402 drbInfo->m_logicalChannelConfig.prioritizedBitRateKbps = bearer.
gbrQosInfo.
gbrUl;
406 drbInfo->m_logicalChannelConfig.prioritizedBitRateKbps = 0;
408 drbInfo->m_logicalChannelConfig.bucketSizeDurationMs = 1000;
433 std::map <uint8_t, Ptr<LteDataRadioBearerInfo> >::iterator drbIt =
m_drbMap.find (*drbIdIt);
435 drbIt->second->m_rlc->Initialize ();
436 if (drbIt->second->m_pdcp)
438 drbIt->second->m_pdcp->Initialize ();
450 std::map <uint8_t, Ptr<LteDataRadioBearerInfo> >::iterator it =
m_drbMap.find (drbid);
451 NS_ASSERT_MSG (it !=
m_drbMap.end (),
"request to remove radio bearer with unknown drbid " << drbid);
454 m_rrc->m_x2uTeidInfoMap.erase (it->second->m_gtpTeid);
457 m_rrc->m_cmacSapProvider->ReleaseLc (
m_rnti, lcid);
467 m_rrc->m_rrcSapUser->SendRrcConnectionReconfiguration (
m_rnti, msg);
492 m_rrc->m_rrcSapUser->SendRrcConnectionReconfiguration (
m_rnti, msg);
540 params.
rrcContext =
m_rrc->m_rrcSapUser->EncodeHandoverPreparationInformation (hpi);
548 m_rrc->m_x2SapProvider->SendHandoverRequest (params);
576 m_rrc->m_rrcSapUser->SendRrcConnectionReconfiguration (
m_rnti, handoverCommand);
594 if (0 != drbIt->second->m_rlc->GetObject<
LteRlcAm> ())
603 m_rrc->m_x2SapProvider->SendSnStatusTransfer (sst);
640 NS_LOG_LOGIC (
"queueing data on PDCP for transmission over the air");
653 NS_LOG_LOGIC (
"forwarding data to target eNB over X2-U");
660 m_rrc->m_x2SapProvider->SendUeData (params);
670 std::vector<EpcX2Sap::ErabToBeSetupItem>
674 std::vector<EpcX2Sap::ErabToBeSetupItem> ret;
680 etbsi.
erabId = it->second->m_epsBearerIdentity;
684 etbsi.
gtpTeid = it->second->m_gtpTeid;
685 ret.push_back (etbsi);
697 NS_LOG_INFO (
"Send UE CONTEXT RELEASE from target eNB to source eNB");
702 m_rrc->m_x2SapProvider->SendUeContextRelease (ueCtxReleaseParams);
721 NS_LOG_INFO (
"target eNB sent HO preparation failure, aborting HO");
735 for (std::vector<EpcX2Sap::ErabsSubjectToStatusTransferItem>::iterator erabIt
777 if (
m_rrc->m_admitRrcConnectionRequest ==
true)
781 if (
m_rrc->m_s1SapProvider != 0)
788 m_rrc->m_rrcSapUser->SendRrcConnectionSetup (
m_rnti, msg2);
798 m_rrc->m_rrcSapUser->SendRrcConnectionReject (
m_rnti, rejectMsg);
845 m_rrc->m_cmacSapProvider->UeUpdateConfigurationReq (req);
863 NS_LOG_INFO (
"Send PATH SWITCH REQUEST to the MME");
875 b.
teid = it->second->m_gtpTeid;
878 m_rrc->m_s1SapProvider->PathSwitchRequest (params);
909 m_rrc->m_rrcSapUser->SendRrcConnectionReestablishment (
m_rnti, msg2);
937 <<
" RSRP " << (it->haveRsrpResult ? (uint16_t) it->rsrpResult : 255)
938 <<
" RSRQ " << (it->haveRsrqResult ? (uint16_t) it->rsrqResult : 255));
941 if ((
m_rrc->m_handoverManagementSapProvider != 0)
942 && (
m_rrc->m_handoverMeasIds.find (measId) !=
m_rrc->m_handoverMeasIds.end ()))
945 m_rrc->m_handoverManagementSapProvider->ReportUeMeas (
m_rnti,
949 if ((
m_rrc->m_anrSapProvider != 0)
950 && (
m_rrc->m_anrMeasIds.find (measId) !=
m_rrc->m_anrMeasIds.end ()))
1020 m_rrc->m_cphySapProvider->SetSrsConfigurationIndex (
m_rnti, srsConfIndex);
1044 const uint8_t MAX_DRB_ID = 32;
1047 drbid = (drbid + 1) % MAX_DRB_ID)
1054 drbInfo->m_drbIdentity = drbid;
1069 std::map<uint8_t, Ptr<LteDataRadioBearerInfo> >::iterator it =
m_drbMap.find (drbid);
1079 std::map <uint8_t, Ptr<LteDataRadioBearerInfo> >::iterator it =
m_drbMap.find (drbid);
1080 NS_ASSERT_MSG (it !=
m_drbMap.end (),
"request to remove radio bearer with unknown drbid " << drbid);
1119 dtam.
rlcConfig = it->second->m_rlcConfig;
1227 : m_x2SapProvider (0),
1228 m_cmacSapProvider (0),
1229 m_handoverManagementSapProvider (0),
1230 m_anrSapProvider (0),
1232 m_macSapProvider (0),
1233 m_s1SapProvider (0),
1234 m_cphySapProvider (0),
1235 m_configured (false),
1236 m_lastAllocatedRnti (0),
1237 m_srsCurrentPeriodicityId (0),
1238 m_lastAllocatedConfigurationIndex (0),
1239 m_reconfigureUes (false)
1278 .AddConstructor<LteEnbRrc> ()
1279 .AddAttribute (
"UeMap",
"List of UeManager by C-RNTI.",
1282 MakeObjectMapChecker<UeManager> ())
1283 .AddAttribute (
"DefaultTransmissionMode",
1284 "The default UEs' transmission mode (0: SISO)",
1287 MakeUintegerChecker<uint8_t> ())
1288 .AddAttribute (
"EpsBearerToRlcMapping",
1289 "Specify which type of RLC will be used for each type of EPS bearer. ",
1296 .AddAttribute (
"SystemInformationPeriodicity",
1297 "The interval for sending system information (Time value)",
1303 .AddAttribute (
"SrsPeriodicity",
1304 "The SRS periodicity in milliseconds",
1308 MakeUintegerChecker<uint32_t> ())
1311 .AddAttribute (
"ConnectionTimeoutDuration",
1312 "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.",
1316 .AddAttribute (
"ConnectionRejectedTimeoutDuration",
1317 "Time to wait between sending a RRC CONNECTION REJECT and destroying the UE context",
1321 .AddAttribute (
"HandoverJoiningTimeoutDuration",
1322 "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.",
1326 .AddAttribute (
"HandoverLeavingTimeoutDuration",
1327 "After issuing a Handover Command, if neither RRC Connection Reestablishment nor X2 UE Context Release has been previously received, the UE context is destroyed.",
1333 .AddAttribute (
"QRxLevMin",
1334 "One of information transmitted within the SIB1 message, "
1335 "indicating the required minimum RSRP level that any UE must "
1336 "receive from this cell before it is allowed to camp to this "
1337 "cell. The default value -70 corresponds to -140 dBm and is "
1338 "the lowest possible value as defined by Section 6.3.4 of "
1339 "3GPP TS 36.133. This restriction, however, only applies to "
1340 "initial cell selection and EPC-enabled simulation.",
1344 MakeIntegerChecker<int8_t> (-70, -22))
1347 .AddAttribute (
"AdmitHandoverRequest",
1348 "Whether to admit an X2 handover request from another eNB",
1351 MakeBooleanChecker ())
1352 .AddAttribute (
"AdmitRrcConnectionRequest",
1353 "Whether to admit a connection request from a UE",
1356 MakeBooleanChecker ())
1359 .AddAttribute (
"RsrpFilterCoefficient",
1360 "Determines the strength of smoothing effect induced by "
1361 "layer 3 filtering of RSRP in all attached UE; "
1362 "if set to 0, no layer 3 filtering is applicable",
1366 MakeUintegerChecker<uint8_t> (0))
1367 .AddAttribute (
"RsrqFilterCoefficient",
1368 "Determines the strength of smoothing effect induced by "
1369 "layer 3 filtering of RSRQ in all attached UE; "
1370 "if set to 0, no layer 3 filtering is applicable",
1374 MakeUintegerChecker<uint8_t> (0))
1377 .AddTraceSource (
"NewUeContext",
1378 "trace fired upon creation of a new UE context",
1380 .AddTraceSource (
"ConnectionEstablished",
1381 "trace fired upon successful RRC connection establishment",
1383 .AddTraceSource (
"ConnectionReconfiguration",
1384 "trace fired upon RRC connection reconfiguration",
1386 .AddTraceSource (
"HandoverStart",
1387 "trace fired upon start of a handover procedure",
1389 .AddTraceSource (
"HandoverEndOk",
1390 "trace fired upon successful termination of a handover procedure",
1392 .AddTraceSource (
"RecvMeasurementReport",
1393 "trace fired when measurement report is received",
1508 std::map<uint16_t, Ptr<UeManager> >::iterator it =
m_ueMap.find (rnti);
1521 "Measurement identities and reporting configuration should not have different quantity");
1525 NS_FATAL_ERROR (
"AddUeMeasReportConfig may not be called after the simulation has run");
1536 NS_FATAL_ERROR (
"The given triggerQuantity (RSRP) does not match with the given threshold2.choice");
1545 NS_FATAL_ERROR (
"The given triggerQuantity (RSRP) does not match with the given threshold1.choice");
1553 NS_FATAL_ERROR (
"The given triggerQuantity (RSRQ) does not match with the given threshold2.choice");
1562 NS_FATAL_ERROR (
"The given triggerQuantity (RSRQ) does not match with the given threshold1.choice");
1573 NS_FATAL_ERROR (
"Only REPORT_STRONGEST_CELLS purpose is supported");
1578 NS_LOG_WARN (
"reportQuantity = BOTH will be used instead of the given reportQuantity");
1603 uint16_t ulEarfcn, uint16_t dlEarfcn, uint16_t cellId)
1605 NS_LOG_FUNCTION (
this << (uint16_t) ulBandwidth << (uint16_t) dlBandwidth
1606 << ulEarfcn << dlEarfcn << cellId);
1685 NS_ASSERT_MSG (found,
"no EpsBearerTag found in packet to be sent");
1687 ueManager->SendData (tag.
GetBid (), packet);
1742 ueManager->PrepareHandover (cellId);
1764 GetUeManager (rnti)->RecvRrcConnectionSetupCompleted (msg);
1771 GetUeManager (rnti)->RecvRrcConnectionReconfigurationCompleted (msg);
1778 GetUeManager (rnti)->RecvRrcConnectionReestablishmentRequest (msg);
1785 GetUeManager (rnti)->RecvRrcConnectionReestablishmentComplete (msg);
1806 ueManager->SendUeContextRelease ();
1838 if (anrcrv.
valid ==
false)
1840 NS_LOG_INFO (
this <<
"failed to allocate a preamble for non-contention based RA => cannot accept HO");
1842 NS_FATAL_ERROR (
"should trigger HO Preparation Failure, but it is not implemented");
1856 for (std::vector <EpcX2Sap::ErabToBeSetupItem>::iterator it = req.
bearers.begin ();
1860 ueManager->SetupDataRadioBearer (it->erabLevelQosParameters, it->erabId, it->gtpTeid, it->transportLayerAddress);
1887 ackParams.
rrcContext = encodedHandoverCommand;
1889 NS_LOG_LOGIC (
"Send X2 message: HANDOVER REQUEST ACK");
1904 NS_LOG_LOGIC (
"Recv X2 message: HANDOVER REQUEST ACK");
1913 ueManager->RecvHandoverRequestAck (params);
1921 NS_LOG_LOGIC (
"Recv X2 message: HANDOVER PREPARATION FAILURE");
1931 ueManager->RecvHandoverPreparationFailure (params.
targetCellId);
1947 ueManager->RecvSnStatusTransfer (params);
1974 NS_ASSERT (
"Processing of LOAD INFORMATION X2 message IS NOT IMPLEMENTED");
1982 NS_LOG_LOGIC (
"Recv X2 message: RESOURCE STATUS UPDATE");
1986 NS_ASSERT (
"Processing of RESOURCE STATUS UPDATE X2 message IS NOT IMPLEMENTED");
1994 NS_LOG_LOGIC (
"Recv UE DATA FORWARDING through X2 interface");
2001 std::map<uint32_t, X2uTeidInfo>::iterator
2005 GetUeManager (teidInfoIt->second.rnti)->SendData (teidInfoIt->second.drbid, params.
ueData);
2025 ueManager->CmacUeConfigUpdateInd (cmacParams);
2050 bool isHandoverAllowed =
true;
2058 <<
" targetCellId=" << targetCellId
2059 <<
" NRT.NoHo=" << noHo <<
" NRT.NoX2=" << noX2);
2063 isHandoverAllowed =
false;
2064 NS_LOG_LOGIC (
this <<
" handover to cell " << targetCellId
2065 <<
" is not allowed by ANR");
2070 NS_ASSERT_MSG (ueManager != 0,
"Cannot find UE context with RNTI " << rnti);
2074 isHandoverAllowed =
false;
2075 NS_LOG_LOGIC (
this <<
" handover is not allowed because the UE"
2076 <<
" rnti=" << rnti <<
" is in "
2077 <<
ToString (ueManager->GetState ()) <<
" state");
2080 if (isHandoverAllowed)
2083 ueManager->PrepareHandover (targetCellId);
2115 NS_ASSERT_MSG (found,
"no more RNTIs available (do you have more than 65535 UEs in a cell?)");
2117 Ptr<UeManager> ueManager = CreateObject<UeManager> (
this, rnti, state);
2119 ueManager->Initialize ();
2120 NS_LOG_DEBUG (
this <<
" New UE RNTI " << rnti <<
" cellId " <<
m_cellId <<
" srs CI " << ueManager->GetSrsConfigurationIndex ());
2129 std::map <uint16_t, Ptr<UeManager> >::iterator it =
m_ueMap.find (rnti);
2131 uint16_t srsCi = (*it).second->GetSrsConfigurationIndex ();
2218 std::ostringstream allowedValues;
2223 NS_FATAL_ERROR (
"illecit SRS periodicity value " << p <<
". Allowed values: " << allowedValues.str ());
2247 <<
") for current SRS periodicity "
2249 <<
", consider increasing the value of ns3::LteEnbRrc::SrsPeriodicity");
2264 if ((*rit) <
g_srsCiHigh[m_srsCurrentPeriodicityId])
2302 if (bearer.
IsGbr ())
virtual void AddNeighbourRelation(uint16_t cellId)=0
Add a new Neighbour Relation entry.
enum ns3::LteRrcSap::ReportConfigEutra::@73 reportQuantity
The quantities to be included in the measurement report, always assumed to be BOTH.
Callback< void, Ptr< Packet > > m_forwardUpCallback
Ipv4Address transportLayerAddress
IP Address of the SGW, see 36.423 9.2.1.
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.
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...
keep track of time values and allow control of global simulation resolution
Ptr< LteSignalingRadioBearerInfo > m_srb1
void SendHandoverRequest(uint16_t rnti, uint16_t cellId)
Send a HandoverRequest through the X2 SAP interface.
uint16_t g_srsPeriodicity[SRS_ENTRIES]
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)
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.
void RecordDataRadioBearersToBeStarted()
Start all configured data radio bearers.
RSRP is used for the threshold.
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...
NS_LOG_COMPONENT_DEFINE("LteEnbRrc")
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)
enum ns3::LteRrcSap::ReportConfigEutra::@70 eventId
Choice of E-UTRA event triggered reporting criteria.
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
std::vector< CellMeasurementResultItem > cellMeasurementResultList
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.
static TypeId GetTypeId(void)
virtual ~LteEnbRrc()
Destructor.
LteRlcSapUser * srb0SapUser
#define NS_ASSERT(condition)
std::list< SrbToAddMod > srbToAddModList
Hold a signed integer type.
uint8_t Lcid2Bid(uint8_t lcid)
NS_OBJECT_ENSURE_REGISTERED(NullMessageSimulatorImpl)
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
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
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
uint16_t DoAllocateTemporaryCellRnti()
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 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.
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.
#define NS_FATAL_ERROR(msg)
fatal error handling
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
enum ns3::LteRrcSap::ReportConfigEutra::@71 purpose
LteEnbCmacSapUser * m_cmacSapUser
Ptr< UeManager > GetUeManager(uint16_t rnti)
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
uint8_t AddUeMeasReportConfig(LteRrcSap::ReportConfigEutra config)
Add a new UE measurement reporting configuration.
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 ...
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
ReportConfigEutra reportConfigEutra
TracedCallback< uint64_t, uint16_t, uint16_t > m_connectionEstablishedTrace
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
Both the RSRP and RSRQ quantities are to be included in the measurement report.
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.
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)
virtual RachConfig GetRachConfig()=0
RadioResourceConfigDedicated radioResourceConfigDedicated
void DoRecvUeContextRelease(EpcX2SapUser::UeContextReleaseParams params)
#define NS_ABORT_IF(cond)
Abnormal program termination if cond is true.
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
Event A2: Serving becomes worse than absolute threshold.
const char * g_ueManagerStateName[UeManager::NUM_STATES]
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()
uint16_t targetPhysCellId
enum ns3::EpsBearer::Qci qci
EventId m_handoverLeavingTimeout
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
uint8_t logicalChannelIdentity
TracedCallback< uint64_t, uint16_t, uint16_t, uint16_t > m_handoverStartTrace
LtePdcpSapUser * srb1SapUser
uint16_t g_srsCiLow[SRS_ENTRIES]
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
Reference Signal Received Quality.
uint8_t m_defaultTransmissionMode
void DoRecvResourceStatusUpdate(EpcX2SapUser::ResourceStatusUpdateParams params)
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)
Event A5: PCell becomes worse than absolute threshold1 AND Neighbour becomes better than another abso...
enum ns3::LteRrcSap::ReportConfigEutra::@72 triggerQuantity
The quantities used to evaluate the triggering condition for the event, see 3GPP TS 36...
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)
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
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
uint16_t g_srsCiHigh[SRS_ENTRIES]
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
std::string ToString(EpcUeNas::State s)
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
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)
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...
enum ns3::LteRrcSap::ThresholdEutra::@68 choice
virtual AllocateNcRaPreambleReturnValue AllocateNcRaPreamble(uint16_t rnti)=0
Allocate a random access preamble for non-contention based random access (e.g., for handover)...
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)
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
Event A4: Neighbour becomes better than absolute threshold.
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)
Reference Signal Received Power.
Template for the implementation of the LteAnrSapUser as a member of an owner class of type C to which...
AntennaInfoDedicated antennaInfo
Time m_handoverJoiningTimeoutDuration
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...
enum ns3::LteRrcSap::SoundingRsUlConfigDedicated::@67 type
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 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].
RSRQ is used for the threshold.
Event A1: Serving becomes better than absolute threshold.
void DoRecvHandoverRequestAck(EpcX2SapUser::HandoverRequestAckParams params)
bool haveCellForWhichToReportCGI
ThresholdEutra threshold2
Threshold for event A5.
void DoRecvHandoverRequest(EpcX2SapUser::HandoverRequestParams params)