ns-3
|
Public Member Functions | |
LteUeRrc () | |
virtual | ~LteUeRrc () |
virtual void | DoDispose (void) |
void | SetLteUeCmacSapProvider (LteUeCmacSapProvider *s) |
LteUeCmacSapUser * | GetLteUeCmacSapUser () |
void | SetLteMacSapProvider (LteMacSapProvider *s) |
void | ConfigureUe (uint16_t rnti, uint16_t cellId) |
void | SetupRadioBearer (uint16_t rnti, EpsBearer bearer, TypeId rlcTypeId, uint8_t lcid, Ptr< EpcTft > tft) |
void | ReleaseRadioBearer (uint16_t rnti, uint8_t lcId) |
uint16_t | GetRnti () |
uint16_t | GetCellId () |
std::vector< uint8_t > | GetLcIdVector () |
bool | Send (Ptr< Packet > p) |
void | SetForwardUpCallback (Callback< void, Ptr< Packet > > cb) |
void | DoRrcConfigurationUpdateInd (LteUeConfig_t params) |
![]() | |
virtual TypeId | GetInstanceTypeId (void) const |
template<typename T > | |
Ptr< T > | GetObject (void) const |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
void | Dispose (void) |
void | AggregateObject (Ptr< Object > other) |
AggregateIterator | GetAggregateIterator (void) const |
void | Start (void) |
![]() | |
SimpleRefCount (const SimpleRefCount &o) | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
uint32_t | GetReferenceCount (void) const |
![]() | |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::LteUeRrc. |
Friends | |
class | UeMemberLteUeCmacSapUser |
class | UeRrcMemberLteEnbCmacSapUser |
class | LtePdcpSpecificLtePdcpSapUser< LteUeRrc > |
Additional Inherited Members | |
![]() | |
virtual void | NotifyNewAggregate (void) |
virtual void | DoStart (void) |
Object (const Object &o) |
ns3::LteUeRrc::LteUeRrc | ( | ) |
create an RRC instance for use within an ue
References NS_LOG_FUNCTION.
|
virtual |
Destructor
References NS_LOG_FUNCTION.
void ns3::LteUeRrc::ConfigureUe | ( | uint16_t | rnti, |
uint16_t | cellId | ||
) |
Set UE RRC parameters
rnti | C-RNTI of the UE |
cellId | Serving cell identifier |
References ns3::LteUeCmacSapProvider::ConfigureUe(), and NS_LOG_FUNCTION.
Referenced by ns3::LteHelper::Attach().
|
virtual |
This method is called by Object::Dispose or by the object's destructor, whichever comes first.
Subclasses are expected to implement their real destruction code in an overriden 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.
References NS_LOG_FUNCTION.
void ns3::LteUeRrc::DoRrcConfigurationUpdateInd | ( | LteUeConfig_t | params | ) |
message from eNB-RRC for changing UE's configuration (up to now TxMode)
References NS_LOG_FUNCTION.
uint16_t ns3::LteUeRrc::GetCellId | ( | ) |
References NS_LOG_FUNCTION.
std::vector< uint8_t > ns3::LteUeRrc::GetLcIdVector | ( | ) |
LteUeCmacSapUser * ns3::LteUeRrc::GetLteUeCmacSapUser | ( | ) |
References NS_LOG_FUNCTION.
uint16_t ns3::LteUeRrc::GetRnti | ( | void | ) |
References NS_LOG_FUNCTION.
Referenced by ns3::LteHelper::ActivateEpsBearer().
|
static |
This method returns the TypeId associated to ns3::LteUeRrc.
This object is accessible through the following paths with Config::Set and Config::Connect:
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::Object.
References ns3::TypeId::SetParent().
void ns3::LteUeRrc::ReleaseRadioBearer | ( | uint16_t | rnti, |
uint8_t | lcId | ||
) |
Release the given radio bearer
rnti | the C-RNTI of the user owning the bearer |
lcId | the logical channel id of the bearer to be released |
References NS_ASSERT_MSG, NS_FATAL_ERROR, and NS_LOG_FUNCTION.
Enqueue an IP packet on the proper bearer for uplink transmission
p | the packet |
References ns3::EpcTftClassifier::Classify(), ns3::Packet::GetSize(), ns3::LtePdcpSapProvider::TransmitRrcPduParameters::lcid, NS_LOG_FUNCTION, NS_LOG_LOGIC, NS_LOG_WARN, ns3::LtePdcpSapProvider::TransmitRrcPduParameters::rnti, and ns3::LtePdcpSapProvider::TransmitRrcPduParameters::rrcPdu.
Referenced by ns3::LteUeNetDevice::Send().
set the callback used to forward data packets up the stack
void | |
cb |
void ns3::LteUeRrc::SetLteMacSapProvider | ( | LteMacSapProvider * | s | ) |
set the MAC SAP provider. The ue RRC does not use this directly, but it needs to provide it to newly created RLC instances.
s | the MAC SAP provider that will be used by all newly created RLC instances |
References NS_LOG_FUNCTION.
void ns3::LteUeRrc::SetLteUeCmacSapProvider | ( | LteUeCmacSapProvider * | s | ) |
set the CMAC SAP this RRC should interact with
s | the CMAC SAP Provider to be used by this RRC |
References NS_LOG_FUNCTION.
void ns3::LteUeRrc::SetupRadioBearer | ( | uint16_t | rnti, |
EpsBearer | bearer, | ||
TypeId | rlcTypeId, | ||
uint8_t | lcid, | ||
Ptr< EpcTft > | tft | ||
) |
Setup a new radio bearer for the given user
rnti | the RNTI of the user |
bearer | the characteristics of the bearer to be activated |
rlcTypeId | the TypeId identifying the type of RLC to be used for this bearer. |
lcid | the logical channel id allocated for this bearer by the eNB |
tft | the Traffic Flow Template identifying this bearer |
References ns3::EpcTftClassifier::Add(), ns3::ObjectFactory::Create(), ns3::LteRlc::GetLteMacSapUser(), ns3::LteRlc::GetLteRlcSapProvider(), ns3::LtePdcp::GetLteRlcSapUser(), ns3::Object::GetObject(), ns3::LteRlcSm::GetTypeId(), NS_ASSERT_MSG, NS_LOG_FUNCTION, ns3::LtePdcp::SetLcId(), ns3::LteRlc::SetLcId(), ns3::LteRlc::SetLteMacSapProvider(), ns3::LtePdcp::SetLtePdcpSapUser(), ns3::LtePdcp::SetLteRlcSapProvider(), ns3::LteRlc::SetLteRlcSapUser(), ns3::LtePdcp::SetRnti(), ns3::LteRlc::SetRnti(), and ns3::ObjectFactory::SetTypeId().
Referenced by ns3::LteHelper::ActivateEpsBearer().