PdcpMux

Package: simu5g.stack.pdcp

PdcpMux

simple module

Upper-layer PDCP packet dispatcher.

Receives SDUs from the module above -- Ip2Nic, or NrSdap where SDAP is present -- looks up the toTxEntity gate of the PDCP TX entity serving that DRB, and dispatches the packet to it. Purely a dispatcher: TX entities are established by Ip2Nic/SDAP, and wired and registered in this module's routing table by BearerManagement. Collects processed SDUs from the RX entities and sends them back up.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Properties

Name Value Description
class PdcpMux
display i=block/dispatch

Gates

Name Direction Size Description
upperLayerIn input
upperLayerOut output
toTxEntity [ ] output

Dynamic: dispatches to TX entity in gates

fromRxEntity [ ] input

Dynamic: receives from RX entity out gates

Source code

//
// Upper-layer PDCP packet dispatcher.
//
// Receives SDUs from the module above -- ~Ip2Nic, or ~NrSdap where SDAP is present --
// looks up the toTxEntity gate of the PDCP TX entity serving that DRB, and dispatches
// the packet to it. Purely a dispatcher: TX entities are established by Ip2Nic/SDAP,
// and wired and registered in this module's routing table by ~BearerManagement.
// Collects processed SDUs from the RX entities and sends them back up.
//
simple PdcpMux like IPdcpMux
{
    parameters:
        @class("PdcpMux");
        @display("i=block/dispatch");
    gates:
        input upperLayerIn;
        output upperLayerOut;
        output toTxEntity[];       // Dynamic: dispatches to TX entity in gates
        input fromRxEntity[];      // Dynamic: receives from RX entity out gates
}
File: src/simu5g/stack/pdcp/PdcpMux.ned