JIRA ID:[ODUHIGH-259, ODUHIGH-260]
[o-du/l2.git] / src / phy_stub / l1.h
index 97e295d..52fa512 100644 (file)
@@ -15,6 +15,7 @@
 #   limitations under the License.                                             #
 ################################################################################
 *******************************************************************************/
+#include <unistd.h>
 
 #define MAX_SLOT_VALUE   9
 #define MAX_SFN_VALUE    1023
@@ -29,15 +30,16 @@ bool     msg5ShortBsrSent = false;
 bool     msg5Sent = false;
 bool     dlDedMsg = false;
 bool     msgSecurityModeComp =  false;
-
+bool    msgRrcReconfiguration  =  false;
+bool    msgRegistrationComp    = false;
 typedef enum
 {
    MSG_TYPE_MSG3,
    MSG_TYPE_SHORT_BSR,
    MSG_TYPE_MSG5,
    MSG_TYPE_SECURITY_MODE_COMPLETE,
-   MSG_TYPE_RRC_RECONFIG_COMPLETE,
-   MSG_TYPE_REGISTRATION_COMPLETE
+   MSG_TYPE_REGISTRATION_COMPLETE,
+   MSG_TYPE_RRC_RECONFIG_COMPLETE
 }MsgType;
 
 void phyToMac ARGS((uint16_t msgType, uint32_t msgLen,void *msg));