Package: simu5g.stack
LteNicEnbD2D
compound moduleThe LteNicEnbD2D module represents an LTE eNodeB network interface with support for D2D (Device-to-Device) communications. It extends the basic LteNicEnb module to manage D2D-capable UEs (User Equipments). A D2D mode selection algorithm can be specified using the 'd2dModeSelectionType' parameter.
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Known subclasses
| Name | Type | Description | 
|---|---|---|
| NRNicEnb | compound module | The NRNicEnb module serves as a network interface that provides 5G connectivity within a gNodeB. It implements the data and signaling plane of the NR (New Radio) stack, which encompasses the PDCP, RLC, MAC, and PHY layers. The parameters and submodules facilitate the customization of the gNodeB's behavior, including its support for D2D communication, CoMP (Coordinated MultiPoint), or dual connectivity. | 
Extends
| Name | Type | Description | 
|---|---|---|
| LteNicEnb | compound module | The LteNicEnb module is a network interface that provides LTE connectivity within an eNodeB. It implements the data and signaling planes of the LTE stack, which includes the PDCP, RLC, MAC, and PHY layers. The parameters and submodules allow customization of the eNodeB's behavior, including whether it supports D2D communication, CoMP (Coordinated MultiPoint), or dual connectivity. | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| displayStringTextFormat | string | "%a (%i)\n%m" | |
| recordPcap | bool | false | |
| numPcapRecorders | int | recordPcap ? 1 : 0 | |
| isWireless | bool | true | |
| interfaceTableModule | string | ||
| routingTableModule | string | ||
| hasRNISupport | bool | false | |
| nodeType | string | ||
| processingDelayIn | double | 0s | additional processing delay for incoming ip packets | 
| processingDelayOut | double | 0s | additional processing delay for outgoing ip packets | 
| LteChannelModelType | string | "LteRealisticChannelModel" | |
| d2dCapable | bool | true | inherit the value from the parent module | 
| dualConnectivityEnabled | bool | false | |
| numCarriers | int | 1 | |
| address | string | "auto" | |
| compEnabled | bool | false | 
Properties
| Name | Value | Description | 
|---|---|---|
| networkInterface | ||
| lifecycleSupport | ||
| class | ::inet::NetworkInterface | |
| display | i=block/ifcard;bgb=704,443;bgl=3 | 
Gates
| Name | Direction | Size | Description | 
|---|---|---|---|
| EUTRAN_RRC_Sap | inout | ||
| upperLayerIn | input | ||
| upperLayerOut | output | ||
| radioIn | input | to receive messages sent using sendDirect() | |
| nrRadioIn | input | for NR support | |
| x2 [ ] | inout | optional x2 manager | 
Signals
| Name | Type | Unit | Description | 
|---|---|---|---|
| packetDropped | inet::Packet | 
Statistics
| Name | Title | Source | Record | Unit | Interpolation Mode | Description | 
|---|---|---|---|---|---|---|
| packetDropInterfaceDown | packet drops: interface down | packetDropReasonIsInterfaceDown(packetDropped) | count, sum(packetBytes), vector(packetBytes) | none | ||
| packetDropNoCarrier | packet drops: no carrier | packetDropReasonIsNoCarrier(packetDropped) | count, sum(packetBytes), vector(packetBytes) | none | 
Unassigned submodule parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| pcapRecorder.verbose | bool | true | whether to log packets on the module output | 
| pcapRecorder.pcapFile | string | "" | the PCAP file to be written | 
| pcapRecorder.fileFormat | string | "pcapng" | |
| pcapRecorder.snaplen | int | 65535 | maximum number of bytes to record per packet | 
| pcapRecorder.dumpBadFrames | bool | true | enable dump of frames with hasBitError | 
| pcapRecorder.sendingSignalNames | string | "packetSentToLower" | space-separated list of outbound packet signals to subscribe to | 
| pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" | space-separated list of inbound packet signals to subscribe to | 
| pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" | space-separated list of protocol names as defined in the Protocol class | 
| pcapRecorder.packetFilter | object | "*" | which packets are considered, matches all packets by default | 
| pcapRecorder.helpers | string | "" | usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" | 
| pcapRecorder.alwaysFlush | bool | false | flush the pcapFile after each write to ensure that all packets are captured in case of a crash | 
| pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| ip2nic.interfaceTableModule | string | ||
| ip2nic.routingTableModule | string | ||
| pdcpRrc.headerCompressedSize | int | ||
| rlc.tm.queueSize | int | 2MiB | RLC SDU queue size (0: unlimited) | 
| rlc.um.queueSize | int | ||
| rlc.um.mapAllLcidsToSingleBearer | bool | ||
| packetFlowManager.macModule | string | ||
| packetFlowManager.pfmType | string | ||
| x2Manager.interfaceTableModule | string | ||
| x2Manager.binderModule | string | "binder" | |
| handoverManager.losslessHandover | bool | false | |
| handoverManager.ip2nicModule | string | "^.ip2nic" | |
| dualConnectivityManager.pdcpRrcModule | string | "^.pdcpRrc" | 
Source code
// // The LteNicEnbD2D module represents an LTE eNodeB network interface with // support for D2D (Device-to-Device) communications. It extends the basic // LteNicEnb module to manage D2D-capable UEs (User Equipments). A D2D mode // selection algorithm can be specified using the 'd2dModeSelectionType' // parameter. // module LteNicEnbD2D extends LteNicEnb { parameters: pdcpRrc.typename = default("LtePdcpRrcEnbD2D"); mac.typename = default("LteMacEnbD2D"); phy.typename = default("LtePhyEnbD2D"); packetFlowManager.typename = default("PacketFlowManagerEnb"); d2dCapable = default(true); // DO NOT CHANGE submodules: d2dModeSelection: <default("D2DModeSelectionBase")> like ID2DModeSelection { @display("p=623,314,row"); } }File: src/stack/LteNicEnbD2D.ned