X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fphy_stub%2Fphy_stub.h;h=941a99aca7fc9b43ef36f4187d14631f91edcb89;hb=49856df248fd976b4a9882ca4e650fc0bc3e4ee3;hp=ecc4b2b3d5164ffaf3983f0b055dae09e0c19900;hpb=0ba7b600f85b2975e1d60e5b8ad1523349b5f396;p=o-du%2Fl2.git diff --git a/src/phy_stub/phy_stub.h b/src/phy_stub/phy_stub.h index ecc4b2b3d..941a99aca 100644 --- a/src/phy_stub/phy_stub.h +++ b/src/phy_stub/phy_stub.h @@ -33,7 +33,7 @@ #define MAX_SFN_VALUE 1023 #define NR_PCI 1 #define SLOT_DELAY 3 -#define NUM_DRB_TO_PUMP_DATA 3 +#define NUM_DRB_TO_PUMP_DATA 2 #define NUM_UL_PACKETS 1 /*UE Ids for RACH IND*/ @@ -46,9 +46,9 @@ #define CB_RA_PREAMBLE_IDX 3 /* For contention based RA */ #define CF_RA_PREAMBLE_IDX 8 /* For contention free RA */ -bool slotIndicationStarted; -uint16_t sfnValue; -uint16_t slotValue; +extern bool slotIndicationStarted; +extern uint16_t sfnValue; +extern uint16_t slotValue; /*Mapping between LCG ID and BSR Idx*/ typedef struct lcgBufferSize @@ -70,6 +70,7 @@ typedef struct ueCb bool msg5ShortBsrSent; bool msg5Sent; bool dlDedMsg; + bool msgNasAuthenticationComp; bool msgNasSecurityModeComp; bool msgRrcSecurityModeComp; bool msgRrcReconfigComp; @@ -99,13 +100,14 @@ typedef struct phyDb UeDb ueDb; }PhyDb; -PhyDb phyDb; +extern PhyDb phyDb; typedef enum { MSG_TYPE_MSG3, MSG_TYPE_SHORT_BSR, MSG_TYPE_MSG5, + MSG_TYPE_NAS_AUTHENTICATION_COMPLETE, MSG_TYPE_NAS_SECURITY_MODE_COMPLETE, MSG_TYPE_RRC_SECURITY_MODE_COMPLETE, MSG_TYPE_REGISTRATION_COMPLETE,