X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2F5gnrrlc%2Fkw_env.h;h=c14fd1f17a8d4e8c52d8794f4c26a22c98c94e79;hb=3330932565e15a749fd5dd5039cdea2862ca51cc;hp=43135ce1a0991d281d4d267032ca1dc707924b20;hpb=5625a52ad68f6ad93684e68bbbdbaef0d462cf9a;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_env.h b/src/5gnrrlc/kw_env.h index 43135ce1a..c14fd1f17 100755 --- a/src/5gnrrlc/kw_env.h +++ b/src/5gnrrlc/kw_env.h @@ -18,11 +18,11 @@ /********************************************************************20** - Name: LTE RLC file + Name: NR RLC file Type: C include file - Desc: This file contains the constants required for LTE-RLC. + Desc: This file contains the constants required for NR RLC. The defines in this file need to be changed by the customer to reflect the software architecture needed to run under the target system hardware architecture. @@ -37,48 +37,48 @@ #ifndef __KWENVH__ #define __KWENVH__ -#define KW_MAX_RLC_INSTANCES 2 -#define KW_MAX_LI KWU_MAX_STA_IND_SDU +#define MAX_RLC_INSTANCES 2 +#define RLC_MAX_LI KWU_MAX_STA_IND_SDU -#define KW_MAX_DL_LI 28 -#define KW_MAX_NEW_DL_PDU 16 +#define RLC_MAX_DL_LI 28 +#define RLC_MAX_NEW_DL_PDU 16 /* kw003.201 Adding new environment variables */ /* This parameter is utilized when KW_BG_DL_PROC enbled. This parameter */ /* defines how many PDUs may be released in one go without affecting */ /* TTI response time */ /* kw004.201 modifed the value from 20 to 15 */ -#define KW_AM_MAX_PDUS_RLS 1 +#define RLC_AM_MAX_PDUS_RLS 1 /* This parameter governs maximum number of PDUs to processed at a */ /* given point when KW_BG_UL_PROC is enabled. */ /* kw004.201 modifed the value from 20 to 5 */ -#define KW_AM_MAX_UL_PDUS 1 +#define RLC_AM_MAX_UL_PDUS 1 -#define KW_AM_UM_MAX_UL_SDUS 1 -#define KW_AM_UM_MAX_DL_SDUS 300 +#define RLC_AM_UM_MAX_UL_SDUS 1 +#define RLC_AM_UM_MAX_DL_SDUS 300 #ifdef SPLIT_RLC_DL_TASK -#define KW_MAX_TO_BE_FREED 60 +#define RLC_MAX_TO_BE_FREED 60 #else -#define KW_MAX_TO_BE_FREED 10 +#define RLC_MAX_TO_BE_FREED 10 #endif /* Number of packets queued in SDU Q after which overload * START is signalled to PDCP for an UM bearer */ -#define KW_UM_RB_OVERLOAD_HIGH_THRES 512 +#define RLC_UM_RB_OVERLOAD_HIGH_THRES 512 /* Number of packets queued in SDU Q after which overload * STOP is signalled to PDCP for an UM bearer */ -#define KW_UM_RB_OVERLOAD_LOW_THRES 300 +#define RLC_UM_RB_OVERLOAD_LOW_THRES 300 /* Value of this macro can be in the range of 1 to RGU_MAX_PDU */ -#define KW_MAX_PDU 16 +#define RLC_MAX_PDU 16 #ifdef LTE_L2_MEAS /* This value is decided on the assumption that there will be maximum 3 active DRB at a time */ -#define KW_MAX_ACTV_DRB 2 +#define RLC_MAX_ACTV_DRB 2 /* Assumption is that all UEs wont have all RBs with max SDU: if greater, will be ignored */ -#define KW_L2MEAS_SDUIDX ((KW_MAX_DL_LI/4)*KW_MAX_ACTV_DRB) +#define RLC_L2MEAS_SDUIDX ((RLC_MAX_DL_LI/4)*RLC_MAX_ACTV_DRB) /* Number of out standing SDUS in one RbCb : This would be sufficient but anything more will be discarded for counters */ -#define KW_L2MEAS_MAX_OUTSTNGSDU 31 +#define RLC_L2MEAS_MAX_OUTSTNGSDU 31 #endif