Fixes for SSB transmission in Radio mode integration [Issue-ID: ODUHIGH-267]
[o-du/l2.git] / src / 5gnrmac / lwr_mac_ex_ms.c
index f446545..052e450 100644 (file)
@@ -19,6 +19,7 @@
 /* This file is the entry point for Lower MAC */\r
 \r
 #include "common_def.h"\r
+#include "lwr_mac_fsm.h"\r
 #include "lwr_mac_phy.h"\r
 \r
 /**************************************************************************\r
@@ -79,7 +80,12 @@ uint8_t lwrMacActvTsk(Pst *pst, Buffer *mBuf)
 #ifdef INTEL_WLS_MEM\r
               case EVT_START_WLS_RCVR:\r
                  {\r
-                    SPutMsg(mBuf);\r
+                    ODU_PUT_MSG_BUF(mBuf);\r
+\r
+                    /* Allocate memory for intial UL transmission */\r
+                    LwrMacEnqueueWlsBlock();\r
+\r
+                    /* Start thread to receive from L1 */\r
                     DU_LOG("\nINFO  -->  LWR MAC: Starting WLS receiver thread");\r
                     LwrMacRecvPhyMsg();\r
                     break;\r