5G-LENA nr-v3.3-18-g7e4df5bb
The 5G/NR module for the ns-3 simulator
|
Scheduling information. Despite the name, it is not TDMA. More...
#include "nr-phy-mac-common.h"
Public Types | |
enum | DciFormat { DL = 0 , UL = 1 } |
Format of the DCI. More... | |
enum | VarTtiType { SRS = 0 , DATA = 1 , CTRL = 2 , MSG3 = 3 } |
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. | |
Scheduling information. Despite the name, it is not TDMA.
Definition at line 98 of file nr-phy-mac-common.h.
Format of the DCI.
Enumerator | |
---|---|
DL | DL DCI. |
UL | UL DCI. |
Definition at line 103 of file nr-phy-mac-common.h.
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. |
MSG3 | Used for UL MSG3. |
Definition at line 112 of file nr-phy-mac-common.h.
|
inline |
Constructor used in NrUePhy to build local DCI for DL and UL control.
symStart | Sym start |
numSym | Num sym |
rbgBitmask | Bitmask of RBG |
Definition at line 126 of file nr-phy-mac-common.h.
|
inline |
Construct to build brand new DCI. Please remember to update manually the HARQ process ID and the RBG bitmask.
rnti | RNTI of the UE |
format | DCI format |
symStart | starting symbol index for flexible TTI scheme |
numSym | number of symbols for flexible TTI scheme |
mcs | MCS |
rank | the Rank number |
precMats | the precoding matrix |
tbs | TB size |
ndi | New Data Indicator |
rv | Redundancy Version |
Definition at line 154 of file nr-phy-mac-common.h.
|
inline |
Copy constructor except for some values that have to be overwritten.
symStart | Sym start |
numSym | Num sym |
ndi | New Data Indicator: 0 for Retx, 1 for New Data |
rv | Retransmission value |
o | Other object from which copy all that is not specified as parameter |
Definition at line 191 of file nr-phy-mac-common.h.
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.
DCI format.
Definition at line 215 of file nr-phy-mac-common.h.
uint8_t ns3::DciInfoElementTdma::m_harqProcess {0} |
HARQ process id.
Definition at line 226 of file nr-phy-mac-common.h.
const uint8_t ns3::DciInfoElementTdma::m_mcs {0} |
MCS.
Definition at line 218 of file nr-phy-mac-common.h.
const uint8_t ns3::DciInfoElementTdma::m_ndi {0} |
New Data Indicator.
Definition at line 222 of file nr-phy-mac-common.h.
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.
Ptr<const ComplexMatrixArray> ns3::DciInfoElementTdma::m_precMats {nullptr} |
Definition at line 220 of file nr-phy-mac-common.h.
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.
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.
const uint16_t ns3::DciInfoElementTdma::m_rnti {0} |
RNTI of the UE.
Definition at line 214 of file nr-phy-mac-common.h.
const uint8_t ns3::DciInfoElementTdma::m_rv {0} |
Redundancy Version.
Definition at line 223 of file nr-phy-mac-common.h.
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.
const uint32_t ns3::DciInfoElementTdma::m_tbSize {0} |
TB size.
Definition at line 221 of file nr-phy-mac-common.h.
const uint8_t ns3::DciInfoElementTdma::m_tpc {0} |
Tx power control command.
Definition at line 228 of file nr-phy-mac-common.h.
const VarTtiType ns3::DciInfoElementTdma::m_type {SRS} |
Var TTI type.
Definition at line 224 of file nr-phy-mac-common.h.