[JIRA ID: ODUHIGH-253]-sliv cfg table implementation
[o-du/l2.git] / src / 5gnrmac / rg_lmm.c
index eaf4975..60b589f 100755 (executable)
@@ -209,7 +209,7 @@ Reason reason;         /* reason */
    schActvInit(ENTMAC, (DEFAULT_CELLS + SCH_INST_START), DFLT_REGION, PWR_UP);
 
    /* Initialize lower mac */
-   lwrMacInit();
+   lwrMacLayerInit();
 
    return ROK;
 
@@ -273,6 +273,12 @@ RgMngmt  *cfg;    /* config structure  */
    switch(cfg->hdr.elmId.elmnt)
    {
       case STGEN:
+#ifdef INTEL_WLS_MEM
+         /* Start WLS message receiver thread */
+         LwrMacStartWlsRcvr();
+         /* Allocate memory for UL transmissions */
+         LwrMacEnqueueWlsBlock();
+#endif
         reason = rgLMMGenCfg(inst,&cfg->t.cfg); 
         break;
       case STRGUSAP: