Fixes in current code for Multi-UE support [Issue-ID: ODUHIGH-354]
[o-du/l2.git] / src / phy_stub / phy_stub.h
index afb8b22..577a5ab 100644 (file)
 bool     slotIndicationStarted;
 uint16_t sfnValue;
 uint16_t slotValue;
-bool     rachIndSent;
-bool     msg3Sent;
-bool     msg5ShortBsrSent;
-bool     msg5Sent;
-bool     dlDedMsg;
-bool     msgSecurityModeComp;
-bool      msgRrcReconfiguration;
-bool      msgRegistrationComp;
+
+/* 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;
 
 typedef enum
 {