Cleanup of all f1ap messages
[o-du/l2.git] / src / 5gnrmac / lwr_mac_upr_inf.c
index b17ca95..0c91610 100644 (file)
@@ -160,6 +160,34 @@ S16 packLwlcSlotInd (Pst *pst, SlotIndInfo *slotInd)
    return ROK;
 }
 
+/*******************************************************************
+ *
+ * @brief Packs and Sends Stop Ind to MAC
+ *
+ * @details
+ *
+ *    Function : packStopInd
+ *
+ *    Functionality:
+ *         Packs and Sends Stop Ind to MAC
+ *
+ * @params[in] Post structure pointer
+ * @return ROK     - success
+ *         RFAILED - failure
+ *
+ * ****************************************************************/
+uint16_t packStopInd(Pst *pst)
+{
+   if((pst->selector == MAC_SELECTOR_LC) || (pst->selector == MAC_SELECTOR_LWLC))
+   {
+      return ROK;
+   }
+   else
+   {
+      return RFAILED;
+   }
+}
+
 /**********************************************************************
          End of file
 **********************************************************************/