X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fphy_stub%2Fphy_stub.h;h=6ee1a8fef6b2b5f59b5ac69e950a8cf7256cdfed;hb=6178d5e32f0c57e198de80afc23b92c635e4f6df;hp=22d968818e21768e3f5f6d0d4b878e2558c192f5;hpb=e6391c742645c17e4494d52f94fdeb66cfc99d1e;p=o-du%2Fl2.git diff --git a/src/phy_stub/phy_stub.h b/src/phy_stub/phy_stub.h index 22d968818..6ee1a8fef 100644 --- a/src/phy_stub/phy_stub.h +++ b/src/phy_stub/phy_stub.h @@ -36,6 +36,15 @@ bool slotIndicationStarted; uint16_t sfnValue; uint16_t slotValue; +/*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 { @@ -80,6 +89,10 @@ void procPhyMessages(uint16_t msgType, uint32_t msgSize, void *msg); void l1StartConsoleHandler(); void l1HdlSlotIndicaion(bool); void GenerateTicks(); +uint8_t l1SendUlUserData(uint8_t drbId, uint8_t ueIdx); +uint8_t l1SendStatusPdu(); +uint16_t l1BuildAndSendSlotIndication(); +uint16_t l1BuildAndSendStopInd(); /********************************************************************** End of file