NrPdcpTxEntity

Package: simu5g.stack.pdcp

simple module NrPdcpTxEntity

Handles the operations related to the NR PDCP (Packet Data Convergence Protocol) layer at the transmitting side of a specific connection. It extends the LtePdcpTxEntity module with the NR flavor of the per-SDU statistics (pdcpSduSentNr) and the NR-leg id mapping of a single-leg NR bearer. On a multi-leg bearer, leg dispatch, id mapping and per-leg statistics are handled by the enclosing compound’s splitter instead (see PdcpEntityBase).

simu5g.stack.pdcp.NrPdcpTxEntityNrPdcpTxEntitysimple

Inheritance diagram

Extends

Name

Type

Description

LtePdcpTxEntity

simple module

Handles operations related to the LTE PDCP (Packet Data Convergence Protocol) layer on the transmitting side of a specific connection. This module manages the creation, sequencing, header compression, and metadata association for PDCP PDUs before they are passed down to the RLC layer.

Parameters

Name

Type

Default value

Description

binderModule

string

“binder”

emitPerSduSignals

bool

true

Cleared by a PdcpEntityBase with a splitter: the splitter emits the per-leg statistics

rohcProfiles

string

“”

The bearer’s ROHC profiles, space-separated, pushed by RRC; “” = no header compression

rohcFoHeaderSizes

object

{rtp: 6, udp: 6, tcp: 9, ip: 4}

Compressed header size per ROHC profile in the FO state, in bytes

rohcSoHeaderSizes

object

{rtp: 3, udp: 3, tcp: 5, ip: 1}

Compressed header size per ROHC profile in the SO state, in bytes

rohcIrOverhead

int

3B

Size of an IR packet’s ROHC fields (packet type, profile, CRC) on top of the full headers

rohcIrPackets

int

3

IR packets a context sends before moving to FO

rohcFoPackets

int

3

FO packets a context sends before moving to SO

rohcIrRefresh

int

1700

Packets of a context between two IR refreshes

rohcFoRefresh

int

700

SO packets of a context between two FO refreshes

rlcMode

string

“UM”

RLC mode of this bearer, pushed by RRC; determines the PDCP header size

Properties

Name

Value

Description

class

NrPdcpTxEntity

display

i=block/layer

dynamic

true

Gates

Name

Direction

Size

Description

in

input

out

output

Signals

Name

Type

Unit

Description

pdcpSduSent

pdcpSduSentNr

receivedPacketFromUpperLayer

sentPacketToLowerLayer

Source code

//
// Handles the operations related to the NR PDCP (Packet Data Convergence Protocol)
// layer at the transmitting side of a specific connection. It extends the
// ~LtePdcpTxEntity module with the NR flavor of the per-SDU statistics
// (pdcpSduSentNr) and the NR-leg id mapping of a single-leg NR bearer. On a
// multi-leg bearer, leg dispatch, id mapping and per-leg statistics are handled
// by the enclosing compound's splitter instead (see ~PdcpEntityBase).
//
simple NrPdcpTxEntity extends LtePdcpTxEntity
{
    parameters:
        @dynamic(true);
        @class("NrPdcpTxEntity");
        @display("i=block/layer");
        @signal[pdcpSduSentNr];
}

File: src/simu5g/stack/pdcp/NrPdcpTxEntity.ned