PDSCH and PUSCH MCS Update [Issue-ID: ODUHIGH-261]
[o-du/l2.git] / src / cm / du_app_mac_inf.h
index c785ec2..45db1b8 100644 (file)
@@ -480,6 +480,13 @@ typedef enum
    UNSPECIFIED_MISC_CAUSE
 }MiscFailCause;
 
+typedef enum
+{
+   MCS_TABLE_QAM64,
+   MCS_TABLE_QAM256,
+   MCS_TABLE_QAM64_LOW_SE
+}McsTable;
+
 typedef struct failureCause
 {
    CauseGrp   type;
@@ -1031,6 +1038,13 @@ typedef struct lcCfg
    DlLcCfg dlLcCfg;
 }LcCfg;
 
+typedef struct modulationInfo
+{
+   uint8_t     modOrder;    /* Modulation order */
+   uint8_t     mcsIndex;    /* MCS Index */
+   McsTable    mcsTable;    /* MCS table */
+}ModulationInfo;
+
 typedef struct macUeCfg
 {
    uint16_t cellId;
@@ -1040,9 +1054,11 @@ typedef struct macUeCfg
    PhyCellGrpCfg phyCellGrpCfg;
    SpCellCfg spCellCfg;
    AmbrCfg   *ambrCfg;
+   ModulationInfo dlModInfo;    /* DL modulation info */
+   ModulationInfo ulModInfo;    /* UL modulation info */
    uint8_t numLcs;
    LcCfg lcCfgList[MAX_NUM_LC];
-   UeCfgState macUeCfgState; /* InActive / Completed */
+   UeCfgState macUeCfgState;    /* InActive / Completed */
 }MacUeCfg;
 
 typedef struct nrcgi