Using TAPA Task to generated PHY Stub's slot indication [Issue-Id: ODUHIGH-348]
[o-du/l2.git] / src / phy_stub / phy_stub.h
index 4d78c49..afb8b22 100644 (file)
 #define NR_PCI            1
 #define SLOT_DELAY       3
 
-uint16_t sfnValue = 0;
-uint16_t slotValue = 0;
-bool     rachIndSent = false;
-bool     msg3Sent = false;
-bool     msg5ShortBsrSent = false;
-bool     msg5Sent = false;
-bool     dlDedMsg = false;
-bool     msgSecurityModeComp =  false;
-bool    msgRrcReconfiguration  =  false;
-bool    msgRegistrationComp    = false;
+bool     slotIndicationStarted;
+uint16_t sfnValue;
+uint16_t slotValue;
+bool     rachIndSent;
+bool     msg3Sent;
+bool     msg5ShortBsrSent;
+bool     msg5Sent;
+bool     dlDedMsg;
+bool     msgSecurityModeComp;
+bool      msgRrcReconfiguration;
+bool      msgRegistrationComp;
+
 typedef enum
 {
    MSG_TYPE_MSG3,
@@ -54,6 +56,8 @@ void fillMsgHeader ARGS((fapi_msg_t *hdr, uint16_t msgType, uint16_t msgLen));
 #endif
 void procPhyMessages(uint16_t msgType, uint32_t msgSize, void *msg);
 void l1StartConsoleHandler();
+void l1HdlSlotIndicaion(bool);
+void GenerateTicks();
 
 /**********************************************************************
          End of file