X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Frlc_mac_inf.h;h=45fc1eeb3f4673c840518198a60aa023d5704450;hb=8748e788a43465b180c15d31908c276504dad6d4;hp=5c4605571b19bcca877c9cfcbdeb526360d76d3c;hpb=514d4c21e79d37636005186dd9ac5510742b7618;p=o-du%2Fl2.git diff --git a/src/cm/rlc_mac_inf.h b/src/cm/rlc_mac_inf.h index 5c4605571..45fc1eeb3 100644 --- a/src/cm/rlc_mac_inf.h +++ b/src/cm/rlc_mac_inf.h @@ -37,7 +37,7 @@ typedef struct rlcBoStatus uint16_t ueIdx; /*!< UE ID */ bool commCh; /*!< Common or Dedicated Channel */ uint8_t lcId; /*!< Logical channel ID */ - uint16_t bo; /*!< Buffer occupancy reported by RLC */ + uint32_t bo; /*!< Buffer occupancy reported by RLC */ }RlcBoStatus; /* Scheduled logical channel info */ @@ -45,7 +45,7 @@ typedef struct rlcLcSchInfo { bool commCh; /* Common or dedicated channel */ uint8_t lcId; /*!< Logical channel ID */ - uint16_t bufSize; /*!< Total buffer size in bytes scheduled by MAC */ + uint32_t bufSize; /*!< Total buffer size in bytes scheduled by MAC */ }RlcLcSchInfo; /* Schedule result report */ @@ -70,12 +70,13 @@ typedef struct rlcPduInfo typedef struct rlcData { - // add slot info uint16_t cellId; /*!< CELL ID */ uint16_t rnti; /*!< Temporary CRNTI */ SlotIndInfo slotInfo; /*!< Timing info */ uint8_t numPdu; /*!< Number of RLC PDUs */ RlcPduInfo pduInfo[MAX_NUM_PDU]; + uint8_t numLc; + RlcBoStatus boStatus[MAX_NUM_LC]; /*!< Buffer occupancy */ }RlcData; /* Function pointers */