X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_env.h;fp=src%2F5gnrrlc%2Fkw_env.h;h=43135ce1a0991d281d4d267032ca1dc707924b20;hb=5625a52ad68f6ad93684e68bbbdbaef0d462cf9a;hp=0000000000000000000000000000000000000000;hpb=59f84608ec15c016958a6e0e0ddd813f376c0925;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_env.h b/src/5gnrrlc/kw_env.h new file mode 100755 index 000000000..43135ce1a --- /dev/null +++ b/src/5gnrrlc/kw_env.h @@ -0,0 +1,90 @@ +/******************************************************************************* +################################################################################ +# Copyright (c) [2017-2019] [Radisys] # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +################################################################################ +*******************************************************************************/ + +/********************************************************************20** + + Name: LTE RLC file + + Type: C include file + + Desc: This file contains the constants required for LTE-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. + + File: kw_env.h + +*********************************************************************21*/ +/** @file kw_env.h +@brief RLC Hash definitions +*/ + +#ifndef __KWENVH__ +#define __KWENVH__ + +#define KW_MAX_RLC_INSTANCES 2 +#define KW_MAX_LI KWU_MAX_STA_IND_SDU + +#define KW_MAX_DL_LI 28 +#define KW_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 +/* 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 KW_AM_UM_MAX_UL_SDUS 1 +#define KW_AM_UM_MAX_DL_SDUS 300 + +#ifdef SPLIT_RLC_DL_TASK +#define KW_MAX_TO_BE_FREED 60 +#else +#define KW_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 +/* 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 + +/* Value of this macro can be in the range of 1 to RGU_MAX_PDU */ +#define KW_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 +/* 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) +/* 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 +#endif + + +#endif /* __KWENVH__ */ + +/********************************************************************30** + + End of file +**********************************************************************/