-bool rachIndSent;
-bool msg3Sent;
-bool msg5ShortBsrSent;
-bool msg5Sent;
-bool dlDedMsg;
-bool msgSecurityModeComp;
-bool msgRrcReconfiguration;
-bool msgRegistrationComp;
+
+/*Mapping between LCG ID and BSR Idx*/
+typedef struct lcgBufferSize
+{
+ uint8_t lcgId; /*LCG ID for which BSR will be requested*/
+ /*BufferStatus Index. This is as per Spec 38.321, BSR will be reported as Index
+ * Refer table Table 6.1.3.1-1:Short_BSR and Table 6.1.3.1-2:Long_BSR*/
+ uint8_t bsIdx;
+}LcgBufferSize;
+
+/* UE specific information */
+typedef struct ueCb
+{
+ uint8_t ueId;
+ uint16_t crnti;
+ bool rachIndSent;
+ bool msg3Sent;
+ bool msg5ShortBsrSent;
+ bool msg5Sent;
+ bool dlDedMsg;
+ bool msgSecurityModeComp;
+ bool msgRrcReconfiguration;
+ bool msgRegistrationComp;
+}UeCb;
+
+/* Database to store information for all UE */
+typedef struct ueDb
+{
+ uint8_t numActvUe;
+ UeCb ueCb[MAX_NUM_UE];
+}UeDb;
+
+UeDb ueDb;