RARandSib1Transmission
[o-du/l2.git] / src / cm / tfu.h
index 1ea29a5..01f7410 100755 (executable)
 #define TFU_MAX_HARQ_FDBKS       TFU_MAX_TB /*For Rel8/Rel9 UE*/
 #endif/*LTE_ADV*/
 
+/* Selector */
+#define MAC_SELECTOR_LC   0
+#define MAC_SELECTOR_TC   1
+#define MAC_SELECTOR_LWLC 2
+
 /* Event corresponding to each primitive at this interface */
 #define EVTTFUBNDREQ            1     /*!< Bind Request */
 #define EVTTFUBNDCFM            2     /*!< Bind Confirm */
 #define EVTTFUCRCIND            14    /*!< CRC indication. */
 #define EVTTFUTIMINGADVIND      15    /*!< Timing advance indication.*/
 #define EVTTFUDATREQ            16    /*!< Data Request.*/
-#define EVTTFUTTIIND            17    /*!< TTI indication.*/
-#define EVTTFUSCHTTIIND         18    /*!< TTI indication for scheduler.*/
+#define EVENT_SLOT_IND_TO_MAC   17    /*!< TTI indication.*/
+#define EVENT_SLOT_IND_TO_SCH   18    /*!< TTI indication for scheduler.*/
 #define EVTTFUCNTRLREQ          19    /*!< Control Request.*/
 #define EVTTFUPUCCHDELPWR       20    /*!< PUCCH Delta power. */
 #define EVTTFUDOAIND            21    /*!< PUCCH Delta power. */
 #define EVTTFUNONRTIND          24    /*!< Non-RT indication.*/
 #endif
 #define EVTTFUERRIND            25    /*!< TFU Error Indication */
+#define EVENT_RACH_IND_TO_MAC   26
+#define EVENT_RACH_IND_TO_SCH   27
 /** @} */
 
+#define MAX_PREAM_PER_SLOT      1    /* Max number of preamble per slot */
+#define MAC_RACH_PDU_PER_SLOT   1    /* Max number of rach pdu per slot */
+
 /* selector(coupling) values */
 #define TFU_SEL_TC              1    /*!< Selector for Tight coupling. */
 #define TFU_SEL_LC              0    /*!< Selector for Loose coupling. */