ConnectionControlUeD2D

Package: simu5g.stack.d2d.rrc

ConnectionControlUeD2D

simple module

D2D-capable variant of the ConnectionControlUe: the leg reports itself D2D-capable when it connects to a base station (if its PHY is), which is where the D2D side of its handovers is handled (ConnectionControlEnbD2D), and a torn-down sidelink bearer's DRB identity returns to the network-wide sidelink pool (D2dBinder). Selected via 'connectionControl.typename' / 'nrConnectionControl.typename' by the D2D-capable UE NICs.

Inheritance diagram

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

Extends

Name Type Description
ConnectionControlUe simple module

UE-side component that manages handover decisions and procedures. Receives RSSI measurements from the PHY layer based on broadcast frames, and triggers handover when a better serving cell is detected.

Parameters

Name Type Default value Description
dynamicCellAssociation bool false
enableHandover bool false

Allows handovers in the UE

isNr bool

Whether this instance is associated with the NR or the LTE stack

macNodeId int

MacNodeId of the stack leg this controller belongs to (set by the NIC)

sessionType string

The type of the session the UE requests at connection setup (see LteUe), set by the NIC

handoverLatency double 50ms

Handover duration

handoverDetachmentTime double handoverLatency > 0s ? handoverLatency/2 : 25ms
handoverAttachmentTime double handoverLatency > 0s ? handoverLatency-handoverDetachmentTime : handoverDetachmentTime
minRssiDefault bool true

Whether minRssi is taken from PhyPisaData instead of the minRssi parameter

minRssi double -99.0dB

Configurable minimum threshold RSSI for attaching to an eNB (meaningful only if minRssiDefault==false)

hysteresisFactor double 10
binderModule string "binder"
macModule string "^.^.mac"
bearerManagementModule string "^.bearerManagement"
handoverPacketHolderModule string "^.^.handoverPacketHolder"
feedbackGeneratorModule string "^.^.dlFbGen"

TODO or "^.^.nrDlFbGen"

otherConnectionControlModule string ""
hasCollector bool false

True when node has a collector module (ueCollector/nrUeCollector) for this PHY module

d2dBinderModule string "d2dBinder"

The network's D2dBinder, which holds the D2D state

Properties

Name Value Description
display i=block/control
class ConnectionControlUeD2D

Signals

Name Type Unit Description
servingCell

Statistics

Name Title Source Record Unit Interpolation Mode Description
servingCell ID of the serving cell for the UE servingCell vector

Source code

//
// D2D-capable variant of the ~ConnectionControlUe: the leg reports itself D2D-capable
// when it connects to a base station (if its PHY is), which is where the D2D side
// of its handovers is handled (~ConnectionControlEnbD2D), and a torn-down sidelink
// bearer's DRB identity returns to the network-wide sidelink pool (~D2dBinder).
// Selected via 'connectionControl.typename' / 'nrConnectionControl.typename' by
// the D2D-capable UE NICs.
//
simple ConnectionControlUeD2D extends ConnectionControlUe
{
    parameters:
        @class(ConnectionControlUeD2D);
        string d2dBinderModule = default("d2dBinder");  // The network's ~D2dBinder, which holds the D2D state
}
File: src/simu5g/stack/d2d/rrc/ConnectionControlUeD2D.ned