RlcTmTxEntity

Package: simu5g.stack.rlc.tm

simple module RlcTmTxEntity

Implements the transmission side of the Transparent Mode (TM) of the Radio Link Control (RLC) layer for a specific connection. Buffers SDUs from the upper layer and, upon receiving a MAC SDU request, sends the next queued PDU without segmentation or concatenation.

simu5g.stack.rlc.tm.RlcTmTxEntityRlcTmTxEntitysimple

Usage diagram

Inheritance diagram

Used in compound modules

Name

Type

Description

RlcTmEntity

compound module

RLC TM entity of one data radio bearer: packages the transmitting and the receiving side (TS 36.322 / 38.322 model an entity per bearer). Created dynamically by BearerManagement, one per (peer, DRB) pair; a bearer with traffic in one direction only simply leaves the other side idle.

Parameters

Name

Type

Default value

Description

queueSize

int

0

Max queue length in packets (0: unlimited)

Properties

Name

Value

Description

display

i=block/layer

dynamic

true

Gates

Name

Direction

Size

Description

in

input

SDUs from the PDCP layer (direct per-DRB connection, not via a mux)

macIn

input

MAC SDU requests, via the RlcMux

out

output

PDUs and new-data notifications to MAC, via the RlcMux

Signals

Name

Type

Unit

Description

rlcPacketLossDl

rlcPacketLossUl

Statistics

Name

Title

Source

Record

Unit

Interpolation Mode

Description

rlcPacketLossDl

rlc Packet Loss DL

rlcPacketLossDl

mean,sum,vector

rlcPacketLossUl

rlc Packet Loss UL

rlcPacketLossUl

mean,sum,vector

Source code

//
// Implements the transmission side of the Transparent Mode (TM) of the
// Radio Link Control (RLC) layer for a specific connection.
// Buffers SDUs from the upper layer and, upon receiving a MAC SDU request,
// sends the next queued PDU without segmentation or concatenation.
//
simple RlcTmTxEntity like simu5g.stack.rlc.IRlcTxEntity
{
    parameters:
        @dynamic(true);
        @display("i=block/layer");
        int queueSize = default(0);    // Max queue length in packets (0: unlimited)

        @signal[rlcPacketLossDl];
        @statistic[rlcPacketLossDl](title="rlc Packet Loss DL"; unit=""; source="rlcPacketLossDl"; record=mean,sum,vector);
        @signal[rlcPacketLossUl];
        @statistic[rlcPacketLossUl](title="rlc Packet Loss UL"; unit=""; source="rlcPacketLossUl"; record=mean,sum,vector);

    gates:
        input in;       // SDUs from the PDCP layer (direct per-DRB connection, not via a mux)
        input macIn;    // MAC SDU requests, via the RlcMux
        output out;     // PDUs and new-data notifications to MAC, via the RlcMux
}

File: src/simu5g/stack/rlc/tm/RlcTmTxEntity.ned