X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Flwr_mac_upr_inf.h;h=1fbbd571035d242ba9e8d885a443101571c1ec21;hb=134974ec70ab6e0501889e5d162a3b0c806c3bdc;hp=98327a8cd283e01e7a3d93d14a75c987149a442d;hpb=b490cd1231cfcc837e8bfccc40c6bb106dceef7c;p=o-du%2Fl2.git diff --git a/src/5gnrmac/lwr_mac_upr_inf.h b/src/5gnrmac/lwr_mac_upr_inf.h index 98327a8cd..1fbbd5710 100644 --- a/src/5gnrmac/lwr_mac_upr_inf.h +++ b/src/5gnrmac/lwr_mac_upr_inf.h @@ -46,6 +46,12 @@ #include "cm_lte.x" /* common tokens */ #include "tfu.x" +/* events */ +#define EVENT_RACH_IND_TO_MAC 0 +#define EVENT_CRC_IND_TO_MAC 1 +#define EVENT_RX_DATA_IND_TO_MAC 2 +#define EVENT_STOP_IND_TO_MAC 3 + typedef S16 (*packSlotIndMsg)(Pst *pst, SlotIndInfo *slotInd); S16 packLcSlotInd (Pst *pst, SlotIndInfo *slotInd); S16 packLwlcSlotInd (Pst *pst, SlotIndInfo *slotInd); @@ -54,6 +60,18 @@ typedef uint16_t (*packRachIndMsg)(Pst *pst, RachInd *rachInd); uint16_t packRachInd(Pst *pst, RachInd *rachInd); uint16_t fapiMacRachInd(Pst *pst, RachInd *rachInd); +typedef uint16_t (*packCrcIndMsg)(Pst *pst, CrcInd *crcInd); +uint16_t packCrcInd(Pst *pst, CrcInd *crcInd); +uint16_t fapiMacCrcInd(Pst *pst, CrcInd *crcInd); + + +typedef uint16_t (*packRxDataIndMsg)(Pst *pst, RxDataInd *rxDataInd); +uint16_t packRxDataInd(Pst *pst, RxDataInd *rxDataInd); +uint16_t fapiMacRxDataInd(Pst *pst, RxDataInd *rxDataInd); + +typedef uint16_t (*packStopIndMsg)(Pst *pst); +uint16_t packStopInd(Pst *pst); +uint16_t fapiMacStopInd(Pst *pst); #endif /********************************************************************** End of file