5G-LENA  nr-v3.0-14-g6b2b265
The 5G/NR module for the ns-3 simulator
ns3::DciInfoElementTdma Struct Reference

Scheduling information. Despite the name, it is not TDMA. More...

#include "nr-phy-mac-common.h"

+ Collaboration diagram for ns3::DciInfoElementTdma:

Public Types

enum  DciFormat { DL = 0 , UL = 1 }
 Format of the DCI. More...
 
enum  VarTtiType { SRS = 0 , DATA = 1 , CTRL = 2 }
 The VarTtiType enum. More...
 

Public Member Functions

 DciInfoElementTdma (uint16_t rnti, DciFormat format, uint8_t symStart, uint8_t numSym, uint8_t mcs, uint8_t rank, Ptr< const ComplexMatrixArray > precMats, uint32_t tbs, uint8_t ndi, uint8_t rv, VarTtiType type, uint8_t bwpIndex, uint8_t tpc)
 Construct to build brand new DCI. Please remember to update manually the HARQ process ID and the RBG bitmask. More...
 
 DciInfoElementTdma (uint8_t symStart, uint8_t numSym, DciFormat format, VarTtiType type, const std::vector< uint8_t > &rbgBitmask)
 Constructor used in NrUePhy to build local DCI for DL and UL control. More...
 
 DciInfoElementTdma (uint8_t symStart, uint8_t numSym, uint8_t ndi, uint8_t rv, const DciInfoElementTdma &o)
 Copy constructor except for some values that have to be overwritten. More...
 

Public Attributes

const uint8_t m_bwpIndex {0}
 BWP Index to identify to which BWP this DCI applies to.
 
const DciFormat m_format {DL}
 DCI format.
 
uint8_t m_harqProcess {0}
 HARQ process id.
 
const uint8_t m_mcs {0}
 MCS.
 
const uint8_t m_ndi {0}
 New Data Indicator.
 
const uint8_t m_numSym {0}
 number of symbols for flexible TTI scheme
 
Ptr< const ComplexMatrixArray > m_precMats {nullptr}
 
const uint8_t m_rank {1}
 the rank number (the number of MIMO layers)
 
std::vector< uint8_t > m_rbgBitmask {}
 RBG mask: 0 if the RBG is not used, 1 otherwise.
 
const uint16_t m_rnti {0}
 RNTI of the UE.
 
const uint8_t m_rv {0}
 Redundancy Version.
 
const uint8_t m_symStart {0}
 starting symbol index for flexible TTI scheme
 
const uint32_t m_tbSize {0}
 TB size.
 
const uint8_t m_tpc {0}
 Tx power control command.
 
const VarTtiType m_type {SRS}
 Var TTI type.
 

Detailed Description

Scheduling information. Despite the name, it is not TDMA.

Definition at line 103 of file nr-phy-mac-common.h.

Member Enumeration Documentation

◆ DciFormat

Format of the DCI.

Enumerator
DL 

DL DCI.

UL 

UL DCI.

Definition at line 108 of file nr-phy-mac-common.h.

◆ VarTtiType

The VarTtiType enum.

Enumerator
SRS 

Used for SRS (it would be like DCI format 2_3)

DATA 

Used for DL/UL DATA.

CTRL 

Used for DL/UL CTRL.

Definition at line 117 of file nr-phy-mac-common.h.

Constructor & Destructor Documentation

◆ DciInfoElementTdma() [1/3]

ns3::DciInfoElementTdma::DciInfoElementTdma ( uint8_t  symStart,
uint8_t  numSym,
DciFormat  format,
VarTtiType  type,
const std::vector< uint8_t > &  rbgBitmask 
)
inline

Constructor used in NrUePhy to build local DCI for DL and UL control.

Parameters
symStartSym start
numSymNum sym
rbgBitmaskBitmask of RBG

Definition at line 130 of file nr-phy-mac-common.h.

◆ DciInfoElementTdma() [2/3]

ns3::DciInfoElementTdma::DciInfoElementTdma ( uint16_t  rnti,
DciFormat  format,
uint8_t  symStart,
uint8_t  numSym,
uint8_t  mcs,
uint8_t  rank,
Ptr< const ComplexMatrixArray >  precMats,
uint32_t  tbs,
uint8_t  ndi,
uint8_t  rv,
VarTtiType  type,
uint8_t  bwpIndex,
uint8_t  tpc 
)
inline

Construct to build brand new DCI. Please remember to update manually the HARQ process ID and the RBG bitmask.

Parameters
rntiRNTI of the UE
formatDCI format
symStartstarting symbol index for flexible TTI scheme
numSymnumber of symbols for flexible TTI scheme
mcsMCS
rankthe Rank number
precMatsthe precoding matrix
tbsTB size
ndiNew Data Indicator
rvRedundancy Version

Definition at line 158 of file nr-phy-mac-common.h.

◆ DciInfoElementTdma() [3/3]

ns3::DciInfoElementTdma::DciInfoElementTdma ( uint8_t  symStart,
uint8_t  numSym,
uint8_t  ndi,
uint8_t  rv,
const DciInfoElementTdma o 
)
inline

Copy constructor except for some values that have to be overwritten.

Parameters
symStartSym start
numSymNum sym
ndiNew Data Indicator: 0 for Retx, 1 for New Data
rvRetransmission value
oOther object from which copy all that is not specified as parameter

Definition at line 195 of file nr-phy-mac-common.h.


The documentation for this struct was generated from the following file: