5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::NrRlcSm Class Reference

#include "nr-rlc.h"

+ Inheritance diagram for ns3::NrRlcSm:
+ Collaboration diagram for ns3::NrRlcSm:

Public Member Functions

void DoDispose () override
 
void DoInitialize () override
 
void DoNotifyHarqDeliveryFailure () override
 
void DoNotifyTxOpportunity (NrMacSapUser::TxOpportunityParameters txOpParams) override
 
void DoReceivePdu (NrMacSapUser::ReceivePduParameters rxPduParams) override
 
void DoTransmitPdcpPdu (Ptr< Packet > p) override
 
- Public Member Functions inherited from ns3::NrRlc
void DoDispose () override
 
NrMacSapUserGetNrMacSapUser ()
 
NrRlcSapProviderGetNrRlcSapProvider ()
 
void SetLcId (uint8_t lcId)
 
void SetNrMacSapProvider (NrMacSapProvider *s)
 
void SetNrRlcSapUser (NrRlcSapUser *s)
 
void SetPacketDelayBudgetMs (uint16_t packetDelayBudget)
 
void SetRnti (uint16_t rnti)
 

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type ID.
 
- Static Public Member Functions inherited from ns3::NrRlc
static TypeId GetTypeId ()
 Get the type ID.
 

Additional Inherited Members

- Public Types inherited from ns3::NrRlc
typedef void(* NotifyTxTracedCallback) (uint16_t rnti, uint8_t lcid, uint32_t bytes)
 
typedef void(* ReceiveTracedCallback) (uint16_t rnti, uint8_t lcid, uint32_t bytes, uint64_t delay)
 
- Protected Attributes inherited from ns3::NrRlc
uint8_t m_lcid
 LCID.
 
NrMacSapProviderm_macSapProvider
 MAC SAP provider.
 
NrMacSapUserm_macSapUser
 MAC SAP user.
 
uint16_t m_packetDelayBudgetMs
 the packet delay budget in ms of the corresponding logical channel
 
NrRlcSapProviderm_rlcSapProvider
 RLC SAP provider.
 
NrRlcSapUserm_rlcSapUser
 RLC SAP user.
 
uint16_t m_rnti
 RNTI.
 
TracedCallback< uint16_t, uint8_t, uint32_t, uint64_t > m_rxPdu
 
TracedCallback< Ptr< const Packet > > m_txDropTrace
 
TracedCallback< uint16_t, uint8_t, uint32_t > m_txPdu
 

Detailed Description

NR_RLC Saturation Mode (SM): simulation-specific mode used for experiments that do not need to consider the layers above the NR_RLC. The NR_RLC SM, unlike the standard NR_RLC modes, it does not provide data delivery services to upper layers; rather, it just generates a new NR_RLC PDU whenever the MAC notifies a transmission opportunity.

Config Paths

ns3::NrRlcSm is accessible through the following paths with Config::Set and Config::Connect:

No Attributes are defined for this type.
No TraceSources are defined for this type.

TraceSources defined in parent class ns3::NrRlc

Size of this type is 168 bytes (on a 64-bit architecture).

Definition at line 187 of file nr-rlc.h.

Constructor & Destructor Documentation

◆ NrRlcSm()

ns3::NrRlcSm::NrRlcSm ( )

Definition at line 173 of file nr-rlc.cc.

◆ ~NrRlcSm()

ns3::NrRlcSm::~NrRlcSm ( )
override

Definition at line 178 of file nr-rlc.cc.

Member Function Documentation

◆ DoDispose()

void ns3::NrRlcSm::DoDispose ( )
override

Definition at line 199 of file nr-rlc.cc.

◆ DoInitialize()

void ns3::NrRlcSm::DoInitialize ( )
override

Definition at line 192 of file nr-rlc.cc.

◆ DoNotifyHarqDeliveryFailure()

void ns3::NrRlcSm::DoNotifyHarqDeliveryFailure ( )
overridevirtual

Notify HARQ delivery failure

Implements ns3::NrRlc.

Definition at line 257 of file nr-rlc.cc.

◆ DoNotifyTxOpportunity()

◆ DoReceivePdu()

void ns3::NrRlcSm::DoReceivePdu ( NrMacSapUser::ReceivePduParameters  params)
overridevirtual

Receive PDU function

Parameters
paramsthe NrMacSapUser::ReceivePduParameters

Implements ns3::NrRlc.

Definition at line 212 of file nr-rlc.cc.

References ns3::NrRlcTag::GetSenderTimestamp(), and ns3::NrMacSapUser::ReceivePduParameters::p.

+ Here is the call graph for this function:

◆ DoTransmitPdcpPdu()

void ns3::NrRlcSm::DoTransmitPdcpPdu ( Ptr< Packet >  p)
overridevirtual
Todo:
MRE What is the sense to duplicate all the interfaces here???

Transmit PDCP PDU

Parameters
ppacket

Implements ns3::NrRlc.

Definition at line 206 of file nr-rlc.cc.

◆ GetTypeId()

TypeId ns3::NrRlcSm::GetTypeId ( )
static

Get the type ID.

Returns
the object TypeId

Definition at line 184 of file nr-rlc.cc.

Referenced by ns3::NrUeManager::SetupDataRadioBearer().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: