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

#include "nr-rlc-tm.h"

+ Inheritance diagram for ns3::NrRlcTm:
+ Collaboration diagram for ns3::NrRlcTm:

Public Member Functions

void DoDispose () 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

LTE RLC Transparent Mode (TM), see 3GPP TS 36.322

Please note that, as in TM it is not possible to add any header, the delay measurements gathered from the trace source "RxPDU" of NrRlc are invalid (they will be always 0)

Config Paths

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

Attributes

  • MaxTxBufferSize: Maximum Size of the Transmission Buffer (in Bytes)
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 2097152
    • Flags: construct write read

No TraceSources are defined for this type.

TraceSources defined in parent class ns3::NrRlc

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

Definition at line 27 of file nr-rlc-tm.h.

Constructor & Destructor Documentation

◆ NrRlcTm()

ns3::NrRlcTm::NrRlcTm ( )

Definition at line 20 of file nr-rlc-tm.cc.

◆ ~NrRlcTm()

ns3::NrRlcTm::~NrRlcTm ( )
override

Definition at line 27 of file nr-rlc-tm.cc.

Member Function Documentation

◆ DoDispose()

void ns3::NrRlcTm::DoDispose ( )
override

Definition at line 48 of file nr-rlc-tm.cc.

◆ DoNotifyHarqDeliveryFailure()

void ns3::NrRlcTm::DoNotifyHarqDeliveryFailure ( )
overridevirtual

Notify HARQ deliver failure

Implements ns3::NrRlc.

Definition at line 142 of file nr-rlc-tm.cc.

◆ DoNotifyTxOpportunity()

◆ DoReceivePdu()

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

Receive PDU function

Parameters
paramsthe NrMacSapUser::ReceivePduParameters

Implements ns3::NrRlc.

Definition at line 148 of file nr-rlc-tm.cc.

References ns3::NrMacSapUser::ReceivePduParameters::p.

◆ DoTransmitPdcpPdu()

void ns3::NrRlcTm::DoTransmitPdcpPdu ( Ptr< Packet >  p)
overridevirtual

RLC SAP

Parameters
ppacket

RLC SAP

Transmit Buffer Status Report

Implements ns3::NrRlc.

Definition at line 62 of file nr-rlc-tm.cc.

◆ GetTypeId()

TypeId ns3::NrRlcTm::GetTypeId ( )
static

Get the type ID.

Returns
the object TypeId

Definition at line 33 of file nr-rlc-tm.cc.


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