[Epic-ID: ODUHIGH-538][Issue-ID: ODUHIGH-575] Deallocating the variables allocated...
[o-du/l2.git] / src / phy_stub / phy_stub.h
index fc23df6..941a99a 100644 (file)
@@ -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
@@ -100,7 +100,7 @@ typedef struct phyDb
    UeDb    ueDb;
 }PhyDb;
 
-PhyDb phyDb;
+extern PhyDb phyDb;
 
 typedef enum
 {