D2DModeController

Package: simu5g.stack.d2d.rrc

simple module D2DModeController

Controls D2D mode switching flow control.

When a UE switches between infrastructure and direct D2D communication modes, this module coordinates the draining of the old-mode RLC TX entity’s queue before allowing the new-mode entity to start transmitting.

simu5g.stack.d2d.rrc.D2DModeControllerD2DModeControllersimple

Usage diagram

Inheritance diagram

Used in compound modules

Name

Type

Description

RrcD2D

compound module

D2D-capable variant of the Rrc layer. It adds the D2D mode controller (which coordinates RLC TX-queue draining across a mode switch) and, on the eNB/gNB side (hasD2DModeSelection==true), the periodic D2D mode selection module. Selected via ‘rrc.typename’ by the D2D-capable NICs.

Properties

Name

Value

Description

class

D2DModeController

display

i=block/control

Source code

//
// Controls D2D mode switching flow control.
//
// When a UE switches between infrastructure and direct D2D communication
// modes, this module coordinates the draining of the old-mode RLC TX
// entity's queue before allowing the new-mode entity to start transmitting.
//
simple D2DModeController like ID2DModeController
{
    parameters:
        @class("D2DModeController");
        @display("i=block/control");
}

File: src/simu5g/stack/d2d/rrc/D2DModeController.ned