X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Flwr_mac_upr_inf.h;h=3875a82f156444ce91c7071fb7727a35182b7949;hb=392607b7a8cbf1b7415b15517275dd1ef4e897a9;hp=a339786979a1fef6a030b1a9af6a9a8d860dc49e;hpb=db0a2ee4edd328449d01ab184d253327fca950d6;p=o-du%2Fl2.git diff --git a/src/5gnrmac/lwr_mac_upr_inf.h b/src/5gnrmac/lwr_mac_upr_inf.h index a33978697..3875a82f1 100644 --- a/src/5gnrmac/lwr_mac_upr_inf.h +++ b/src/5gnrmac/lwr_mac_upr_inf.h @@ -20,32 +20,17 @@ #ifndef __LWR_MAC_UPR_INF_H__ #define __LWR_MAC_UPR_INF_H__ - -#include "envopt.h" /* environment options */ -#include "envdep.h" /* environment dependent */ -#include "envind.h" /* environment independent */ -#include "gen.h" /* general layer */ -#include "ssi.h" /* system services */ -#include "cm5.h" /* common timers defines */ -#include "cm_hash.h" /* common hash list defines */ -#include "cm_llist.h" /* common linked list defines */ -#include "cm_mblk.h" /* memory management */ -#include "cm_tkns.h" /* common tokens */ -#include "cm_lte.h" /* common tokens */ #include "tfu.h" /* header/extern include files (.x) */ -#include "gen.x" /* general layer typedefs */ -#include "ssi.x" /* system services typedefs */ -#include "cm5.x" /* common timers */ -#include "cm_hash.x" /* common hash list */ -#include "cm_lib.x" /* common library */ -#include "cm_llist.x" /* common linked list */ -#include "cm_mblk.x" /* memory management */ -#include "cm_tkns.x" /* common tokens */ -#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,7 +39,6 @@ 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); @@ -64,6 +48,9 @@ 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