UserControlInfo

Namespace simu5g

UserControlInfo

class

@class UserControlInfo @brief contains information flowing from Mac to Phy

It contains the following information:

  • H-ARQ Control Information
  • PHY Control Informations: Broadcast, Corruption, Type, txMode, Resource blocks used, RemoteSet

Extends

Name Type Description
LteControlInfo (unknown -- not in documented files)

Fields

Name Type Description
isNr bool
carrierFrequency double

carrier frequency

acid unsigned char

H-ARQ process identifier

cw unsigned char

H-ARQ codeword identifier

txNumber unsigned char

number of (re)transmissions for the same pdu (1, 2, 3, 4)

ndi bool

new data indicator (new data overwrites a process content if present)

isCorruptible bool

Frame is corruptible

isBroadcast bool

Broadcast packet

deciderResult bool

Decider result

blerTh double

Calculated BLER threshold for this transmission

blerValue double

Extracted BLER for this transmission (blerValue > blerTh ==> corrupted)

txMode unsigned short

Traffic Type

frameType unsigned int

Frame Type

txPower double

Transmission Power

d2dTxPower double

D2D Transmission Power (used for feedback reporting of D2D links

totalGrantedBlocks unsigned int

blocks granted on all Remotes, all Bands

grantId unsigned int

grantId related to the grand that allowed the sending of a MEC PDU (used only for MAC PDU sent by UEs)

Source code

//
// @class UserControlInfo
// @brief contains information flowing from Mac to Phy
//
// It contains the following information:
// - H-ARQ Control Information
// - PHY Control Informations: Broadcast, Corruption, Type,
//   txMode, Resource blocks used, RemoteSet
//
class UserControlInfo extends LteControlInfo
{
    @customize(true);

    bool isNr = false;
    double carrierFrequency = NaN;       // carrier frequency

    //# H-ARQ Control Information

    unsigned char acid = 0;              // H-ARQ process identifier
    unsigned char cw = 0;                // H-ARQ codeword identifier
    unsigned char txNumber = 0;          // number of (re)transmissions for the same pdu (1, 2, 3, 4)
    bool ndi = true;                     // new data indicator (new data overwrites a process content if present)

    //# PHY Control Informations

    bool isCorruptible = false;                         // Frame is corruptible
    bool isBroadcast = false;                           // Broadcast packet
    bool deciderResult = false;                         // Decider result
    double blerTh = NaN;                                // Calculated BLER threshold for this transmission
    double blerValue = NaN;                             // Extracted BLER for this transmission (blerValue > blerTh ==> corrupted)
    unsigned short txMode @enum(TxMode) = 0;             // Traffic Type
    unsigned int frameType @enum(LtePhyFrameType) = 0;   // Frame Type
    double txPower = NaN;                               //Transmission Power
    double d2dTxPower = NaN;                            // D2D Transmission Power (used for feedback reporting of D2D links
    // blocks granted on all Remotes, all Bands
    unsigned int totalGrantedBlocks = 0;

    unsigned int grantId = 0;                           // grantId related to the grand that allowed the sending of a MEC PDU (used only for MAC PDU sent by UEs)

    //#
    //# Follows a list of elements only present in
    //# the customized class (see LteControlInfo.h):
    //#
    //# RemoteSet ru;                                // Remote Antenna Set
    //# RbMap grantedBlocks;                        // Blocks allocated per Remote, per Band.
}
File: src/common/LteControlInfo.msg