X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2F5gnrmac%2Flwr_mac_ex_ms.c;h=052e450c9ad897344b7658acc2ffe8245c04cd6e;hb=ff564d395659e1a7175787af8237d17c665c9660;hp=f446545f772edeb8ec79a7db6007e84d3de1ec43;hpb=d0d5d7b78e2a24af16003322cfd1c78bcd8d7664;p=o-du%2Fl2.git diff --git a/src/5gnrmac/lwr_mac_ex_ms.c b/src/5gnrmac/lwr_mac_ex_ms.c index f446545f7..052e450c9 100644 --- a/src/5gnrmac/lwr_mac_ex_ms.c +++ b/src/5gnrmac/lwr_mac_ex_ms.c @@ -19,6 +19,7 @@ /* This file is the entry point for Lower MAC */ #include "common_def.h" +#include "lwr_mac_fsm.h" #include "lwr_mac_phy.h" /************************************************************************** @@ -79,7 +80,12 @@ uint8_t lwrMacActvTsk(Pst *pst, Buffer *mBuf) #ifdef INTEL_WLS_MEM case EVT_START_WLS_RCVR: { - SPutMsg(mBuf); + ODU_PUT_MSG_BUF(mBuf); + + /* Allocate memory for intial UL transmission */ + LwrMacEnqueueWlsBlock(); + + /* Start thread to receive from L1 */ DU_LOG("\nINFO --> LWR MAC: Starting WLS receiver thread"); LwrMacRecvPhyMsg(); break;