5G-LENA nr-v3.0-48-g1e47feb
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
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.
 
 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.
 
 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.
 

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 99 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 104 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 113 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 126 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 154 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 191 of file nr-phy-mac-common.h.

Member Data Documentation

◆ m_bwpIndex

const uint8_t ns3::DciInfoElementTdma::m_bwpIndex {0}

BWP Index to identify to which BWP this DCI applies to.

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

◆ m_format

const DciFormat ns3::DciInfoElementTdma::m_format {DL}

DCI format.

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

◆ m_harqProcess

uint8_t ns3::DciInfoElementTdma::m_harqProcess {0}

HARQ process id.

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

◆ m_mcs

const uint8_t ns3::DciInfoElementTdma::m_mcs {0}

MCS.

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

◆ m_ndi

const uint8_t ns3::DciInfoElementTdma::m_ndi {0}

New Data Indicator.

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

◆ m_numSym

const uint8_t ns3::DciInfoElementTdma::m_numSym {0}

number of symbols for flexible TTI scheme

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

◆ m_precMats

Ptr<const ComplexMatrixArray> ns3::DciInfoElementTdma::m_precMats {nullptr}

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

◆ m_rank

const uint8_t ns3::DciInfoElementTdma::m_rank {1}

the rank number (the number of MIMO layers)

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

◆ m_rbgBitmask

std::vector<uint8_t> ns3::DciInfoElementTdma::m_rbgBitmask {}

RBG mask: 0 if the RBG is not used, 1 otherwise.

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

◆ m_rnti

const uint16_t ns3::DciInfoElementTdma::m_rnti {0}

RNTI of the UE.

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

◆ m_rv

const uint8_t ns3::DciInfoElementTdma::m_rv {0}

Redundancy Version.

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

◆ m_symStart

const uint8_t ns3::DciInfoElementTdma::m_symStart {0}

starting symbol index for flexible TTI scheme

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

◆ m_tbSize

const uint32_t ns3::DciInfoElementTdma::m_tbSize {0}

TB size.

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

◆ m_tpc

const uint8_t ns3::DciInfoElementTdma::m_tpc {0}

Tx power control command.

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

◆ m_type

const VarTtiType ns3::DciInfoElementTdma::m_type {SRS}

Var TTI type.

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


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