Package: simu5g.stack.d2d.rlc
NrRlcUmTxEntityD2D
simple moduleD2D-capable NR (TS 38.322) RLC UM transmitting entity: NrRlcUmTxEntity plus the same D2D mode-switch machinery as LteRlcUmTxEntityD2D, over the SO segmentation buffer.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| NrRlcUmTxEntity | simple module |
NR (TS 38.322) transmission side of the Unacknowledged Mode (UM) of the RLC layer: SI + byte-offset (SO) segmentation, one SDU segment per PDU, one sequence number per SDU. Shares the common RlcUmTxEntityBase shell (MAC plumbing, D2D mode-switch machinery) with the LTE profile LteRlcUmTxEntity. Bound by default inside the NrRlcUmEntity compound. The NR SO-segmentation statistics are declared here so they are recorded only for NR entities. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| macModule | string | "^.^.mac" |
Set by the enclosing RlcUmEntityBase compound (per leg) |
| sn_FieldLength | int | 12 |
UM SN field length in bits: 6 or 12 |
| d2dModeControllerModule | string | "^.^.rrc.d2dModeController" |
Properties
| Name | Value | Description |
|---|---|---|
| dynamic | true | |
| display | i=block/layer | |
| class | NrRlcUmTxEntityD2D |
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 |
|---|---|---|---|
| wastedGrantedBytes | |||
| requestedPduSize | |||
| sentPduSize | |||
| receivedPacketFromUpperLayer | |||
| sentPacketToLowerLayer |
Statistics
| Name | Title | Source | Record | Unit | Interpolation Mode | Description |
|---|---|---|---|---|---|---|
| wastedGrantedBytes | Wasted granted bytes | wastedGrantedBytes | sum | B | ||
| requestedPduSize | Requested PDU size | requestedPduSize | vector | B | ||
| sentPduSize | Sent PDU size | sentPduSize | vector | B | ||
| receivedPacketFromUpperLayer | receivedPacketFromUpperLayer | count, sum(packetBytes) | none | |||
| sentPacketToLowerLayer | sentPacketToLowerLayer | count, sum(packetBytes) | none |
Source code
// // D2D-capable NR (TS 38.322) RLC UM transmitting entity: ~NrRlcUmTxEntity plus // the same D2D mode-switch machinery as ~LteRlcUmTxEntityD2D, over the SO // segmentation buffer. // simple NrRlcUmTxEntityD2D extends NrRlcUmTxEntity { parameters: @class("NrRlcUmTxEntityD2D"); string d2dModeControllerModule = default("^.^.rrc.d2dModeController"); }File: src/simu5g/stack/d2d/rlc/NrRlcUmTxEntityD2D.ned