X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Flwr_mac_fsm.h;h=14aa322ec20f859d3f4f360c1d5dc7c15fdcfba3;hb=e2f19652869379312c6c6575e3aa4bba3bcd104e;hp=7c8b0d85cd0ee7397721ec73a93bd30b049532d6;hpb=069ae37558afd5aee2d1072bbf5b517cf665bdd8;p=o-du%2Fl2.git diff --git a/src/5gnrmac/lwr_mac_fsm.h b/src/5gnrmac/lwr_mac_fsm.h index 7c8b0d85c..14aa322ec 100644 --- a/src/5gnrmac/lwr_mac_fsm.h +++ b/src/5gnrmac/lwr_mac_fsm.h @@ -24,25 +24,28 @@ #define FAPI_UINT_32 4 #define INVALID_VALUE -1 -#include "lwr_mac.h" - -#ifdef FAPI -#include "fapi.h" -#endif - -S16 lwr_mac_handleInvalidEvt(void *msg); -S16 lwr_mac_handleParamReqEvt(void *msg); -S16 lwr_mac_handleParamRspEvt(void *msg); -S16 lwr_mac_handleConfigReqEvt(void *msg); -S16 lwr_mac_handleConfigRspEvt(void *msg); -S16 lwr_mac_handleStartReqEvt(void *msg); -S16 lwr_mac_handleStopReqEvt(void *msg); -void sendToLowerMac(U16, U32, void *); -uint16_t handleDlTtiReq(CmLteTimingInfo *dlTtiReqtimingInfo); -void handlePhyMessages(uint16_t msgType, uint32_t msgSize, void *msg); -S16 handleUlTtiReq(CmLteTimingInfo *currTimingInfo); - -typedef S16 (*lwrMacFsmHdlr)(void *); +#define CORESET_TYPE0 0 +#define CORESET_TYPE1 1 +#define CORESET_TYPE2 2 +#define CORESET_TYPE3 3 + +typedef enum{ + SI_RNTI_TYPE, + RA_RNTI_TYPE, + TC_RNTI_TYPE +}RntiType; + +uint8_t lwr_mac_procInvalidEvt(void *msg); +uint8_t lwr_mac_procParamReqEvt(void *msg); +uint8_t lwr_mac_procParamRspEvt(void *msg); +uint8_t lwr_mac_procConfigReqEvt(void *msg); +uint8_t lwr_mac_procConfigRspEvt(void *msg); +uint8_t lwr_mac_procStartReqEvt(void *msg); +uint8_t lwr_mac_procStopReqEvt(void *msg); +void sendToLowerMac(uint16_t, uint32_t, void *); +void procPhyMessages(uint16_t msgType, uint32_t msgSize, void *msg); + +typedef uint8_t (*lwrMacFsmHdlr)(void *); #endif /**********************************************************************