X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fphy_stub%2Fphy_stub.h;h=577a5ab23859d226a8ff589c18f8cd8df56fe24a;hb=c01ca171144bd6e576646466d420c6d5feaabc59;hp=afb8b22335d59bc0df7dcbf7b12c13c6e81599b5;hpb=f191979f3454e08cc049af12d6323819730260ef;p=o-du%2Fl2.git diff --git a/src/phy_stub/phy_stub.h b/src/phy_stub/phy_stub.h index afb8b2233..577a5ab23 100644 --- a/src/phy_stub/phy_stub.h +++ b/src/phy_stub/phy_stub.h @@ -29,14 +29,30 @@ 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 {