LteControlInfo

Namespace simu5g

LteControlInfo

class

@class LteControlInfo @brief Base class for FlowControlInfo and UserControlInfo

This class contains information present in both Flow and User ControlInfo:

  • Source MAC Node ID
  • Destination MAC Node ID

Inheritance diagram

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

Extends

Name Type Description
TagBase class

This is an abstract base class that should not be directly added to a message as a tag. It is used as the base class of all tags, thus it doesn't have any fields.

Fields

Name Type Description
sourceId MacNodeId

Source MacNodeId

destId MacNodeId

Destination MacNodeId

direction unsigned short

Traffic Direction (UL, DL, D2D)

d2dTxPeerId MacNodeId
d2dRxPeerId MacNodeId
application unsigned short

Application Type

traffic unsigned short

Lte Traffic Type

rlcType unsigned short

RLC Traffic Type

lcid uint16

Logical Connection Identifier

multicastGroupId int32

Identifier for a multicast group (it is in range [0:[2^28)-1] ) For unicast communications, this field is -1

Source code

//
// @class LteControlInfo
// @brief Base class for FlowControlInfo and UserControlInfo
//
// This class contains information present in both Flow and User ControlInfo:
// - Source MAC Node ID
// - Destination MAC Node ID
//
class LteControlInfo extends inet::TagBase
{
    MacNodeId sourceId = NODEID_NONE;                    // Source MacNodeId
    MacNodeId destId = NODEID_NONE;                      // Destination MacNodeId
    unsigned short direction @enum(Direction);            // Traffic Direction (UL, DL, D2D)
    MacNodeId d2dTxPeerId = NODEID_NONE;
    MacNodeId d2dRxPeerId = NODEID_NONE;

    //# Traffic Control Information

    unsigned short application @enum(ApplicationType) = 0;    // Application Type
    unsigned short traffic @enum(LteTrafficClass) = 0;        // Lte Traffic Type

    //# RLC Control Information

    unsigned short rlcType @enum(LteRlcType) = 0;            // RLC Traffic Type

    //# Connection Information

    uint16 lcid = 0;                                        // Logical Connection Identifier
    int32 multicastGroupId = -1;                        // Identifier for a multicast group (it is in range [0:[2^28)-1] )
                                                        // For unicast communications, this field is -1
}

File: src/common/LteControlInfo.msg