X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_cfg.h;h=51954a7f42fd320e27ce50897aa4d7f55a01f947;hb=088c1736896136012e5c70b916595c8471aec243;hp=ba5665f6246ba42f221a698d842525f29b077abd;hpb=237ccf5562b255fad3ba844d1bd0bbd761f3e78d;p=o-du%2Fl2.git diff --git a/src/du_app/du_cfg.h b/src/du_app/du_cfg.h index ba5665f62..51954a7f4 100644 --- a/src/du_app/du_cfg.h +++ b/src/du_app/du_cfg.h @@ -33,9 +33,15 @@ #define NR_PCI 1 #define NR_CELL_ID 1 #define NR_NUMEROLOGY 0 + #define DU_NAME "ORAN_OAM_DU" #define CELL_TYPE SMALL #define DUPLEX_MODE DUP_MODE_FDD + +#ifdef NR_TDD +#define DUPLEX_MODE DUP_MODE_TDD +#endif + #define DU_TAC 1 #define PLMN_MCC0 3 #define PLMN_MCC1 1 @@ -97,7 +103,11 @@ #define PRACH_PREAMBLE_RCVD_TGT_PWR -74 #define NUM_RA_PREAMBLE 63 #define RSRP_THRESHOLD_SSB 31 -#define TDD_PERIODICITY TX_PRDCTY_MS_2P5 + +#ifdef NR_TDD +#define TDD_PERIODICITY TX_PRDCTY_MS_5 +#endif + #define RSS_MEASUREMENT_UNIT DONT_REPORT_RSSI #define RA_CONT_RES_TIMER 64 #define RA_RSP_WINDOW 180 @@ -152,10 +162,11 @@ #define PUCCH_P0_NOMINAL -74 /* MACRO defines for TDD DL-UL Configuration */ -#define NUM_DL_SLOTS 3 -#define NUM_DL_SYMBOLS 12 -#define NUM_UL_SLOTS 1 -#define NUM_UL_SYMBOLS 0 +#define NUM_DL_SLOTS 7 +#define NUM_DL_SYMBOLS 12 +#define NUM_UL_SLOTS 2 +#define NUM_UL_SYMBOLS 1 +#define GUARD_SLOT_IDX 7 /* MACRO defines for SRC config */ #define SRS_RSRC_ID 1