#include "lte-ue-mac.h"
Classes | |
struct | LcInfo |
LcInfo structure. More... | |
Public Types | |
typedef void(* | RaResponseTimeoutTracedCallback) (uint64_t imsi, bool contention, uint8_t preambleTxCounter, uint8_t maxPreambleTxLimit) |
TracedCallback signature for RA response timeout events exporting IMSI, contention flag, preamble transmission counter and the max limit of preamble transmission. | |
Public Member Functions | |
LteUeMac () | |
~LteUeMac () override | |
int64_t | AssignStreams (int64_t stream) |
Assign a fixed random variable stream number to the random variables used by this model. | |
void | DoDispose () override |
Destructor implementation. | |
void | DoSubframeIndication (uint32_t frameNo, uint32_t subframeNo) |
Forwarded from LteUePhySapUser: trigger the start from a new frame. | |
LteMacSapProvider * | GetLteMacSapProvider () |
Get the LTE MAC SAP provider. | |
LteUeCmacSapProvider * | GetLteUeCmacSapProvider () |
Get the LTE CMAC SAP provider. | |
LteUePhySapUser * | GetLteUePhySapUser () |
Get the PHY SAP user. | |
void | SetComponentCarrierId (uint8_t index) |
Set the component carried ID. | |
void | SetLteUeCmacSapUser (LteUeCmacSapUser *s) |
Set the LTE UE CMAC SAP user. | |
void | SetLteUePhySapProvider (LteUePhySapProvider *s) |
Set the PHY SAP Provider. | |
Public Member Functions inherited from ns3::Object | |
Object () | |
Constructor. | |
~Object () override | |
Destructor. | |
void | AggregateObject (Ptr< Object > other) |
Aggregate two Objects together. | |
void | Dispose () |
Dispose of this Object. | |
AggregateIterator | GetAggregateIterator () const |
Get an iterator to the Objects aggregated to this one. | |
TypeId | GetInstanceTypeId () const override |
Get the most derived TypeId for this Object. | |
template<typename T > | |
Ptr< T > | GetObject () const |
Get a pointer to the requested aggregated Object. | |
template<> | |
Ptr< Object > | GetObject () const |
Specialization of () for objects of type ns3::Object. | |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
Get a pointer to the requested aggregated Object by TypeId. | |
template<> | |
Ptr< Object > | GetObject (TypeId tid) const |
Specialization of (TypeId tid) for objects of type ns3::Object. | |
void | Initialize () |
Invoke DoInitialize on all Objects aggregated to this one. | |
bool | IsInitialized () const |
Check if the object has been initialized. | |
void | UnidirectionalAggregateObject (Ptr< Object > other) |
Aggregate an Object to another Object. | |
Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
SimpleRefCount () | |
Default constructor. | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. | |
uint32_t | GetReferenceCount () const |
Get the reference count of the object. | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment operator. | |
void | Ref () const |
Increment the reference count. | |
void | Unref () const |
Decrement the reference count. | |
Public Member Functions inherited from ns3::ObjectBase | |
virtual | ~ObjectBase () |
Virtual destructor. | |
void | GetAttribute (std::string name, AttributeValue &value, bool permissive=false) const |
Get the value of an attribute, raising fatal errors if unsuccessful. | |
bool | GetAttributeFailSafe (std::string name, AttributeValue &value) const |
Get the value of an attribute without raising errors. | |
void | SetAttribute (std::string name, const AttributeValue &value) |
Set a single attribute, raising fatal errors if unsuccessful. | |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
Set a single attribute without raising errors. | |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
Connect a TraceSource to a Callback with a context. | |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
Connect a TraceSource to a Callback without a context. | |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected with a context. | |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected without a context. | |
Static Public Member Functions | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::Object | |
static TypeId | GetTypeId () |
Register this type. | |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId () |
Get the type ID. | |
Private Member Functions | |
void | DoAddLc (uint8_t lcId, LteUeCmacSapProvider::LogicalChannelConfig lcConfig, LteMacSapUser *msu) |
Add LC function. | |
void | DoConfigureRach (LteUeCmacSapProvider::RachConfig rc) |
Configure RACH function. | |
void | DoNotifyConnectionSuccessful () |
Notify MAC about the successful RRC connection establishment. | |
void | DoReceiveLteControlMessage (Ptr< LteControlMessage > msg) |
Receive LTE control message function. | |
void | DoReceivePhyPdu (Ptr< Packet > p) |
Receive Phy PDU function. | |
void | DoRemoveLc (uint8_t lcId) |
Remove LC function. | |
void | DoReportBufferStatus (LteMacSapProvider::ReportBufferStatusParameters params) |
Report buffers status function. | |
void | DoReset () |
Reset function. | |
void | DoSetImsi (uint64_t imsi) |
Set IMSI. | |
void | DoSetRnti (uint16_t rnti) |
Set RNTI. | |
void | DoStartContentionBasedRandomAccessProcedure () |
Start contention based random access procedure function. | |
void | DoStartNonContentionBasedRandomAccessProcedure (uint16_t rnti, uint8_t rapId, uint8_t prachMask) |
Start non contention based random access procedure function. | |
void | DoTransmitPdu (LteMacSapProvider::TransmitPduParameters params) |
Transmit PDU function. | |
void | RandomlySelectAndSendRaPreamble () |
Randomly select and send RA preamble function. | |
void | RaResponseTimeout (bool contention) |
RA response timeout function. | |
void | RecvRaResponse (BuildRarListElement_s raResponse) |
Receive the RA response function. | |
void | RefreshHarqProcessesPacketBuffer () |
Refresh HARQ processes packet buffer function. | |
void | SendRaPreamble (bool contention) |
Send RA preamble function. | |
void | SendReportBufferStatus () |
Send report buffer status. | |
void | StartWaitingForRaResponse () |
Start waiting for RA response function. | |
Private Attributes | |
uint16_t | m_backoffParameter |
backoff parameter | |
Time | m_bsrLast |
BSR last. | |
Time | m_bsrPeriodicity |
BSR periodicity. | |
LteUeCmacSapProvider * | m_cmacSapProvider |
CMAC SAP provider. | |
LteUeCmacSapUser * | m_cmacSapUser |
CMAC SAP user. | |
uint8_t | m_componentCarrierId |
component carrier Id --> used to address sap | |
uint32_t | m_frameNo |
frame number | |
bool | m_freshUlBsr |
true when a BSR has been received in the last TTI | |
uint8_t | m_harqProcessId |
HARQ process ID. | |
uint16_t | m_imsi |
IMSI. | |
std::map< uint8_t, LcInfo > | m_lcInfoMap |
logical channel info map | |
LteMacSapProvider * | m_macSapProvider |
MAC SAP provider. | |
std::vector< Ptr< PacketBurst > > | m_miUlHarqProcessesPacket |
Packets under transmission of the UL HARQ processes. | |
std::vector< uint8_t > | m_miUlHarqProcessesPacketTimer |
timer for packet life in the buffer | |
EventId | m_noRaResponseReceivedEvent |
no RA response received event ID | |
uint8_t | m_preambleTransmissionCounter |
preamble tranamission counter | |
LteUeCmacSapProvider::RachConfig | m_rachConfig |
RACH configuration. | |
bool | m_rachConfigured |
is RACH configured? | |
uint8_t | m_raPreambleId |
RA preamble ID. | |
Ptr< UniformRandomVariable > | m_raPreambleUniformVariable |
RA preamble random variable. | |
TracedCallback< uint64_t, bool, uint8_t, uint8_t > | m_raResponseTimeoutTrace |
The RaResponseTimeout trace source. | |
uint8_t | m_raRnti |
RA RNTI. | |
uint16_t | m_rnti |
RNTI. | |
uint32_t | m_subframeNo |
subframe number | |
LteUePhySapProvider * | m_uePhySapProvider |
UE Phy SAP provider. | |
LteUePhySapUser * | m_uePhySapUser |
UE Phy SAP user. | |
std::map< uint8_t, LteMacSapProvider::ReportBufferStatusParameters > | m_ulBsrReceived |
BSR received from RLC (the last one) | |
bool | m_waitingForRaResponse |
waiting for RA response | |
Friends | |
class | UeMemberLteMacSapProvider |
allow UeMemberLteMacSapProvider class friend access | |
class | UeMemberLteUeCmacSapProvider |
allow UeMemberLteUeCmacSapProvider class friend access | |
class | UeMemberLteUePhySapUser |
allow UeMemberLteUePhySapUser class friend access | |
Additional Inherited Members | |
Protected Member Functions inherited from ns3::Object | |
Object (const Object &o) | |
Copy an Object. | |
virtual void | DoInitialize () |
Initialize() implementation. | |
virtual void | NotifyNewAggregate () |
Notify all Objects aggregated to this one of a new Object being aggregated. | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
Complete construction of ObjectBase; invoked by derived classes. | |
virtual void | NotifyConstructionCompleted () |
Notifier called once the ObjectBase is fully constructed. | |
Related Symbols inherited from ns3::ObjectBase | |
static TypeId | GetObjectIid () |
Ensure the TypeId for ObjectBase gets fully configured to anchor the inheritance tree properly. | |
ns3::LteUeMac is accessible through the following paths with Config::Set and Config::Connect:
No Attributes are defined for this type.
Group: Lte
Size of this type is 352 bytes (on a 64-bit architecture).
Definition at line 32 of file lte-ue-mac.h.
typedef void(* ns3::LteUeMac::RaResponseTimeoutTracedCallback) (uint64_t imsi, bool contention, uint8_t preambleTxCounter, uint8_t maxPreambleTxLimit) |
TracedCallback signature for RA response timeout events exporting IMSI, contention flag, preamble transmission counter and the max limit of preamble transmission.
[in] | imsi | |
[in] | contention | |
[in] | preambleTxCounter | |
[in] | maxPreambleTxLimit |
Definition at line 62 of file lte-ue-mac.h.
ns3::LteUeMac::LteUeMac | ( | ) |
Definition at line 228 of file lte-ue-mac.cc.
References ns3::CreateObject(), HARQ_PERIOD, m_cmacSapProvider, m_componentCarrierId, m_macSapProvider, m_miUlHarqProcessesPacket, m_miUlHarqProcessesPacketTimer, m_raPreambleUniformVariable, m_uePhySapUser, NS_LOG_FUNCTION, UeMemberLteMacSapProvider, UeMemberLteUeCmacSapProvider, and UeMemberLteUePhySapUser.
|
override |
Definition at line 255 of file lte-ue-mac.cc.
References NS_LOG_FUNCTION.
int64_t ns3::LteUeMac::AssignStreams | ( | int64_t | stream | ) |
Assign a fixed random variable stream number to the random variables used by this model.
Return the number of streams (possibly zero) that have been assigned.
stream | first stream index to use |
Definition at line 916 of file lte-ue-mac.cc.
References m_raPreambleUniformVariable, and NS_LOG_FUNCTION.
|
private |
Add LC function.
lcId | the LCID |
lcConfig | the logical channel config |
msu | the MSU |
Definition at line 556 of file lte-ue-mac.cc.
References ns3::LteUeMac::LcInfo::lcConfig, m_lcInfoMap, ns3::LteUeMac::LcInfo::macSapUser, NS_ASSERT_MSG, and NS_LOG_FUNCTION.
Referenced by ns3::UeMemberLteUeCmacSapProvider::AddLc().
|
private |
Configure RACH function.
rc | LteUeCmacSapProvider::RachConfig |
Definition at line 506 of file lte-ue-mac.cc.
References m_rachConfig, m_rachConfigured, and NS_LOG_FUNCTION.
Referenced by ns3::UeMemberLteUeCmacSapProvider::ConfigureRach().
|
overridevirtual |
Destructor implementation.
This method is called by Dispose() or by the Object's destructor, whichever comes first.
Subclasses are expected to implement their real destruction code in an overridden version of this method and chain up to their parent's implementation once they are done. i.e, for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose() method.
It is safe to call GetObject() from within this method.
Reimplemented from ns3::Object.
Definition at line 261 of file lte-ue-mac.cc.
References ns3::Object::DoDispose(), m_cmacSapProvider, m_macSapProvider, m_miUlHarqProcessesPacket, m_uePhySapUser, and NS_LOG_FUNCTION.
|
private |
Notify MAC about the successful RRC connection establishment.
Definition at line 606 of file lte-ue-mac.cc.
References m_uePhySapProvider, ns3::LteUePhySapProvider::NotifyConnectionSuccessful(), and NS_LOG_FUNCTION.
Referenced by ns3::UeMemberLteUeCmacSapProvider::NotifyConnectionSuccessful().
|
private |
Receive LTE control message function.
msg | the LTE control message |
Definition at line 637 of file lte-ue-mac.cc.
References ns3::LteMacSapUser::TxOpportunityParameters::bytes, ns3::LteMacSapUser::TxOpportunityParameters::componentCarrierId, ns3::CreateObject(), ns3::DynamicCast(), HARQ_PERIOD, ns3::LteMacSapUser::TxOpportunityParameters::harqId, ns3::LteMacSapUser::TxOpportunityParameters::layer, ns3::LteMacSapUser::TxOpportunityParameters::lcid, m_componentCarrierId, m_freshUlBsr, m_harqProcessId, m_lcInfoMap, m_miUlHarqProcessesPacket, m_miUlHarqProcessesPacketTimer, ns3::UlDciListElement_s::m_ndi, m_raPreambleId, m_raRnti, m_rnti, ns3::UlDciListElement_s::m_tbSize, m_uePhySapProvider, m_ulBsrReceived, m_waitingForRaResponse, NS_FATAL_ERROR, NS_LOG_DEBUG, NS_LOG_ERROR, NS_LOG_FUNCTION, NS_LOG_LOGIC, NS_LOG_WARN, ns3::LteControlMessage::RAR, RecvRaResponse(), ns3::LteMacSapUser::TxOpportunityParameters::rnti, ns3::LteUePhySapProvider::SendMacPdu(), and ns3::LteControlMessage::UL_DCI.
Referenced by ns3::UeMemberLteUePhySapUser::ReceiveLteControlMessage().
Receive Phy PDU function.
p | the packet |
Definition at line 613 of file lte-ue-mac.cc.
References ns3::LteRadioBearerTag::GetLcid(), ns3::LteRadioBearerTag::GetRnti(), ns3::LteMacSapUser::ReceivePduParameters::lcid, m_lcInfoMap, m_rnti, NS_LOG_WARN, ns3::LteMacSapUser::ReceivePduParameters::p, and ns3::LteMacSapUser::ReceivePduParameters::rnti.
Referenced by ns3::UeMemberLteUePhySapUser::ReceivePhyPdu().
|
private |
Remove LC function.
lcId | the LCID |
Definition at line 571 of file lte-ue-mac.cc.
References m_lcInfoMap, m_ulBsrReceived, NS_ASSERT_MSG, and NS_LOG_FUNCTION.
Referenced by ns3::UeMemberLteUeCmacSapProvider::RemoveLc().
|
private |
Report buffers status function.
params | LteMacSapProvider::ReportBufferStatusParameters |
Definition at line 321 of file lte-ue-mac.cc.
References m_freshUlBsr, m_ulBsrReceived, and NS_LOG_FUNCTION.
Referenced by ns3::UeMemberLteMacSapProvider::ReportBufferStatus().
|
private |
Reset function.
Definition at line 580 of file lte-ue-mac.cc.
References ns3::EventId::Cancel(), m_freshUlBsr, m_lcInfoMap, m_noRaResponseReceivedEvent, m_rachConfigured, m_rnti, m_ulBsrReceived, and NS_LOG_FUNCTION.
Referenced by ns3::UeMemberLteUeCmacSapProvider::Reset().
|
private |
Set IMSI.
imsi | the IMSI of the UE |
Definition at line 533 of file lte-ue-mac.cc.
References m_imsi, and NS_LOG_FUNCTION.
Referenced by ns3::UeMemberLteUeCmacSapProvider::SetImsi().
|
private |
Set RNTI.
rnti | the RNTI |
Definition at line 526 of file lte-ue-mac.cc.
References m_rnti, and NS_LOG_FUNCTION.
Referenced by ns3::UeMemberLteUeCmacSapProvider::SetRnti().
|
private |
Start contention based random access procedure function.
Definition at line 514 of file lte-ue-mac.cc.
References m_backoffParameter, m_preambleTransmissionCounter, m_rachConfigured, NS_ASSERT_MSG, NS_LOG_FUNCTION, and RandomlySelectAndSendRaPreamble().
Referenced by ns3::UeMemberLteUeCmacSapProvider::StartContentionBasedRandomAccessProcedure().
|
private |
Start non contention based random access procedure function.
rnti | the RNTI |
rapId | the RAPID |
prachMask | the PRACH mask |
Definition at line 540 of file lte-ue-mac.cc.
References m_preambleTransmissionCounter, m_raPreambleId, m_rnti, NS_ASSERT_MSG, NS_LOG_FUNCTION, and SendRaPreamble().
Referenced by ns3::UeMemberLteUeCmacSapProvider::StartNonContentionBasedRandomAccessProcedure().
Forwarded from LteUePhySapUser: trigger the start from a new frame.
frameNo | frame number |
subframeNo | subframe number |
Definition at line 896 of file lte-ue-mac.cc.
References HARQ_PERIOD, m_bsrLast, m_bsrPeriodicity, m_componentCarrierId, m_frameNo, m_freshUlBsr, m_harqProcessId, m_subframeNo, ns3::Simulator::Now(), NS_LOG_FUNCTION, RefreshHarqProcessesPacketBuffer(), and SendReportBufferStatus().
Referenced by ns3::UeMemberLteUePhySapUser::SubframeIndication().
|
private |
Transmit PDU function.
params | LteMacSapProvider::TransmitPduParameters |
Definition at line 308 of file lte-ue-mac.cc.
References HARQ_PERIOD, m_harqProcessId, m_miUlHarqProcessesPacket, m_miUlHarqProcessesPacketTimer, m_rnti, m_uePhySapProvider, NS_ASSERT_MSG, NS_LOG_FUNCTION, and ns3::LteUePhySapProvider::SendMacPdu().
Referenced by ns3::UeMemberLteMacSapProvider::TransmitPdu().
LteMacSapProvider * ns3::LteUeMac::GetLteMacSapProvider | ( | ) |
Get the LTE MAC SAP provider.
Definition at line 284 of file lte-ue-mac.cc.
References m_macSapProvider.
LteUeCmacSapProvider * ns3::LteUeMac::GetLteUeCmacSapProvider | ( | ) |
Get the LTE CMAC SAP provider.
Definition at line 296 of file lte-ue-mac.cc.
References m_cmacSapProvider.
LteUePhySapUser * ns3::LteUeMac::GetLteUePhySapUser | ( | ) |
Get the PHY SAP user.
Definition at line 272 of file lte-ue-mac.cc.
References m_uePhySapUser.
|
static |
Get the type ID.
Definition at line 212 of file lte-ue-mac.cc.
References m_raResponseTimeoutTrace, ns3::MakeTraceSourceAccessor(), and ns3::TypeId::SetParent().
|
private |
Randomly select and send RA preamble function.
Definition at line 389 of file lte-ue-mac.cc.
References m_rachConfig, m_rachConfigured, m_raPreambleId, m_raPreambleUniformVariable, NS_ASSERT_MSG, NS_LOG_FUNCTION, ns3::LteUeCmacSapProvider::RachConfig::numberOfRaPreambles, and SendRaPreamble().
Referenced by DoStartContentionBasedRandomAccessProcedure(), and RaResponseTimeout().
|
private |
RA response timeout function.
contention | if true randomly select and send the RA preamble |
Definition at line 475 of file lte-ue-mac.cc.
References m_cmacSapUser, m_imsi, m_preambleTransmissionCounter, m_rachConfig, m_raResponseTimeoutTrace, m_waitingForRaResponse, ns3::LteUeCmacSapUser::NotifyRandomAccessFailed(), NS_LOG_FUNCTION, NS_LOG_INFO, ns3::LteUeCmacSapProvider::RachConfig::preambleTransMax, RandomlySelectAndSendRaPreamble(), and SendRaPreamble().
Referenced by SendRaPreamble().
|
private |
Receive the RA response function.
raResponse | RA response received |
Definition at line 433 of file lte-ue-mac.cc.
References ns3::LteMacSapUser::TxOpportunityParameters::bytes, ns3::EventId::Cancel(), ns3::LteMacSapUser::TxOpportunityParameters::componentCarrierId, ns3::LteMacSapUser::TxOpportunityParameters::harqId, ns3::LteMacSapUser::TxOpportunityParameters::layer, ns3::LteMacSapUser::TxOpportunityParameters::lcid, m_cmacSapUser, m_componentCarrierId, ns3::BuildRarListElement_s::m_grant, m_lcInfoMap, m_noRaResponseReceivedEvent, m_raPreambleId, ns3::BuildRarListElement_s::m_rnti, m_rnti, ns3::UlGrant_s::m_tbSize, m_ulBsrReceived, m_waitingForRaResponse, ns3::LteUeCmacSapUser::NotifyRandomAccessSuccessful(), NS_ASSERT, NS_ASSERT_MSG, NS_FATAL_ERROR, NS_LOG_FUNCTION, NS_LOG_INFO, ns3::LteMacSapUser::TxOpportunityParameters::rnti, and ns3::LteUeCmacSapUser::SetTemporaryCellRnti().
Referenced by DoReceiveLteControlMessage().
|
private |
Refresh HARQ processes packet buffer function.
Definition at line 872 of file lte-ue-mac.cc.
References ns3::CreateObject(), m_miUlHarqProcessesPacket, m_miUlHarqProcessesPacketTimer, NS_LOG_FUNCTION, and NS_LOG_INFO.
Referenced by DoSubframeIndication().
|
private |
Send RA preamble function.
contention | if true randomly select and send the RA preamble |
Definition at line 402 of file lte-ue-mac.cc.
References m_noRaResponseReceivedEvent, m_rachConfig, m_raPreambleId, m_raRnti, m_subframeNo, m_uePhySapProvider, ns3::MilliSeconds(), NS_ASSERT, NS_LOG_FUNCTION, NS_LOG_INFO, RaResponseTimeout(), ns3::LteUeCmacSapProvider::RachConfig::raResponseWindowSize, ns3::Simulator::Schedule(), ns3::LteUePhySapProvider::SendRachPreamble(), and StartWaitingForRaResponse().
Referenced by DoStartNonContentionBasedRandomAccessProcedure(), RandomlySelectAndSendRaPreamble(), and RaResponseTimeout().
|
private |
Send report buffer status.
Definition at line 341 of file lte-ue-mac.cc.
References ns3::MacCeListElement_s::BSR, ns3::BufferSizeLevelBsr::BufferSize2BsrId(), ns3::Create(), ns3::MacCeValue_u::m_bufferStatus, m_lcInfoMap, ns3::MacCeListElement_s::m_macCeValue, m_rnti, ns3::MacCeListElement_s::m_rnti, m_uePhySapProvider, m_ulBsrReceived, NS_ASSERT, NS_ASSERT_MSG, NS_LOG_FUNCTION, NS_LOG_INFO, and ns3::LteUePhySapProvider::SendLteControlMessage().
Referenced by DoSubframeIndication().
void ns3::LteUeMac::SetComponentCarrierId | ( | uint8_t | index | ) |
Set the component carried ID.
index | the component carrier ID |
Definition at line 302 of file lte-ue-mac.cc.
References m_componentCarrierId.
void ns3::LteUeMac::SetLteUeCmacSapUser | ( | LteUeCmacSapUser * | s | ) |
Set the LTE UE CMAC SAP user.
s | the LTE UE CMAC SAP User |
Definition at line 290 of file lte-ue-mac.cc.
References m_cmacSapUser.
void ns3::LteUeMac::SetLteUePhySapProvider | ( | LteUePhySapProvider * | s | ) |
Set the PHY SAP Provider.
s | a pointer to the PHY SAP Provider |
Definition at line 278 of file lte-ue-mac.cc.
References m_uePhySapProvider.
|
private |
Start waiting for RA response function.
Definition at line 426 of file lte-ue-mac.cc.
References m_waitingForRaResponse, and NS_LOG_FUNCTION.
Referenced by SendRaPreamble().
|
friend |
allow UeMemberLteMacSapProvider class friend access
Definition at line 37 of file lte-ue-mac.h.
Referenced by LteUeMac().
|
friend |
allow UeMemberLteUeCmacSapProvider class friend access
Definition at line 35 of file lte-ue-mac.h.
Referenced by LteUeMac().
|
friend |
allow UeMemberLteUePhySapUser class friend access
Definition at line 39 of file lte-ue-mac.h.
Referenced by LteUeMac().
|
private |
backoff parameter
Definition at line 276 of file lte-ue-mac.h.
Referenced by DoStartContentionBasedRandomAccessProcedure().
|
private |
|
private |
|
private |
CMAC SAP provider.
Definition at line 251 of file lte-ue-mac.h.
Referenced by LteUeMac(), DoDispose(), and GetLteUeCmacSapProvider().
|
private |
CMAC SAP user.
Definition at line 250 of file lte-ue-mac.h.
Referenced by RaResponseTimeout(), RecvRaResponse(), and SetLteUeCmacSapUser().
|
private |
component carrier Id --> used to address sap
Definition at line 236 of file lte-ue-mac.h.
Referenced by LteUeMac(), DoReceiveLteControlMessage(), DoSubframeIndication(), RecvRaResponse(), and SetComponentCarrierId().
|
private |
|
private |
true when a BSR has been received in the last TTI
Definition at line 262 of file lte-ue-mac.h.
Referenced by DoReceiveLteControlMessage(), DoReportBufferStatus(), DoReset(), and DoSubframeIndication().
|
private |
HARQ process ID.
Definition at line 264 of file lte-ue-mac.h.
Referenced by DoReceiveLteControlMessage(), DoSubframeIndication(), and DoTransmitPdu().
|
private |
IMSI.
Definition at line 270 of file lte-ue-mac.h.
Referenced by DoSetImsi(), and RaResponseTimeout().
|
private |
logical channel info map
Definition at line 246 of file lte-ue-mac.h.
Referenced by DoAddLc(), DoReceiveLteControlMessage(), DoReceivePhyPdu(), DoRemoveLc(), DoReset(), RecvRaResponse(), and SendReportBufferStatus().
|
private |
MAC SAP provider.
Definition at line 248 of file lte-ue-mac.h.
Referenced by LteUeMac(), DoDispose(), and GetLteMacSapProvider().
|
private |
Packets under transmission of the UL HARQ processes.
Definition at line 266 of file lte-ue-mac.h.
Referenced by LteUeMac(), DoDispose(), DoReceiveLteControlMessage(), DoTransmitPdu(), and RefreshHarqProcessesPacketBuffer().
|
private |
timer for packet life in the buffer
Definition at line 267 of file lte-ue-mac.h.
Referenced by LteUeMac(), DoReceiveLteControlMessage(), DoTransmitPdu(), and RefreshHarqProcessesPacketBuffer().
|
private |
no RA response received event ID
Definition at line 277 of file lte-ue-mac.h.
Referenced by DoReset(), RecvRaResponse(), and SendRaPreamble().
|
private |
preamble tranamission counter
Definition at line 275 of file lte-ue-mac.h.
Referenced by DoStartContentionBasedRandomAccessProcedure(), DoStartNonContentionBasedRandomAccessProcedure(), and RaResponseTimeout().
|
private |
RACH configuration.
Definition at line 273 of file lte-ue-mac.h.
Referenced by DoConfigureRach(), RandomlySelectAndSendRaPreamble(), RaResponseTimeout(), and SendRaPreamble().
|
private |
is RACH configured?
Definition at line 272 of file lte-ue-mac.h.
Referenced by DoConfigureRach(), DoReset(), DoStartContentionBasedRandomAccessProcedure(), and RandomlySelectAndSendRaPreamble().
|
private |
RA preamble ID.
Definition at line 274 of file lte-ue-mac.h.
Referenced by DoReceiveLteControlMessage(), DoStartNonContentionBasedRandomAccessProcedure(), RandomlySelectAndSendRaPreamble(), RecvRaResponse(), and SendRaPreamble().
|
private |
RA preamble random variable.
Definition at line 278 of file lte-ue-mac.h.
Referenced by LteUeMac(), AssignStreams(), and RandomlySelectAndSendRaPreamble().
|
private |
The RaResponseTimeout
trace source.
Fired RA response timeout. Exporting IMSI, contention flag, preamble transmission counter and the max limit of preamble transmission.
Definition at line 290 of file lte-ue-mac.h.
Referenced by GetTypeId(), and RaResponseTimeout().
|
private |
RA RNTI.
Definition at line 282 of file lte-ue-mac.h.
Referenced by DoReceiveLteControlMessage(), and SendRaPreamble().
|
private |
RNTI.
Definition at line 269 of file lte-ue-mac.h.
Referenced by DoReceiveLteControlMessage(), DoReceivePhyPdu(), DoReset(), DoSetRnti(), DoStartNonContentionBasedRandomAccessProcedure(), DoTransmitPdu(), RecvRaResponse(), and SendReportBufferStatus().
|
private |
subframe number
Definition at line 281 of file lte-ue-mac.h.
Referenced by DoSubframeIndication(), and SendRaPreamble().
|
private |
UE Phy SAP provider.
Definition at line 253 of file lte-ue-mac.h.
Referenced by DoNotifyConnectionSuccessful(), DoReceiveLteControlMessage(), DoTransmitPdu(), SendRaPreamble(), SendReportBufferStatus(), and SetLteUePhySapProvider().
|
private |
UE Phy SAP user.
Definition at line 254 of file lte-ue-mac.h.
Referenced by LteUeMac(), DoDispose(), and GetLteUePhySapUser().
|
private |
BSR received from RLC (the last one)
Definition at line 257 of file lte-ue-mac.h.
Referenced by DoReceiveLteControlMessage(), DoRemoveLc(), DoReportBufferStatus(), DoReset(), RecvRaResponse(), and SendReportBufferStatus().
|
private |
waiting for RA response
Definition at line 283 of file lte-ue-mac.h.
Referenced by DoReceiveLteControlMessage(), RaResponseTimeout(), RecvRaResponse(), and StartWaitingForRaResponse().