X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_cfg.h;h=b23d6b81c0d58a957f95f5355f24ab13192ffa0a;hb=b3d5c17f74361fcdcb9b9febff450292197e3a57;hp=316a1e7f49aa65df61eeb41e098f050c387ada77;hpb=66f88e54e39e6b46cfc47bd8afeaea1cb831d0cc;p=o-du%2Fl2.git diff --git a/src/du_app/du_cfg.h b/src/du_app/du_cfg.h index 316a1e7f4..b23d6b81c 100644 --- a/src/du_app/du_cfg.h +++ b/src/du_app/du_cfg.h @@ -24,6 +24,8 @@ #endif /* MACROS */ +#define GNB_ID 1 /* As per 38.423,Sec 9.2.2.1, gnbId range b/w 0 to 4294967295 */ + #define DU_INST 0 #define DU_ID 1 @@ -46,7 +48,6 @@ //TODO: while testing for TDD, Mu1 and 100 MHz, this flag must be enabled #ifdef NR_TDD #define DUPLEX_MODE DUP_MODE_TDD -#define NR_NUMEROLOGY 1 #define NR_DL_ARFCN 623400 #define NR_UL_ARFCN 623400 #define NR_FREQ_BAND 78 @@ -54,7 +55,6 @@ #define NR_BANDWIDTH BANDWIDTH_100MHZ #else #define DUPLEX_MODE DUP_MODE_FDD -#define NR_NUMEROLOGY 0 #define NR_DL_ARFCN 428000 #define NR_UL_ARFCN 390000 #define NR_FREQ_BAND 1 @@ -317,6 +317,13 @@ #define DRX_SLOT_OFFSET 0 #endif +/* In case of initial configuration we are supporting only 2 measurement + * information RRU.PrbTotDl and RRU.PrbTotUl. + * In case of configuration modification we are supporting 3 measurement + * information RRU.PrbTotDl, RRU.PrbTotUl and UECNTX.RelReq */ +#define NUM_OF_MEASUREMENT_INFO_SUPPORTED(_configType) \ + ((_configType == CONFIG_ADD) ? 2 :3) + typedef enum { GNBDU,