[Epic-ID: ODUHIGH-518] Alignment to latest ORAN WG8 Spec: O-RAN.WG8.AAD.0-R003-v09.00
[o-du/l2.git] / src / cm / mac_sch_interface.h
index fd9554b..f3d4799 100644 (file)
@@ -139,14 +139,6 @@ typedef enum
    RRC_CONNECTED_USERS_RSRC
 }SchResourceType;
 
-typedef enum
-{
-   SLICE_NOT_FOUND,
-   SLICE_CONFIGURED,
-   SLICE_RECONFIGURED,
-   RESOURCE_NOT_AVAILABLE 
-}RspCause;
-
 typedef enum
 {
    NO_TRANSMISSION,
@@ -154,14 +146,6 @@ typedef enum
    REPEATITION 
 }PduTxOccsaion;
 
-typedef enum
-{
-   UNSPECIFIED_CAUSE,
-   INVALID_PARAM_VALUE,
-   RESOURCE_UNAVAILABLE,
-   SYSTEM_ERROR
-}SchFailureCause;
-
 typedef enum
 {
    SR_PROHIBIT_MS1,
@@ -174,13 +158,6 @@ typedef enum
    SR_PROHIBIT_MS128
 }SchSrProhibitTimer;
 
-typedef enum
-{
-   NOT_APPLICABLE,
-   INVALID_CELLID,
-   INVALID_UEID
-}ErrorCause;
-
 typedef enum
 {
    SR_TRANS_MAX_N4,
@@ -907,7 +884,6 @@ typedef struct schCellCfg
    uint16_t        phyCellId;               /* Physical cell id */
    SchPlmnInfoList plmnInfoList[MAX_PLMN];  /* Consits of PlmnId and Snssai list */
    SchDuplexMode   dupMode;                 /* Duplex type: TDD/FDD */
-   uint8_t         numerology;              /* Supported numerology */
    uint8_t         dlBandwidth;             /* Supported B/W */
    uint8_t         ulBandwidth;             /* Supported B/W */
    SchDlCfgCommon  dlCfgCommon;             /*Spec 38.331 DownlinkConfigCommonSIB*/
@@ -922,8 +898,8 @@ typedef struct schCellCfg
    SchSSBPeriod        ssbPeriod;        /* SSB Periodicity in msec */
    uint32_t            ssbFrequency;     /* SB frequency in kHz*/
    uint8_t             dmrsTypeAPos;
-   uint8_t             scsCommon;        /* subcarrier spacing for common [0-3]*/
-   SchPdcchConfigSib1  pdcchCfgSib1;      /* Req to configure CORESET#0 and SearchSpace#0*/
+   uint8_t             ssbScs;           /* SSB subcarrier spacing*/
+   SchPdcchConfigSib1  pdcchCfgSib1;     /* Req to configure CORESET#0 and SearchSpace#0*/
    uint32_t            ssbPbchPwr;       /* SSB block power */
    uint8_t             ssbSubcOffset;    /* Subcarrier Offset(Kssb) */
    uint16_t            sib1PduLen;
@@ -934,7 +910,7 @@ typedef struct schCellCfgCfm
 {
    uint16_t         cellId;     /* Cell Id */
    SchMacRsp        rsp;   
-   SchFailureCause  cause;
+   CauseOfResult    cause;
 }SchCellCfgCfm;
 
 /*Ref: ORAN_WG8.V7.0.0 Sec 11.2.4.2.2 Cell Del Req*/
@@ -948,7 +924,7 @@ typedef struct schCellDeleteRsp
 {
    uint16_t        cellId;
    SchMacRsp       rsp;
-   SchFailureCause cause;
+   CauseOfResult   cause;
 }SchCellDeleteRsp;
 
 /*Ref: ORAN_WG8.V7.0.0 Sec 11.2.4.2.3*/
@@ -976,7 +952,7 @@ typedef struct schSliceCfgRsp
 {
    Snssai     snssai;
    SchMacRsp  rsp;
-   RspCause   cause;
+   CauseOfResult cause;
 }SchSliceCfgRsp;
 
 /*As per ORAN-WG8 V7.0.0 Sec 11.2.4.3.4 , Slice Cfg and Recfg are same structures*/
@@ -2037,7 +2013,7 @@ typedef struct schUeCfgRsp
    uint16_t   ueId;
    uint16_t   crnti;
    SchMacRsp  rsp;
-   SchFailureCause cause;
+   CauseOfResult cause;
 }SchUeCfgRsp;
 
 /*As per WG8 V7.0.0 Sec 11.2.4.3.6, UE ReCFG and UECFG have same structure definition*/
@@ -2056,7 +2032,7 @@ typedef struct schUeDeleteRsp
    uint16_t   cellId;
    uint16_t   crnti;
    SchMacRsp  rsp;
-   ErrorCause cause;
+   CauseOfResult cause;
 }SchUeDeleteRsp;
 
 /*Spec O-RAN, WG8, V7.0.0, '11.2.4.2.8' DL HARQ Indication*/