RlcAmRxEntityBase Class Reference

Simu5G: RlcAmRxEntityBase Class Reference
Simu5G
RlcAmRxEntityBase Class Referenceabstract

#include <RlcAmRxEntityBase.h>

Inheritance diagram for RlcAmRxEntityBase:
[legend]

Protected Member Functions

virtual void emitRxStatistics (bool perPdu, double throughput, omnetpp::simtime_t delay)

Detailed Description

Common shell of the RLC AM receiving entity.

Holds the signal set and the state used for control-PDU routing to the local AM TX entity, and the STATUS-PDU flow-control-info / throughput bookkeeping shared by both RATs. The reassembly / window / timer logic is deferred to the concrete subclasses:

  • LteRlcAmRxEntity (TS 36.322): SN-contiguity defragmentation, PDU-SN window, consumes LteRlcAmPdu, emits an ACK_SN+NACK STATUS PDU.
  • NrRlcAmRxEntity (TS 38.322): SO byte-coverage reassembly, SDU-SN window, t-Reassembly + t-StatusProhibit, consumes NrRlcAmDataPdu. The two RX engines (and their control-PDU routing: LTE keys by dest, NR by source + creates on demand) are different enough that handleMessage() is not shared either. Abstract base: not instantiated directly (no NED type, no Define_Module); BearerManagement binds one of the concrete profiles.

Member Function Documentation

◆ emitRxStatistics()

virtual void emitRxStatistics ( bool perPdu,
double throughput,
omnetpp::simtime_t delay )
protectedvirtual

Emit this bearer's delay and throughput statistics for a received PDU (perPdu = true, before reassembly) or a delivered SDU (perPdu = false), the latter together with the always-zero AM packet-loss sample.