1 /*******************************************************************************
2 ################################################################################
3 # Copyright (c) [2017-2019] [Radisys] #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
17 *******************************************************************************/
19 /************************************************************************
25 Desc: C source code for Entry point fucntions
29 **********************************************************************/
32 @brief This module handles uplink harq related functionality in MAC.
35 /* header include files -- defines (.h) */
36 #include "common_def.h"
37 #include "rg_env.h" /* MAC Environment Defines */
38 #include "tfu.h" /* TFU Interface defines */
39 #include "crg.h" /* CRG Interface defines */
40 #include "rgu.h" /* RGU Interface defines */
41 #include "rg_sch_inf.h" /* TFU Interface defines */
42 #include "lrg.h" /* LRG Interface defines */
44 #include "rg.h" /* MAC defines */
45 #include "rg_err.h" /* MAC error defines */
47 /* header/extern include files (.x) */
49 #include "tfu.x" /* TFU Interface defines */
50 #include "crg.x" /* CRG Interface includes */
51 #include "rgu.x" /* RGU Interface includes */
52 #include "rg_sch_inf.x" /* SCH Interface defines */
53 #include "rg_prg.x" /* PRG Interface defines */
54 #include "lrg.x" /* LRG Interface includes */
56 #include "du_app_mac_inf.h"
57 #include "rg.x" /* MAC includes */
65 /* forward references */
68 * @brief Handler for initializing the HARQ entity.
72 * Function: rgUHMCrgUeCfg
77 * - Initialize maxHqRetx
80 * @param[in,out] *ueCb
92 ueCb->ul.hqEnt.maxHqRetx = (ueCfg->ueUlHqCfg.maxUlHqTx - 1);
97 * @brief Handler for re-initializing the HARQ entity.
101 * Function: rgUHMCrgUeRecfg
106 * - Re-initialize maxHqRetx
109 * @param[in,out] *ueCb
122 ueCb->ul.hqEnt.maxHqRetx = (ueRecfg->ueUlHqRecfg.maxUlHqTx - 1);
124 } /* rgUHMCrgUeCfg */
126 /**********************************************************************
129 **********************************************************************/