X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Flwr_mac_fsm.h;h=96cff058237313442d9ce4ef619a35853c05bef9;hb=53088c437fc01fb772f221e228ba7475fb5131d5;hp=606e65d110cc8db540741552ac19af689c2e05ce;hpb=ba78fa13b01e0729fe0a6a7a18cbf1d52cdcda1c;p=o-du%2Fl2.git diff --git a/src/5gnrmac/lwr_mac_fsm.h b/src/5gnrmac/lwr_mac_fsm.h index 606e65d11..96cff0582 100644 --- a/src/5gnrmac/lwr_mac_fsm.h +++ b/src/5gnrmac/lwr_mac_fsm.h @@ -29,6 +29,10 @@ #define CORESET_TYPE2 2 #define CORESET_TYPE3 3 +#ifdef INTEL_WLS_MEM +#define WLS_MEM_FREE_PRD 10 /* Free memory after 10 slot ind */ +#endif + #define FILL_FAPI_LIST_ELEM(_currElem, _nextElem, _msgType, _numMsgInBlock, _alignOffset)\ {\ _currElem->msg_type = (uint8_t) _msgType;\ @@ -56,11 +60,11 @@ 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); -uint16_t fillUlTtiReq(SlotIndInfo currTimingInfo); uint16_t fillDlTtiReq(SlotIndInfo currTimingInfo); uint16_t fillUlDciReq(SlotIndInfo currTimingInfo); - typedef uint8_t (*lwrMacFsmHdlr)(void *); +void lwrMacLayerInit(Region region, Pool pool); + #endif /**********************************************************************