-FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:8-u18.04 as ubuntu
+FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:9-u18.04 as ubuntu
ADD . /opt/o-du-l2
WORKDIR /opt/o-du-l2
-FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:8-u18.04 as ubuntu
+FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:9-u18.04 as ubuntu
ADD . /opt/o-du-l2
WORKDIR /opt/o-du-l2
# macro for output file name and makefile name
#
-PLTFRM_FLAGS= -UMSPD -DODU #-DFAPI -DINTEL_WLS -DEGTP_TEST
+PLTFRM_FLAGS= -UMSPD -DODU #-DINTEL_FAPI -DINTEL_WLS -DEGTP_TEST
ifeq ($(MODE),TDD)
PLTFRM_FLAGS += -DMODE=TDD
#define MAX_NUM_CELL_SUPP 1
-#include "envdep.h"
-#include "gen.h"
-#include "ssi.h"
-#include "cm_hash.h"
-#include "cm_lte.h"
-
-#include "gen.x"
-#include "ssi.x"
-#include "cm_hash.x"
-#include "cm_lte.x"
-#include "cm_lib.x"
#include "du_app_mac_inf.h"
#ifdef INTEL_WLS
################################################################################
*******************************************************************************/
-#include <stdlib.h>
-#include <stdint.h>
-#include <stdbool.h>
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h" /* Layer manager interface includes*/
#include "crg.h" /* CRG interface includes*/
#include "rgu.h" /* RGU interface includes*/
#include "lwr_mac_fsm.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "rgu.x" /* RGU types */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "mac.h"
#include "rg.x" /* typedefs for MAC */
#include "lwr_mac_phy.h"
-#include "common_def.h"
-#include "math.h"
#define MIB_SFN_BITMASK 0xFC
#define PDCCH_PDU_TYPE 0
RETVALUE(ROK);
}
-#ifdef FAPI
+#ifdef INTEL_FAPI
/*******************************************************************
*
* @brief Fills FAPI message header
S16 lwr_mac_handleParamReqEvt(void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
/* startGuardTimer(); */
uint32_t msgLen = 0; //Length of message Body
fapi_param_req_t *paramReq = NULL;
S16 lwr_mac_handleParamRspEvt(void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
/* stopGuardTimer(); */
uint8_t index;
uint32_t encodedVal;
S16 lwr_mac_handleConfigReqEvt(void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
Inst inst = 0;
uint8_t idx = 0;
uint8_t index = 0;
S16 lwr_mac_handleConfigRspEvt(void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
fapi_config_resp_t *configRsp;
configRsp = (fapi_config_resp_t *)msg;
* ****************************************************************/
S16 lwr_mac_handleStartReqEvt(void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
uint32_t msgLen = 0;
fapi_start_req_t *startReq;
S16 lwr_mac_handleStopReqEvt(void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
uint32_t msgLen = 0;
fapi_stop_req_t *stopReq = NULLP;
LWR_MAC_ALLOC(stopReq, sizeof(fapi_stop_req_t));
DU_LOG("\nLWR_MAC: MIB PDU %x", *val);
}
-#ifdef FAPI
+#ifdef INTEL_FAPI
/*******************************************************************
*
* @brief fills SSB PDU required for DL TTI info in MAC
* ****************************************************************/
uint16_t handleDlTtiReq(SlotIndInfo currTimingInfo)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
uint8_t idx;
uint8_t nPdu = 0;
uint8_t numPduEncoded = 0;
* ****************************************************************/
uint16_t sendTxDataReq(SlotIndInfo currTimingInfo, DlSchedInfo *dlInfo)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
uint8_t nPdu = 0;
uint32_t msgLen = 0;
uint16_t pduIndex = 0;
* Pointer to CurrUlSlot
* @return count
* ********************************************************************/
-#ifdef FAPI
+#ifdef INTEL_FAPI
uint8_t getnPdus(fapi_ul_tti_req_t *ulTtiReq, MacUlSlot *currUlSlot)
{
uint8_t pduCount = 0;
void setNumCs(uint8_t *numCs, MacCellCfg *macCellCfg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
uint8_t idx;
if(macCellCfg != NULLP)
{
* Pointer to msgLen
* ********************************************************************/
-#ifdef FAPI
+#ifdef INTEL_FAPI
void fillPrachPdu(fapi_ul_tti_req_pdu_t *ulTtiReqPdu, MacCellCfg *macCellCfg, MacUlSlot *currUlSlot, uint32_t *msgLen)
{
if(ulTtiReqPdu != NULLP)
******************************************************************/
uint16_t handleUlTtiReq(SlotIndInfo currTimingInfo)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
uint8_t pduIdx = -1;
uint8_t numPdu = 0;
uint32_t msgLen = 0;
#include "lwr_mac.h"
-#ifdef FAPI
+#ifdef INTEL_FAPI
#include "fapi.h"
#endif
*******************************************************************************/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_lte.h" /* Common LTE Defines */
-#include "cm_mblk.h" /* Common LTE Defines */
+#include "common_def.h"
#include "tfu.h" /* RGU Interface defines */
-#ifdef FAPI
+#ifdef INTEL_FAPI
#include "fapi.h"
#endif
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_lte.x" /* Common LTE Defines */
-#include "cm_mblk.x" /* Common LTE Defines */
#include "tfu.x" /* RGU Interface includes */
#include "du_log.h"
#include "lwr_mac_fsm.h"
#include "lwr_mac_upr_inf.h"
#include "rg.h"
-#ifdef FAPI
+#ifdef INTEL_FAPI
/* Function pointer for slot indication from lower mac to mac */
packSlotIndMsg packSlotIndOpts[] =
{
pst->dstInst = 0;
pst->region = 0;
pst->pool = 0;
- pst->selector = MAC_SELECTOR_TC;
+ pst->selector = ODU_SELECTOR_TC;
}
/*******************************************************************
void handlePhyMessages(uint16_t msgType, uint32_t msgSize, void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
/* extract the header */
fapi_msg_t *header;
header = (fapi_msg_t *)msg;
/* This file contains APIs to send/receive messages from PHY */
-#include <stdio.h>
-#include <stdint.h>
-
-#include "envdep.h"
-#include "gen.h"
-#include "ssi.h"
-#include "gen.x"
+#include "common_def.h"
#include "rg.h"
#include "lwr_mac_phy.h"
#include "lwr_mac_fsm.h"
#ifndef _LWR_MAC_PHY_H_
#define _LWR_MAC_PHY_H_
-#include "envdep.h"
-#include "gen.h"
-#include "ssi.h"
-#include "cm_llist.h"
-
-#include "gen.x"
-#include "ssi.x"
-#include "cm_llist.x"
typedef enum
{
# limitations under the License. #
################################################################################
*******************************************************************************/
-
+#include "common_def.h"
#include "lwr_mac_upr_inf.h"
/*******************************************************************
* ****************************************************************/
uint16_t packCrcInd(Pst *pst, CrcInd *crcInd)
{
- if((pst->selector == MAC_SELECTOR_LC) || (pst->selector == MAC_SELECTOR_LWLC))
+ if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LWLC))
{
return ROK;
}
- else
- {
- return RFAILED;
- }
+ return RFAILED;
}
/*******************************************************************
* ****************************************************************/
uint16_t packRxDataInd(Pst *pst, RxDataInd *rxDataInd)
{
- if((pst->selector == MAC_SELECTOR_LC) || (pst->selector == MAC_SELECTOR_LWLC))
+ if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LWLC))
{
return ROK;
}
* ****************************************************************/
uint16_t packRachInd(Pst *pst, RachInd *rachInd)
{
- if((pst->selector == MAC_SELECTOR_LC) || (pst->selector == MAC_SELECTOR_LWLC))
+ if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LWLC))
{
return ROK;
}
- else
- {
- return RFAILED;
- }
+ return RFAILED;
}
/*******************************************************************
* ****************************************************************/
uint16_t packStopInd(Pst *pst)
{
- if((pst->selector == MAC_SELECTOR_LC) || (pst->selector == MAC_SELECTOR_LWLC))
+ if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LWLC))
{
return ROK;
}
#ifndef __LWR_MAC_UPR_INF_H__
#define __LWR_MAC_UPR_INF_H__
-
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timers defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_llist.h" /* common linked list defines */
-#include "cm_mblk.h" /* memory management */
-#include "cm_tkns.h" /* common tokens */
-#include "cm_lte.h" /* common tokens */
#include "tfu.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x"
/* events */
/* This file contains all utility functions for MAC CL */
-#include "stdio.h"
-#include "envopt.h"
-#include "envdep.h"
-#include "envind.h"
-#include "gen.h"
-#include "ssi.h"
-#include "cm_hash.h"
-#include "gen.x"
-#include "ssi.x"
-#include "cm_hash.x"
+#include "common_def.h"
#include "lwr_mac.h"
/*******************************************************************
# limitations under the License. #
################################################################################
*******************************************************************************/
-#include <stdlib.h>
-#include <stdint.h>
-#include <stdbool.h>
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
+#include "du_log.h"
+#include "du_app_mac_inf.h"
#include "lrg.h" /* Layer manager interface includes*/
#include "crg.h" /* CRG interface includes*/
-#include "rgu.h" /* RGU interface includes*/
#include "tfu.h" /* TFU interface includes */
+#include "rgu.h" /* RGU interface includes*/
#include "rg_sch_inf.h" /* SCH interface includes */
-#include "rg_prg.h" /* PRG (MAC-MAC) interface includes*/
#include "rg_env.h" /* MAC environmental includes*/
#include "rg.h" /* MAC includes*/
#include "rg_err.h" /* MAC error includes*/
-#include "du_log.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
-#include "rgu.x" /* RGU types */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "crg.x" /* CRG interface includes */
+#include "mac.h"
+#include "rgu.x" /* RGU types */
#include "rg_sch_inf.x" /* SCH interface typedefs */
#include "rg_prg.x" /* PRG (MAC-MAC) Interface typedefs */
-#include "du_app_mac_inf.h"
-#include "mac.h"
#include "rg.x" /* typedefs for MAC */
-
/*******************************************************************
*
* @brief De-mux of MAC-Sub PDUs from Rx Data Ind Pdu
*******************************************************************************/
/* header include files -- defines (.h) */
-#include <stdbool.h>
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timers defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_llist.h" /* common linked list defines */
-#include "cm_mblk.h" /* memory management */
-#include "cm_tkns.h" /* common tokens */
-#include "cm_lte.h" /* common tokens */
+#include "common_def.h"
#include "rgu.h"
#include "tfu.h"
#include "rg_sch_inf.h"
#include "lwr_mac.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "rgu.x"
#include "tfu.x"
#include "rg_sch_inf.x"
* ****************************************************************/
uint16_t MacHdlCellStopReq(Pst *pst, MacCellStopInfo *cellStopInfo)
{
- #ifdef FAPI
+#ifdef INTEL_FAPI
DU_LOG("\nMAC : Sending cell stop request to Lower Mac");
sendToLowerMac(FAPI_STOP_REQUEST, 0, cellStopInfo);
- #endif
+#endif
MAC_FREE_SHRABL_BUF(pst->region, pst->pool, cellStopInfo, \
sizeof(MacCellStopInfo));
ulCcchIndInfo->ulCcchMsg = rrcContainer;
/* Fill Pst */
- pst.selector = DU_MAC_LWLC;
+ pst.selector = ODU_SELECTOR_LWLC;
pst.srcEnt = ENTRG;
pst.dstEnt = ENTDUAPP;
pst.dstInst = 0;
################################################################################
*******************************************************************************/
-#include <stdlib.h>
-#include <stdint.h>
-#include <stdbool.h>
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h" /* Layer manager interface includes*/
#include "crg.h" /* CRG interface includes*/
#include "rgu.h" /* RGU interface includes*/
#include "du_log.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "rgu.x" /* RGU types */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
################################################################################
*******************************************************************************/
/* header include files (.h) */
-#include <stdbool.h>
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "tfu.h" /* RGU Interface includes */
#include "lrg.h"
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_lte.x" /* Common LTE Defines */
#include "tfu.x" /* RGU Interface includes */
#include "lrg.x"
#include "du_app_mac_inf.h"
################################################################################
*******************************************************************************/
/* header include files (.h) */
-#include "stdbool.h"
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "rgu.h"
#include "tfu.h" /* RGU Interface includes */
#include "lrg.h"
#include "rg_env.h"
#include "rg.h"
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_lte.x" /* Common LTE Defines */
#include "rgu.x"
#include "tfu.x" /* RGU Interface includes */
#include "lrg.x"
slotInfo->slot = slotInd->slot;
/* Fill Pst */
- pst.selector = DU_MAC_LWLC;
+ pst.selector = ODU_SELECTOR_LWLC;
pst.srcEnt = ENTRG;
pst.dstEnt = ENTDUAPP;
pst.dstInst = 0;
################################################################################
*******************************************************************************/
/* header include files (.h) */
-#include <stdbool.h>
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "tfu.h" /* RGU Interface includes */
#include "lrg.h"
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_lte.x" /* Common LTE Defines */
#include "tfu.x" /* RGU Interface includes */
#include "lrg.x"
#include "du_app_mac_inf.h"
/* This file contains the definitions for Upper Interface APIs that are
* invoked from MAC */
-
+#include "common_def.h"
#include "mac_upr_inf_api.h"
/* Funtion pointer options for slot indication */
/* This file contains the definitions for Upper Interface APIs that are
* invoked from MAC */
-/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timers defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_llist.h" /* common linked list defines */
-#include "cm_mblk.h" /* memory management */
-#include "cm_tkns.h" /* common tokens */
-#include "cm_lte.h" /* common tokens */
-
-/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "du_app_mac_inf.h"
static int RLOG_MODULE_ID=4096;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h" /* Layer manager interface includes*/
#include "crg.h" /* CRG interface includes*/
#include "rgu.h" /* RGU interface includes*/
#include "rg_err.h" /* MAC error includes*/
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "rgu.x" /* RGU types */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
static const char* RLOG_MODULE_NAME="MAC";
static int RLOG_FILE_ID=181;
static int RLOG_MODULE_ID=4096;
+
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
+#include "tfu.h"
+#include "du_app_mac_inf.h"
#include "lrg.h"
#include "crg.h"
#include "rgu.h"
-#include "tfu.h"
#include "rg_sch_inf.h"
-#include "rg_prg.h" /* PRG interface includes*/
#include "rg_env.h"
#include "rg.h"
#include "rg_err.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer */
-#include "ssi.x" /* system service interface */
-#include "cm5.x" /* common timers */
-#include "cm_lib.x" /* common library */
-#include "cm_hash.x" /* common hash list */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_llist.x" /* common linked list library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common LTE */
+#include "tfu.x"
#include "lrg.x"
#include "crg.x"
#include "rgu.x"
-#include "tfu.x"
#include "rg_sch_inf.x"
#include "rg_prg.x" /* PRG interface typedefs*/
-#include "du_app_mac_inf.h"
#include "rg.x"
#ifdef LTE_ADV
#include "rg_pom_scell.x"
*/
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
+#include "tfu.h"
+#include "du_app_mac_inf.h"
#include "lrg.h"
#include "crg.h"
#include "rgu.h"
-#include "tfu.h"
#include "rg_sch_inf.h"
#include "rg_env.h"
#include "rg.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer */
-#include "ssi.x" /* system service interface */
-#include "cm5.x" /* common timers */
-#include "cm_lib.x" /* common library */
-#include "cm_hash.x" /* common hash list */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_llist.x" /* common linked list library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common LTE */
+#include "tfu.x"
#include "lrg.x"
#include "crg.x"
#include "rgu.x"
-#include "tfu.x"
#include "rg_sch_inf.x"
#include "rg_prg.x" /* PRG interface typedefs*/
-#include "du_app_mac_inf.h"
#include "rg.x"
-
/* local defines */
PRIVATE S16 rgDBMInitUeCbLst ARGS(( RgCellCb *cellCb, U16 numBins));
PRIVATE Void rgDBMInitDedLcLst ARGS((RgUeCb *ueCb));
static int RLOG_FILE_ID=279;
static int RLOG_MODULE_ID=4096;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
+#include "common_def.h"
#ifdef L2_OPTMZ
#include "ss_strm.h"
#endif
-#include "cm5.h" /* common timers */
-#include "cm_hash.h" /* common hash list */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
#include "lrg.h"
#include "crg.h"
-#include "rgu.h"
#include "tfu.h"
+#include "rgu.h"
#include "rg_sch_inf.h"
#include "rg_env.h"
#include "rg_err.h"
#include "rg.h"
+#include "du_app_mac_inf.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer */
-#include "ssi.x" /* system service interface */
#ifdef L2_OPTMZ
#include "ss_strm.x"
#endif
-#include "cm5.x" /* common timers */
-#include "cm_lib.x" /* common library */
-#include "cm_hash.x" /* common hash list */
-#include "cm_llist.x" /* common linked list library */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common LTE */
#include "lrg.x"
#include "crg.x"
-#include "rgu.x"
#include "tfu.x"
+#include "rgu.x"
#include "rg_sch_inf.x"
#include "rg_prg.x" /* PRG interface typedefs */
-#include "du_app_mac_inf.h"
#include "rg.x"
#ifdef L2_OPTMZ
static int RLOG_FILE_ID=176;
static int RLOG_MODULE_ID=4096;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
+#include "common_def.h"
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-
-#include "cm_lte.h" /* Common LTE */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-
#include "rg_env.h" /* MAC Environment Defines */
#include "tfu.h" /* CRG Interface defines */
#include "crg.h" /* CRG Interface defines */
#include "rg_err.h" /* MAC error defines */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* common timers */
-#include "cm_lib.x" /* common library */
-#include "cm_lte.x" /* Common LTE */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
#include "rgu.x" /* RGU types */
#include "tfu.x" /* CRG Interface includes */
registered with SSI during the LTE MAC Task initialization.
*/
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timers defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_llist.h" /* common linked list defines */
-#include "cm_mblk.h" /* memory management */
-#include "cm_tkns.h" /* common tokens */
-#include "cm_lte.h" /* common tokens */
+#include "common_def.h"
#include "rgu.h" /* RGU defines */
#include "tfu.h" /* RGU defines */
#include "lrg.h" /* layer management defines for LTE-MAC */
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "rgu.x" /* RGU types */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
*/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system services */
+#include "common_def.h"
#include "lrg.h" /* layer manager */
/* header/extern include files (.x) */
-#include "gen.x" /* general layer */
-#include "ssi.x" /* system services */
#include "cm_lib.x" /* common library */
*/
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "crg.h"
#include "rgr.h"
#include "rg.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "rgu.x" /* RGU types */
#include "tfu.x" /* TFU types */
#include "lrg.x" /* layer management typedefs for MAC */
static int RLOG_FILE_ID=182;
static int RLOG_MODULE_ID=4096;
/* header include files -- defines (.h) */
-#include <stdbool.h>
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timers defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_llist.h" /* common linked list defines */
-#include "cm_mblk.h" /* memory management */
-#include "cm_tkns.h" /* common tokens */
-#include "cm_lte.h" /* common tokens */
+#include "common_def.h"
#include "rgu.h" /* RGU defines */
#include "tfu.h" /* RGU defines */
#include "lrg.h" /* layer management defines for LTE-MAC */
#include "du_log.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "rgu.x" /* RGU types */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
pst->dstInst = 1;
pst->region = 0;
pst->pool = 0;
- pst->selector = MAC_SELECTOR_TC;
+ pst->selector = ODU_SELECTOR_TC;
}
/*******************************************************************
cellStopId->cellId = macCb.macCell->cellId;
/* Fill Pst */
- pst.selector = DU_MAC_LWLC;
+ pst.selector = ODU_SELECTOR_LWLC;
pst.srcEnt = ENTRG;
pst.dstEnt = ENTDUAPP;
pst.dstInst = 0;
static int RLOG_MODULE_ID=4096;
/* header include files (.h) */
-#include "stdbool.h"
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "rg_env.h" /* MAC Environment Defines */
#include "crg.h" /* CRG Interface defines */
#include "rgu.h" /* RGU Interface defines */
#include "du_log.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_lte.x" /* Common LTE Defines */
#include "crg.x" /* CRG Interface includes */
#include "rgu.x" /* RGU Interface includes */
#include "tfu.x" /* RGU Interface includes */
{
case STRGUSAP:
if ((cfg->s.rguSap.spId > LRG_MAX_RGU_SAPS) &&
- (cfg->s.rguSap.selector != RGU_SEL_TC) &&
- (cfg->s.rguSap.selector != RGU_SEL_LC))
+ (cfg->s.rguSap.selector != ODU_SELECTOR_TC) &&
+ (cfg->s.rguSap.selector != ODU_SELECTOR_LC))
{
ret = LCM_REASON_INVALID_PAR_VAL;
RLOG0(L_ERROR, "unsupported Selector value for RGU");
* there is cfg request with sap is 1*/
break;
case STCRGSAP:
- if ((cfg->s.crgSap.selector != CRG_SEL_TC) &&
- (cfg->s.crgSap.selector != CRG_SEL_LC))
+ if ((cfg->s.crgSap.selector != ODU_SELECTOR_TC) &&
+ (cfg->s.crgSap.selector != ODU_SELECTOR_LC))
{
ret = LCM_REASON_INVALID_PAR_VAL;
RLOG0(L_ERROR, "unsupported Selector value for CRG");
break;
case STTFUSAP:
#ifndef CL_MAC_LWLC
- if ((cfg->s.tfuSap.selector != TFU_SEL_TC) &&
- (cfg->s.tfuSap.selector != TFU_SEL_LC))
+ if ((cfg->s.tfuSap.selector != ODU_SELECTOR_TC) &&
+ (cfg->s.tfuSap.selector != ODU_SELECTOR_LC))
{
ret = LCM_REASON_INVALID_PAR_VAL;
RLOG0(L_ERROR, "unsupported Selector value for TFU");
{
RETVALUE(LCM_REASON_INVALID_MSGTYPE);
}
- if ((cfg->s.genCfg.lmPst.selector != LRG_SEL_TC) &&
- (cfg->s.genCfg.lmPst.selector != LRG_SEL_LC))
+ if ((cfg->s.genCfg.lmPst.selector != ODU_SELECTOR_TC) &&
+ (cfg->s.genCfg.lmPst.selector != ODU_SELECTOR_LC))
{
RLOG0(L_ERROR, "unsupported Selector value for RGU");
RETVALUE(LCM_REASON_INVALID_PAR_VAL);
pst->dstEnt = ENTDUAPP;
pst->dstInst = 0;
pst->srcInst = 0;
- pst->selector = MAC_SCH_LC_SELECTOR;
+ pst->selector = ODU_SELECTOR_LC;
RgMiLrgSchCfgCfm(pst, cfm);
RETVALUE(ROK);
cfmPst->dstInst = 0;
cfmPst->dstProcId = cfmPst->srcProcId;
- cfmPst->selector = LRG_SEL_LC;
+ cfmPst->selector = ODU_SELECTOR_LC;
cfmPst->prior = reqPst->prior;
cfmPst->route = reqPst->route;
cfmPst->region = reqPst->region;
cfgPst.srcInst = 0;
cfgPst.dstEnt = ENTRG;
cfgPst.dstInst = 1;
- cfgPst.selector = MAC_SCH_TC_SELECTOR;
+ cfgPst.selector = ODU_SELECTOR_TC;
cfgPst.event = EVENT_SCH_CELL_CFG;
ret = (*SchCellCfgOpts[cfgPst.selector])(&cfgPst, &schCellCfg);
static int RLOG_MODULE_ID=4096;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* memory management */
-#include "cm_lte.h" /* Common LTE Defines */
-
+#include "common_def.h"
#include "rg_env.h" /* MAC Environment Defines */
#include "tfu.h" /* TFU Interface defines */
#include "crg.h" /* CRG Interface defines */
#include "rg.h" /* MAC defines */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* memory management */
-#include "cm_lte.x" /* Common LTE Definitions */
#include "rgu.x" /* RGU Interface includes */
#include "tfu.x" /* CRG Interface includes */
*/
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "crg.h"
#include "rgu.h"
#include "rg_err.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer */
-#include "ssi.x" /* system service interface */
-#include "cm5.x" /* common timers */
-#include "cm_lib.x" /* common library */
-#include "cm_hash.x" /* common hash list */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_llist.x" /* common linked list library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common LTE */
#include "lrg.x"
#include "crg.x"
#include "rgu.x"
**********************************************************************/
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "crg.h"
#include "rgu.h"
#include "rg_err.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "rgu.x" /* RGU types */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
**********************************************************************/
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h" /* layer manager for MAC */
#include "crg.h" /* CRG interface includes*/
#include "rgu.h" /* RGU interface includes*/
#include "rg_err.h" /* MAC error includes*/
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "rgu.x" /* RGU types */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
*/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h"
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "tfu.h" /* RGU Interface defines */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x"
-#include "cm_lte.x" /* Common LTE Defines */
#include "tfu.x" /* RGU Interface includes */
*/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "lrg.h" /* LRG Interface defines */
-
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_lte.x" /* Common LTE Defines */
#include "lrg.x" /* LRG Interface includes */
#ifdef __cplusplus
static int RLOG_MODULE_ID=4096;
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_lte.h" /* Common LTE */
-
+#include "common_def.h"
#include "rg_env.h" /* MAC Environment Defines */
#include "crg.h" /* CRG Interface defines */
#include "rgu.h" /* RGU Interface defines */
#include "rg_err.h" /* MAC error defines */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* Timer */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_lte.x" /* Common LTE */
#include "crg.x" /* CRG Interface includes */
#include "rgu.x" /* RGU Interface includes */
static int RLOG_MODULE_ID=4096;
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_lte.h" /* Common LTE */
-
+#include "common_def.h"
#include "rg_env.h" /* MAC Environment Defines */
#include "crg.h" /* CRG Interface defines */
#include "rgu.h" /* RGU Interface defines */
#include "rg_err.h" /* MAC error defines */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* Timer */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_lte.x" /* Common LTE */
#include "crg.x" /* CRG Interface includes */
#include "rgu.x" /* RGU Interface includes */
invoked by PHY towards MAC
*/
/* header include files -- defines (.h) */
-#include <stdbool.h>
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timers defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_llist.h" /* common linked list defines */
-#include "cm_mblk.h" /* memory management */
-#include "cm_tkns.h" /* common tokens */
-#include "cm_lte.h" /* common tokens */
+#include "common_def.h"
+#include "du_app_mac_inf.h"
#include "rgu.h" /* RGU defines */
#include "tfu.h" /* RGU defines */
#include "lrg.h" /* layer management defines for LTE-MAC */
#include "rg.h" /* defines and macros for MAC */
#include "rg_env.h" /* defines and macros for MAC */
#include "rg_err.h" /* defines and macros for MAC */
-
+#include "rgm.h" /* layer management typedefs for MAC */
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
+#include "crg.x" /* CRG interface typedefs */
#include "rgu.x" /* RGU types */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
-#include "crg.x" /* CRG interface typedefs */
#include "rg_sch_inf.x" /* SCH interface typedefs */
#include "rg_prg.x" /* PRG interface typedefs */
#include "rgm.x" /* layer management typedefs for MAC */
-#include "rgm.h" /* layer management typedefs for MAC */
-#include "du_app_mac_inf.h"
-#include "mac.h"
#include "rg.x" /* typedefs for MAC */
+#include "mac.h"
#include "lwr_mac_fsm.h"
#ifdef MAC_RLC_UL_RBUF
#include "ss_rbuf.h"
*/
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-
-#include "cm_lte.h" /* Common LTE */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* memory management */
-
+#include "common_def.h"
#include "rg_env.h" /* MAC Environment Defines */
#include "tfu.h" /* TFU Interface defines */
#include "crg.h" /* CRG Interface defines */
#include "rg_err.h" /* MAC error defines */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* system services */
-#include "cm_lte.x" /* Common LTE */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* memory management */
#include "tfu.x" /* TFU Interface defines */
#include "crg.x" /* CRG Interface includes */
/* header/extern include files (.x) */
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timers defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_llist.h" /* common linked list defines */
-#include "cm_mblk.h" /* memory management */
-#include "cm_tkns.h" /* common tokens */
-#include "cm_lte.h"
+#include "common_def.h"
#include "crg.h" /* CRG defines */
#include "lrg.h" /* layer management defines for LTE-MAC */
#include "tfu.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x"
#include "crg.x" /* CRG types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "tfu.x"
static int RLOG_FILE_ID=179;
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_lte.h" /* Common LTE */
-
+#include "common_def.h"
#include "rg_env.h" /* MAC Environment Defines */
#include "crg.h" /* CRG Interface defines */
#include "rgu.h" /* RGU Interface defines */
#include "rg_err.h" /* MAC error defines */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
#include "cm5.x" /* Timer */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_lte.x" /* Common LTE */
#include "crg.x" /* CRG Interface includes */
#include "rgu.x" /* RGU Interface includes */
static int RLOG_MODULE_ID=2048;
static int RLOG_FILE_ID=189;
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
static int RLOG_FILE_ID=190;
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_ul.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_dl.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_ul.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
-#include "kwu.h" /* KWU defines */
#include "rgu.h" /* RGU defines */
+#include "kwu.h" /* KWU defines */
#include "kw_err.h" /* Err defines */
#include "kw_env.h" /* RLC environment options */
-
#include "kw.h" /* RLC defines */
#include "kw_udx.h"
#include "kw_dl.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
-#include "kwu.x" /* KWU */
#include "rgu.x" /* RGU */
-
+#include "kwu.x" /* KWU */
#include "kw.x"
#include "kw_udx.x"
#include "kw_dl.x"
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_ul.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_ul.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_udx.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw.h" /* RLC defines */
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw.h" /* RLC defines */
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw.h" /* RLC defines */
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
**********************************************************************/
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_ul.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
*/
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_dl.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
*/
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_ul.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_dl.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
File: kw_udx.c
*********************************************************************21*/
-
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h"
#include "kw_udx.h" /* UDX defines */
+#include "kw.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
-#include "kw.h"
#include "lkw.x"
#include "kw_udx.x"
-#include <stdlib.h>
\f
#ifdef LCUDX
static int RLOG_FILE_ID=203;
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_dl.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
*/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
*/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_dl.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
*/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_dl.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_udx.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
\f
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "kw_udx.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
*/
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services interface */
-#include "cm5.h" /* Timer Functions */
-#include "cm_lte.h" /* common umts header file */
-#include "cm_hash.h" /* common hash module file */
-#include "cm_llist.h" /* common list header file */
+#include "common_def.h"
#include "ckw.h" /* RRC layer */
#include "lkw.h" /* RRC layer */
#include "kwu.h" /* RLC service user */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services interface */
-#include "cm_lib.x" /* common library */
-#include "cm5.x" /* Timer Functions */
-#include "cm_hash.x" /* common hash module */
-#include "cm_lte.x" /* common umts file */
-#include "cm_llist.x" /* common list header file */
#include "ckw.x" /* RRC layer */
#include "kwu.x" /* RLC service user */
#include "lkw.x" /* LM Interface */
*/
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services interface */
-#include "cm5.h" /* Timer Functions */
-#include "cm_lte.h" /* common umts header file */
-#include "cm_hash.h" /* common hash module file */
-#include "cm_llist.h" /* common list header file */
+#include "common_def.h"
#include "ckw.h" /* RRC layer */
#include "lkw.h" /* RRC layer */
#include "kwu.h" /* RLC service user */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services interface */
-#include "cm_lib.x" /* common library */
-#include "cm5.x" /* Timer Functions */
-#include "cm_hash.x" /* common hash module */
-#include "cm_lte.x" /* common umts file */
-#include "cm_llist.x" /* common list header file */
#include "ckw.x" /* RRC layer */
#include "kwu.x" /* RLC service user */
#include "lkw.x" /* LM Interface */
*/
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
+
+#include "common_def.h"
/* kw005.201 added support for L2 Measurement */
#ifdef LTE_L2_MEAS
#include <sys/time.h>
#endif
-#include <stdlib.h>
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* CKW defines */
#include "lkw.h" /* LKW defines */
#include "kw_dl.h"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "ckw.x" /* CKW includes */
#include "kwu.x" /* KWU includes */
#include "lkw.x" /* LKW inlcudes */
*/
/* header (.h) include files */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
+#include "common_def.h"
/* kw005.201 added support for L2 Measurement */
#ifdef LTE_L2_MEAS
#include <sys/time.h>
#endif
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "lkw.h" /* LKW defines */
#include "kw_ul.h" /* RLC Uplink defines */
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#include "ckw.x" /* CKW includes */
#include "kwu.x" /* KWU includes */
#include "lkw.x" /* LKW includes */
*******************************************************************************/
#ifdef EGTP_TEST
-
+#include "common_def.h"
#include "mac_stub.h"
uint8_t rlcDatSn = 0;
// SGetSBuf(pst->region, pst->pool, (Data **)&rspPst, sizeof(Pst));
- rspPst.selector = RGU_SEL_TC;
+ rspPst.selector = ODU_SELECTOR_TC;
rspPst.srcEnt = pst->dstEnt;
rspPst.dstEnt = pst->srcEnt;
rspPst.dstInst = pst->srcInst;
ulData->pduInfo[0].pduBuf = mBuf;
/* Fill response post */
- rspPst.selector = RGU_SEL_TC;
+ rspPst.selector = ODU_SELECTOR_TC;
rspPst.srcEnt = pst->dstEnt;
rspPst.dstEnt = pst->srcEnt;
rspPst.dstInst = pst->srcInst;
#ifndef __MAC_STUB_H__
#define __MAC_STUB_H__
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
-#include "cm_tpt.h"
-#include "cm_inet.h"
#include "du_log.h"
#include "rgu.h"
#include "kw.h"
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_tpt.x"
-#include "cm_inet.x"
#include "rgu.x"
static int RLOG_MODULE_ID=4096;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "tfu.h"
#include "rl_common.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* TFU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
static int RLOG_MODULE_ID=4096;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "rgm.h"
#include "rl_common.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* TFU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
static int RLOG_MODULE_ID=4096;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
-#include "cm5.h"
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "tfu.h"
#include "rl_common.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* TFU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
static int RLOG_FILE_ID=230;
static int RLOG_MODULE_ID=4096;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "tfu.h"
#include "rg_sch_cmn.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer */
-#include "ssi.x" /* system service interface */
-#include "cm5.x" /* common timers */
-#include "cm_lib.x" /* common library */
-#include "cm_hash.x" /* common hash list */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_llist.x" /* common linked list library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common LTE */
#include "lrg.x"
#include "rgr.x"
#include "tfu.x"
static int RLOG_FILE_ID=163;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "rgm.h"
#include "rl_common.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* TFU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
**********************************************************************/
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "tfu.h"
#include "rg_sch_cmn.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* TFU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
registered with SSI during the LTE MAC Task initialization.
*/
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timers defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_llist.h" /* common linked list defines */
-#include "cm_mblk.h" /* memory management */
-#include "cm_tkns.h" /* common tokens */
-#include "cm_lte.h" /* common tokens */
+#include "common_def.h"
#include "tfu.h" /* RGU defines */
#include "lrg.h" /* layer management defines for LTE-MAC */
#include "rgr.h" /* layer management defines for LTE-MAC */
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
static int RLOG_FILE_ID=164;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "tfu.h"
#include "rl_common.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer */
-#include "ssi.x" /* system service interface */
-#include "cm5.x" /* common timers */
-#include "cm_lib.x" /* common library */
-#include "cm_hash.x" /* common hash list */
-#include "cm_llist.x" /* common linked list library */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common LTE */
#include "lrg.x"
#include "rgr.x"
#include "tfu.x"
#endif
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "tfu.h"
#include "rl_common.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
**********************************************************************/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* memory management */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "tfu.h" /* RGU defines */
#ifdef LTE_L2_MEAS
#include "lrg.h"
#include "rg_sch_inf.h" /* RGU Interface defines */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* memory management */
-#include "cm_lte.x" /* Common LTE Defines */
#include "tfu.x" /* RGU defines */
#ifdef LTE_L2_MEAS
#include "lrg.x"
# See the License for the specific language governing permissions and #
# limitations under the License. #
################################################################################
-*******************************************************************************
+*******************************************************************************/
/************************************************************************
*/
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "rgm.h"
#include "rl_common.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* TFU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
static int RLOG_FILE_ID=167;
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "rg_env.h" /* MAC Environment Defines */
#include "rgr.h" /* RGR Interface defines */
#include "tfu.h" /* RGU Interface defines */
#include "rl_common.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_lte.x" /* Common LTE Defines */
#include "rgr.x" /* RGR Interface includes */
#include "rgm.x" /* RGM Interface includes */
#include "tfu.x" /* RGU Interface includes */
{
case STRGRSAP:
#ifndef CL_MAC_LWLC
- if ((cfg->s.schInstCfg.rgrSap[sapIdx].selector != RGR_SEL_TC) &&
- (cfg->s.schInstCfg.rgrSap[sapIdx].selector != RGR_SEL_LC))
+ if ((cfg->s.schInstCfg.rgrSap[sapIdx].selector != ODU_SELECTOR_TC) &&
+ (cfg->s.schInstCfg.rgrSap[sapIdx].selector != ODU_SELECTOR_LC))
{
ret = LCM_REASON_INVALID_PAR_VAL;
RLOG_ARG0(L_ERROR,DBG_INSTID,inst, "rgSCHLmmSapCfg(): unsupported"
break;
case STTFUSAP:
#ifndef CL_MAC_LWLC
- if ((cfg->s.schInstCfg.tfuSap[sapIdx].selector != TFU_SEL_TC) &&
- (cfg->s.schInstCfg.tfuSap[sapIdx].selector != TFU_SEL_LC))
+ if ((cfg->s.schInstCfg.tfuSap[sapIdx].selector != ODU_SELECTOR_TC) &&
+ (cfg->s.schInstCfg.tfuSap[sapIdx].selector != ODU_SELECTOR_LC))
{
ret = LCM_REASON_INVALID_PAR_VAL;
RLOG_ARG0(L_ERROR,DBG_INSTID,inst, "rgSCHLmmSapCfg(): unsupported"
static int RLOG_FILE_ID=169;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "tfu.h"
#include "rl_common.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
Portable functions corresponding to these primitives are also defined.
*/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "rg_env.h" /* MAC Environment Defines */
#include "crg.h" /* CRG Interface defines */
#include "rgr.h" /* RGR Interface defines */
#include "rg_sch_inf.h" /* RGU Interface defines */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_lte.x" /* Common LTE Defines */
#include "crg.x" /* CRG Interface includes */
#include "rgr.x" /* RGR Interface includes */
#include "rgu.x" /* RGU Interface includes */
static int RLOG_MODULE_ID=4096;
static int RLOG_FILE_ID=188;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
-#include "cm_math.h" /* common MATH functions */
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "rgm.h"
#include "rg_sch_cmn.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
-#include "cm_math.x" /* common MATH functions */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
static int RLOG_FILE_ID=171;
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_lte.h" /* Common LTE */
+#include "common_def.h"
#include "rg_env.h" /* MAC Environment Defines */
#include "rgr.h" /* RGR Interface defines */
#include "rl_common.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* Timer */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_lte.x" /* Common LTE */
#include "rgr.x" /* RGR Interface includes */
#include "rgm.x" /* RGR Interface includes */
static int RLOG_FILE_ID=173;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm5.h" /* common timers */
-#include "cm_hash.h" /* common hash list */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "rgm.h"
#include "rl_common.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
*/
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm5.h" /* common timers */
-#include "cm_hash.h" /* common hash list */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "rgm.h"
#include "rg_sch_cmn.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
static int RLOG_FILE_ID=175;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timers defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_llist.h" /* common linked list defines */
-#include "cm_mblk.h" /* memory management */
-#include "cm_tkns.h" /* common tokens */
-#include "cm_lte.h" /* common tokens */
+#include "common_def.h"
#include "tfu.h" /* RGU defines */
#include "lrg.h" /* layer management defines for LTE-MAC */
#include "rgr.h" /* layer management defines for LTE-MAC */
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
static int RLOG_MODULE_ID=4096;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timers defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_llist.h" /* common linked list defines */
-#include "cm_mblk.h" /* memory management */
-#include "cm_tkns.h" /* common tokens */
-#include "cm_lte.h" /* common tokens */
+#include "common_def.h"
#include "tfu.h" /* RGU defines */
#include "lrg.h" /* layer management defines for LTE-MAC */
#include "rgr.h" /* layer management defines for LTE-MAC */
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* RGU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
/*HARQ Feedback interpretation in accordance with Femto Forum.
Note: There is no value as '0' in Femto Forum Spec but in order to retain
the existing usage in MAC (and its Acceptance), its being considered*/
-CONSTANT PRIVATE U8 rgSchTomHqFbkMap[8] = {0,1,0,0,4,4,4,4};
+//CONSTANT PRIVATE U8 rgSchTomHqFbkMap[8] = {0,1,0,0,4,4,4,4};
/*added #defines instead of magic numbers*/
-CONSTANT PRIVATE U32 rgSCHTomBinCoe[RG_SCH_MAX_NUM_UE_SEL_SUBBANDS][RG_SCH_MAX_TOT_NUM_SUBBANDS]={
+/*CONSTANT PRIVATE U32 rgSCHTomBinCoe[RG_SCH_MAX_NUM_UE_SEL_SUBBANDS][RG_SCH_MAX_TOT_NUM_SUBBANDS]={
{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28},
{0,1,3,6,10,15,21,28,36,45,55,66,78,91,105,120,136,153,171,190,210,231,253,276,300,325,351,378},
{0,0,1,4,10,20,35,56,84,120,165,220,286,364,455,560,680,816,969,1140,1330,1540,1771,2024,2300,2600,2925,3276},
{0,0,0,0,1,6,21,56,126,252,462,792,1287,2002,3003,4368,6188,8568,11628,15504,20349,26334,33649,42504,53130,65780,80730,98280},
{0,0,0,0,0,1,7,28,84,210,462,924,1716,3003,5005,8008,12376,18564,27132,38760,54264,74613,100947,134596,177100,230230,296010,376740}
};
-
+*/
/*ccpu00116923 - ADD - SRS present support*/
/*Tables Derived from 3GPP TS 36.211 Section 5.5.3.3 */
*/
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-
-#include "cm_lte.h" /* Common LTE */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* memory management */
-
+#include "common_def.h"
#include "rg_env.h" /* MAC Environment Defines */
#include "tfu.h" /* TFU Interface defines */
#include "rgr.h" /* RGR Interface defines */
#include "rg_sch_err.h" /* MAC error defines */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm5.x" /* system services */
-#include "cm_lte.x" /* Common LTE */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* memory management */
#include "tfu.x" /* TFU Interface defines */
#include "rgr.x" /* RGR Interface includes */
static int RLOG_FILE_ID=177;
/* header include files -- defines (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_hash.h" /* common hash list */
-#include "cm_llist.h" /* common linked list library */
-#include "cm_err.h" /* common error */
-#include "cm_lte.h" /* common LTE */
+#include "common_def.h"
#include "lrg.h"
#include "rgr.h"
#include "tfu.h"
#include "rl_common.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* common timers */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lib.x" /* common library */
-#include "cm_llist.x" /* common linked list */
-#include "cm_mblk.x" /* memory management */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_lte.x" /* common tokens */
#include "tfu.x" /* TFU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
cfmPst.dstEnt = (Ent)ENTRG;
cfmPst.dstInst = (Inst) 0;
cfmPst.dstProcId = SFndProcId();
- cfmPst.selector = RGR_SEL_LC;
+ cfmPst.selector = ODU_SELECTOR_LC;
cfmPst.region = reg;
cfmPst.pool = pool;
*********************************************************************21*/
/* header include files (.h) */
-
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system services */
+#include "common_def.h"
/* header/extern include files (.x) */
-
-#include "gen.x" /* general layer */
-#include "ssi.x" /* system services */
#include "rg_sch_clist.x" /* common functions */
/** @file sch.c
@brief This file implements the schedulers main access to MAC layer code.
*/
-#include "stdbool.h"
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
+#include "du_app_mac_inf.h"
#include "lrg.h"
-#include "rgr.h"
#include "tfu.h"
+#include "du_log.h"
+#include "rgr.h"
#include "rg_sch_inf.h"
#include "rg_sch.h"
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_lte.x" /* Common LTE Defines */
+
#include "tfu.x" /* TFU types */
#include "lrg.x" /* layer management typedefs for MAC */
#include "rgr.x" /* layer management typedefs for MAC */
#include "rg_sch_inf.x" /* typedefs for Scheduler */
-#include "du_app_mac_inf.h"
#include "mac_sch_interface.h"
#include "sch.h"
#include "sch_utils.h"
-#include "du_log.h"
-#include "common_def.h"
extern SchCb schCb[SCH_MAX_INST];
void SchFillCfmPst(Pst *reqPst,Pst *cfmPst,RgMngmt *cfm);
_rspPst.dstEnt = ENTRG;\
_rspPst.srcInst = 1;\
_rspPst.dstInst = 0;\
- _rspPst.selector = MAC_SELECTOR_TC;\
+ _rspPst.selector = ODU_SELECTOR_TC;\
}
extern uint8_t schProcessRachInd(RachIndInfo *rachInd, Inst schInst);
/**
/** @file sch_common.c
@brief This module performs common scheduling
*/
-#include "stdbool.h"
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "tfu.h"
#include "lrg.h"
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_lte.x" /* Common LTE Defines */
#include "tfu.x"
#include "lrg.x"
#include "du_log.h"
#include "mac_sch_interface.h"
#include "sch.h"
#include "sch_utils.h"
-#include "common_def.h"
extern SchCb schCb[SCH_MAX_INST];
extern uint16_t prachCfgIdxTable[MAX_PRACH_CONFIG_IDX][8];
/** @file sch_rach.c
@brief This file implements the rach handling.
*/
-
-#include "stdbool.h"
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "tfu.h"
#include "lrg.h"
-
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_lte.x" /* Common LTE Defines */
#include "tfu.x"
#include "lrg.x"
#include "du_log.h"
#include "mac_sch_interface.h"
#include "sch.h"
#include "sch_utils.h"
-#include "common_def.h"
extern SchCb schCb[SCH_MAX_INST];
extern uint8_t puschDeltaTable[MAX_MU_PUSCH];
/** @file sch_slot_ind.c
@brief This module processes slot indications
*/
-#include "stdbool.h"
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general layer */
-#include "ssi.h" /* system service interface */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_mblk.h" /* common memory link list library */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "tfu.h"
#include "lrg.h"
-
-#include "gen.x" /* general layer typedefs */
-#include "ssi.x" /* system services typedefs */
-#include "cm5.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_mblk.x" /* common memory link list library */
-#include "cm_lte.x" /* Common LTE Defines */
#include "tfu.x"
#include "lrg.x"
#include "du_log.h"
#include "mac_sch_interface.h"
#include "sch.h"
#include "sch_utils.h"
-#include "common_def.h"
SchMacDlAllocFunc schMacDlAllocOpts[] =
{
*********************************************************************21*/
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
-#include "ckw.h" /* CKW defines */
-
+#include "common_def.h"
+#include "ckw.h"
+#include "ckw.x"
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
-#include "ckw.x" /* CKW */
\f
#ifdef __cplusplus
switch(pst->selector)
{
- case CKW_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKPK(cmPkPtr,(PTR) cfgInfo, mBuf);
break;
switch(pst->selector)
{
#ifdef LCCKW
- case CKW_SEL_LC:
+ case ODU_SELECTOR_LC:
{
ret1 = cmPkCkwCfgCfmInfo( (cfgCfmInfo), pst, mBuf);
#if (ERRCLASS & ERRCLS_ADD_RES)
switch(pst->selector)
{
- case CKW_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &cfgInfo, mBuf);
break;
switch(pst->selector)
{
#ifdef LCCKW
- case CKW_SEL_LC:
+ case ODU_SELECTOR_LC:
{
ret1 = cmUnpkCkwCfgCfmInfo( (cfgCfmInfo), pst, mBuf);
#if(ERRCLASS & ERRCLS_DEBUG)
/* CKW Interface Hash Defines */
-/* Loose Coupling define */
-#define CKW_SEL_LC 0 /*!< Loose Coupling Option */
-#define CKW_SEL_TC 1 /*!< Tight Coupling Option */
-#define CKW_SEL_LWLC 2 /*!< Light Weight Loose Coupling */
-
/* CKW Interface defines */
#define CKW_MAX_ENT_CFG 24 /*!< Maximum number of entities to configure */
/* ckw_h_001.main_3 added support for L2 Measurement */
if (status.sstat_primary.spinfo_state == SCTP_ACTIVE)
pSctpStatus->primary.isActive = TRUE;
else
+ {
pSctpStatus->primary.isActive = FALSE;
pSctpStatus->primary.cwnd = status.sstat_primary.spinfo_cwnd;
pSctpStatus->primary.srtt = status.sstat_primary.spinfo_srtt;
pSctpStatus->primary.rto = status.sstat_primary.spinfo_rto;
pSctpStatus->primary.mtu = status.sstat_primary.spinfo_mtu;
- break;
+ }
+ break;
case CM_INET_OPT_SCTP_GET_PADDR_INFO:
pPeerAddrInfo = (CmInetSctpPeerAddrInfo*)value;
# limitations under the License. #
################################################################################
*******************************************************************************/
+#include <stdio.h>
+#include <ctype.h>
+#include <stdlib.h>
+#include <string.h>
+#include <stdbool.h>
+#include <stdint.h>
+
+#include "cm_mem.h"
+#include "cm_math.h"
+#include "envopt.h"
+#include "envdep.h"
+#include "envind.h"
+#include "gen.h"
+#include "ssi.h"
+#include "cm5.h"
+#include "cm_tkns.h"
+#include "cm_mblk.h"
+#include "cm_llist.h"
+#include "cm_hash.h"
+#include "cm_lte.h"
+#include "cm_err.h"
+#include "cm_tpt.h"
+#include "cm.h"
+#include "gen.x" /* general */
+#include "ssi.x" /* system services */
+#include "cm_math.x"
+#include "cm_tpt.x"
+#include "cm_tkns.x"
+#include "cm_mblk.x"
+#include "cm_llist.x"
+#include "cm5.x"
+#include "cm_hash.x"
+#include "cm_lte.x"
+#include "cm_lib.x"
/* 5G ORAN phy delay */
#define PHY_DELTA 2
+
+ /* SELECTORS */
+#define ODU_SELECTOR_LC 0
+#define ODU_SELECTOR_TC 1
+#define ODU_SELECTOR_LWLC 2
+
primitives.
*/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "crg.h" /* CRG Interface defines */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_lte.x" /* Common LTE Defines */
#include "crg.x" /* CRG Interface includes */
-
#ifdef LCCRG
\f
/**
/* Activation time limit in terms of number of frames */
#define CRG_ACTV_WIN_SIZE 20 /*!< Macro for Size of activation time window
(in terms of number of frames) */
-/* selector(coupling) values */
-#define CRG_SEL_TC 1 /*!< Macro for Tight Coupling */
-#define CRG_SEL_LC 0 /*!< Macro for Light Coupling */
/* pack unpack error code */
#define ECRGXXX 0 /* reserved */
*********************************************************************21*/
/* header include files (.h) */
-#include "envopt.h" /* Environment options */
-#include "envdep.h" /* Environment dependent options */
-#include "envind.h" /* Environment independent options */
-#include "gen.h" /* General layer */
-#include "ssi.h" /* System service interface */
-#include "cm5.h" /* Common timer library */
-#include "cm_llist.h" /* Common linked list library */
-#include "cm_hash.h" /* Common hash library */
-#include "cm_tkns.h" /* Common tokens */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "ctf.h" /* CTF interface defines */
/* header/extern include files (.x) */
-#include "gen.x" /* General layer */
-#include "ssi.x" /* System services interface */
-#include "cm_lib.x" /* Common linrary function */
-#include "cm_llist.x" /* Common link list library */
-#include "cm_hash.x" /* Common hash list library */
-#include "cm_tkns.x" /* Common tokens */
-#include "cm_lte.x" /* Common LTE library */
#ifdef TENB_AS_SECURITY
#include "cm_mblk.x"
#endif
SPutSBuf(pst->region, pst->pool, (Data *)kdfReqInfo, sizeof(CtfKdfReqInfo));
RETVALUE(RFAILED);
}
- if (pst->selector == CTF_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkCtfKdfReqInfo(kdfReqInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LWLC) {
+ else if (pst->selector == ODU_SELECTOR_LWLC) {
}
if (cmPkCtfCfgTransId(&transId, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if (SPutSBuf(pst->region, pst->pool, (Data *)kdfReqInfo, sizeof(CtfKdfReqInfo)) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
SPutSBuf(pst->region, pst->pool, (Data *)cfgReqInfo, sizeof(CtfCnmCellSyncReq));
RETVALUE(RFAILED);
}
- if (pst->selector == CTF_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkCtfCtfCnmCellSyncReq(cfgReqInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LWLC) {
+ else if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmPkPtr((PTR)cfgReqInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
SPutSBuf(pst->region, pst->pool, (Data *)cfgReqInfo, sizeof(CtfCnmCellSyncReq));
}
pst->event = (Event)EVTCTFCNMSYNCREQ;
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if ((SGetSBuf(pst->region, pst->pool, (Data **)&SyncReqMsg, sizeof(CtfCnmCellSyncReq))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- if (pst->selector == CTF_SEL_LWLC) {
+ if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmUnpkPtr((PTR *)&SyncReqMsg, mBuf) != ROK) {
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LC)
+ else if (pst->selector == ODU_SELECTOR_LC)
if (cmUnpkCtfCtfCnmCellSyncReq(SyncReqMsg, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)SyncReqMsg, sizeof(CtfCnmCellSyncReq));
SPutMsg(mBuf);
SPutSBuf(pst->region, pst->pool, (Data *)cfgReqInfo, sizeof(CtfCnmInitSyncReq));
RETVALUE(RFAILED);
}
- if (pst->selector == CTF_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkCtfcfgReqInfo(cfgReqInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LWLC) {
+ else if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmPkPtr((PTR)cfgReqInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
SPutSBuf(pst->region, pst->pool, (Data *)cfgReqInfo, sizeof(CtfCnmInitSyncReq));
}
pst->event = (Event)EVTCTFCNMINITSYNCREQ;
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if ((SGetSBuf(pst->region, pst->pool, (Data **)&syncReqInfo, sizeof(CtfCnmInitSyncReq))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- if (pst->selector == CTF_SEL_LWLC) {
+ if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmUnpkPtr((PTR *)&syncReqInfo, mBuf) != ROK) {
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LC)
+ else if (pst->selector == ODU_SELECTOR_LC)
if (cmUnpkCtfsyncReqInfo(syncReqInfo, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)syncReqInfo, sizeof(CtfCnmInitSyncReq));
SPutMsg(mBuf);
SPutSBuf(pst->region, pst->pool, (Data *)cfgRspInfo, sizeof(CtfCnmInitSyncRsp));
RETVALUE(RFAILED);
}
- if (pst->selector == CTF_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkCtfcfgRspInfo(cfgRspInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LWLC) {
+ else if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmPkPtr((PTR)cfgRspInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
SPutSBuf(pst->region, pst->pool, (Data *)cfgRspInfo, sizeof(CtfCnmInitSyncRsp));
}
pst->event = (Event)EVTCTFCNMINITSYNCRSP;
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if((SGetSBuf(pst->region, pst->pool, (Data **)&syncRspInfo, sizeof(CtfCnmInitSyncRsp))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- if (pst->selector == CTF_SEL_LWLC) {
+ if (pst->selector == ODU_SELECTOR_LWLC) {
if(cmUnpkPtr((PTR *)&syncRspInfo, mBuf) != ROK) {
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LC)
+ else if (pst->selector == ODU_SELECTOR_LC)
if(cmUnpkCtfCnmInitSyncRspMsg(syncRspInfo, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)syncRspInfo, sizeof(CtfCnmInitSyncRsp));
SPutMsg(mBuf);
SPutSBuf(pst->region, pst->pool, (Data *)cfgRspInfo, sizeof(CtfCnmCellSyncRsp));
RETVALUE(RFAILED);
}
- if (pst->selector == CTF_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkCtfCellSyncRsp(cfgRspInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LWLC) {
+ else if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmPkPtr((PTR)cfgRspInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
SPutSBuf(pst->region, pst->pool, (Data *)cfgRspInfo, sizeof(CtfCnmCellSyncRsp));
}
pst->event = (Event)EVTCTFCNMSYNCRSP;
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if ((SGetSBuf(pst->region, pst->pool, (Data **)&syncRspMsg, sizeof(CtfCnmCellSyncRsp))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- if (pst->selector == CTF_SEL_LWLC) {
+ if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmUnpkPtr((PTR *)&syncRspMsg, mBuf) != ROK) {
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LC)
+ else if (pst->selector == ODU_SELECTOR_LC)
if (cmUnpkCtfCnmSyncRspMsg(syncRspMsg, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)syncRspMsg, sizeof(CtfCnmCellSyncRsp));
SPutMsg(mBuf);
SPutSBuf(pst->region, pst->pool, (Data *)cfgIndInfo, sizeof(CtfCnmCellSyncInd));
RETVALUE(RFAILED);
}
- if (pst->selector == CTF_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkCtfcfgIndInfo(cfgIndInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LWLC) {
+ else if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmPkPtr((PTR)cfgIndInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
SPutSBuf(pst->region, pst->pool, (Data *)cfgIndInfo, sizeof(CtfCnmCellSyncInd));
}
pst->event = (Event)EVTCTFCNMSYNCIND;
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if ((SGetSBuf(pst->region, pst->pool, (Data **)&syncIndMsg, sizeof(CtfCnmCellSyncInd))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- if (pst->selector == CTF_SEL_LWLC) {
+ if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmUnpkPtr((PTR *)&syncIndMsg, mBuf) != ROK) {
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LC)
+ else if (pst->selector == ODU_SELECTOR_LC)
if (cmUnpkCtfCnmSyncIndMsg(syncIndMsg, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)syncIndMsg, sizeof(CtfCnmCellSyncInd));
SPutMsg(mBuf);
cmRelCtfCfgReq(pst, cfgReqInfo);
RETVALUE(RFAILED);
}
- if (pst->selector == CTF_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkCtfCfgReqInfo(cfgReqInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LWLC) {
+ else if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmPkPtr((PTR)cfgReqInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
cmRelCtfCfgReq(pst, cfgReqInfo);
}
pst->event = (Event) EVTCTFCFGREQ;
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if ((SGetSBuf(pst->region, pst->pool, (Data **)&kdfReqInfo, sizeof(CtfKdfReqInfo))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
}
- if (pst->selector == CTF_SEL_LWLC) {
+ if (pst->selector == ODU_SELECTOR_LWLC) {
/*if (cmUnpkPtr((PTR *)&cfgReqInfo, mBuf) != ROK) {
SPutMsg(mBuf);
RETVALUE(RFAILED);
}*/
}
- else if (pst->selector == CTF_SEL_LC)
+ else if (pst->selector == ODU_SELECTOR_LC)
if (cmUnpkCtfKdfReqInfo(kdfReqInfo, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)kdfReqInfo, sizeof(CtfKdfReqInfo));
SPutMsg(mBuf);
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if ((SGetSBuf(pst->region, pst->pool, (Data **)&cfgReqInfo, sizeof(CtfCfgReqInfo))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- if (pst->selector == CTF_SEL_LWLC) {
+ if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmUnpkPtr((PTR *)&cfgReqInfo, mBuf) != ROK) {
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LC)
+ else if (pst->selector == ODU_SELECTOR_LC)
if (cmUnpkCtfCfgReqInfo(pst,cfgReqInfo, mBuf) != ROK) {
cmRelCtfCfgReq(pst, cfgReqInfo);
SPutMsg(mBuf);
SPutSBuf(pst->region, pst->pool, (Data *)newUeInfo, sizeof(CtfUeInfo));
RETVALUE(RFAILED);
}
- if (pst->selector == CTF_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkCtfUeInfo(newUeInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LWLC) {
+ else if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmPkPtr((PTR)newUeInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- if (pst->selector == CTF_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkCtfUeInfo(ueInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LWLC) {
+ else if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmPkPtr((PTR)ueInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if (SPutSBuf(pst->region, pst->pool, (Data *)ueInfo, sizeof(CtfUeInfo)) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if ((SGetSBuf(pst->region, pst->pool, (Data **)&ueInfo, sizeof(CtfUeInfo))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- if (pst->selector == CTF_SEL_LWLC) {
+ if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmUnpkPtr((PTR *)&ueInfo, mBuf) != ROK) {
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LC)
+ else if (pst->selector == ODU_SELECTOR_LC)
if (cmUnpkCtfUeInfo(ueInfo, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)ueInfo, sizeof(CtfUeInfo));
SPutMsg(mBuf);
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if ((SGetSBuf(pst->region, pst->pool, (Data **)&newUeInfo, sizeof(CtfUeInfo))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- if (pst->selector == CTF_SEL_LWLC) {
+ if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmUnpkPtr((PTR *)&newUeInfo, mBuf) != ROK) {
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LC)
+ else if (pst->selector == ODU_SELECTOR_LC)
if (cmUnpkCtfUeInfo(newUeInfo, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)ueInfo, sizeof(CtfUeInfo));
SPutSBuf(pst->region, pst->pool, (Data *)newUeInfo, sizeof(CtfUeInfo));
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector == CTF_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkCtfUeInfo(ueInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LWLC) {
+ else if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmPkPtr((PTR)ueInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if (SPutSBuf(pst->region, pst->pool, (Data *)ueInfo, sizeof(CtfUeInfo)) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if ((SGetSBuf(pst->region, pst->pool, (Data **)&ueInfo, sizeof(CtfUeInfo))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- if (pst->selector == CTF_SEL_LWLC) {
+ if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmUnpkPtr((PTR *)&ueInfo, mBuf) != ROK) {
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LC)
+ else if (pst->selector == ODU_SELECTOR_LC)
if (cmUnpkCtfUeInfo(ueInfo, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)ueInfo, sizeof(CtfUeInfo));
SPutMsg(mBuf);
sizeof(CtfPeriodicRemCellSearchRsp));
RETVALUE(RFAILED);
}
- if (pst->selector == CTF_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkCtfPeriodicCellSearchRsp(CellCfgRsp, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LWLC) {
+ else if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmPkPtr((PTR)CellCfgRsp, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
SPutSBuf(pst->region, pst->pool, (Data *)CellCfgRsp,
sizeof(CtfPeriodicRemCellSearchRsp));
}
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != CTF_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if ((SGetSBuf(pst->region, pst->pool, (Data **)&CellSrchRsp,
sizeof(CtfPeriodicRemCellSearchRsp))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
RETVALUE(RFAILED);
}
}
- if (pst->selector == CTF_SEL_LWLC) {
+ if (pst->selector == ODU_SELECTOR_LWLC) {
if (cmUnpkPtr((PTR *)&CellSrchRsp, mBuf) != ROK) {
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
}
- else if (pst->selector == CTF_SEL_LC)
+ else if (pst->selector == ODU_SELECTOR_LC)
if (cmUnpkCtfPerRemCellSrch(CellSrchRsp, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)CellSrchRsp,
sizeof(CtfPeriodicRemCellSearchRsp));
#define CTF_CFG_TRANSID_SIZE 9 /*!< Macro for Transaction ID size */
-/* selector(coupling) values */
-#define CTF_SEL_LC 0 /*!< Macro for Light Coupling */
-#define CTF_SEL_TC 1 /*!< Macro for Tight Coupling */
-#define CTF_SEL_LWLC 2 /*!< Macro for Light Weight Loose Coupling */
/* Amit */
#define CTF_MAX_SCELL_PER_UE 7
################################################################################
*******************************************************************************/
-#include "envopt.h" /* Environment options */
-#include "envdep.h" /* Environment dependent */
-#include "envind.h" /* Environment independent */
-#include "gen.h" /* General */
-#include "ssi.h" /* System services */
+#include "common_def.h"
#include "ss_queue.h"
#include "ss_task.h"
#include "ss_msg.h"
-
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_lte.x" /* Common LTE Defines */
-
#include "du_cfg.h"
#include "du_app_mac_inf.h"
-#include "cm.h"
/**************************************************************************
* @brief Function to pack Loose Coupled
***************************************************************************/
int packMacCellCfg(Pst *pst, MacCellCfg *macCellCfg)
{
- if(pst->selector == DU_SELECTOR_LC)
+ if(pst->selector == ODU_SELECTOR_LC)
{
/* we are now implemented only light wieght lossely coupled interface */
return RFAILED;
}
- else if(pst->selector == DU_SELECTOR_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
Buffer *mBuf = NULLP;
U16 ret = ROK;
MacCellCfg *macCellCfg;
- if(pst->selector == DU_SELECTOR_LWLC)
+ if(pst->selector == ODU_SELECTOR_LWLC)
{
/* unpack the address of the structure */
CMCHKUNPK(cmUnpkPtr, (PTR *)&macCellCfg, mBuf);
***************************************************************************/
int packMacCellCfgCfm(Pst *pst, MacCellCfgCfm *macCellCfgCfm)
{
- if(pst->selector == DU_SELECTOR_LC)
+ if(pst->selector == ODU_SELECTOR_LC)
{
Buffer *mBuf = NULLP;
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
return SPstTsk(pst,mBuf);
}
- else if(pst->selector == DU_SELECTOR_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
/* only LC is supported */
return RFAILED;
{
MacCellCfgCfm macCellCfgCfm;
- if(pst->selector == DU_SELECTOR_LC)
+ if(pst->selector == ODU_SELECTOR_LC)
{
/* unpack the transaction ID in CNF structure */
CMCHKUNPK(SUnpkU16, &(macCellCfgCfm.transId), mBuf);
{
Buffer *mBuf = NULLP;
- if(pst->selector == DU_SELECTOR_LC)
+ if(pst->selector == ODU_SELECTOR_LC)
{
/* Loose coupling not supported */
return RFAILED;
}
- else if(pst->selector == DU_SELECTOR_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
{
MacCellStartInfo *cellStartInfo;
- if(pst->selector == DU_SELECTOR_LWLC)
+ if(pst->selector == ODU_SELECTOR_LWLC)
{
/* unpack the address of the structure */
CMCHKUNPK(cmUnpkPtr, (PTR *)&cellStartInfo, mBuf);
* ****************************************************************/
uint16_t packMacCellStopReq(Pst *pst, MacCellStopInfo *cellStopInfo)
{
- if(pst->selector == DU_SELECTOR_LC)
+ if(pst->selector == ODU_SELECTOR_LC)
{
/* Loose coupling not supported */
return RFAILED;
}
- else if(pst->selector == DU_SELECTOR_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
Buffer *mBuf = NULLP;
{
MacCellStopInfo *cellStopInfo;
- if(pst->selector == DU_SELECTOR_LWLC)
+ if(pst->selector == ODU_SELECTOR_LWLC)
{
/* unpack the address of the structure */
CMCHKUNPK(cmUnpkPtr, (PTR *)&cellStopInfo, mBuf);
return RFAILED;
}
- if(pst->selector == DU_SELECTOR_LC)
+ if(pst->selector == ODU_SELECTOR_LC)
{
CMCHKPK(SPkU16, slotInfo->cellId, mBuf);
CMCHKPK(SPkU16, slotInfo->sfn, mBuf);
CM_FREE_SHRABL_BUF(pst->region, pst->pool, slotInfo, sizeof(SlotInfo));
slotInfo = NULL;
}
- else if(pst->selector == DU_SELECTOR_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
/* pack the address of the structure */
CMCHKPK(cmPkPtr,(PTR)slotInfo, mBuf);
* ****************************************************************/
uint16_t unpackMacSlotInd(DuMacSlotInd func, Pst *pst, Buffer *mBuf)
{
- if(pst->selector == DU_SELECTOR_LWLC)
+ if(pst->selector == ODU_SELECTOR_LWLC)
{
SlotInfo *slotInfo;
SPutMsg(mBuf);
return (*func)(pst, slotInfo);
}
- else if(pst->selector == DU_SELECTOR_LC)
+ else if(pst->selector == ODU_SELECTOR_LC)
{
SlotInfo slotInfo;
return RFAILED;
}
- if(pst->selector == DU_SELECTOR_LC)
+ if(pst->selector == ODU_SELECTOR_LC)
{
/*pack the payload here*/
DU_LOG("\nDU APP : Packed CellId");
CM_FREE_SHRABL_BUF(pst->region, pst->pool, cellStopId, sizeof(MacCellStopInfo));
cellStopId = NULL;
}
- else if(pst->selector == DU_SELECTOR_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
/* pack the address of the structure */
CMCHKPK(cmPkPtr,(PTR)cellStopId, mBuf);
* ****************************************************************/
uint16_t unpackMacStopInd(DuMacStopInd func, Pst *pst, Buffer *mBuf)
{
- if(pst->selector == DU_SELECTOR_LWLC)
+ if(pst->selector == ODU_SELECTOR_LWLC)
{
MacCellStopInfo *cellStopId;
/* unpack the address of the structure */
SPutMsg(mBuf);
return (*func)(pst, cellStopId);
}
- else if(pst->selector == DU_SELECTOR_LC)
+ else if(pst->selector == ODU_SELECTOR_LC)
{
MacCellStopInfo cellStopId;
CMCHKUNPK(SUnpkU16, &(cellStopId.cellId), mBuf);
{
Buffer *mBuf = NULLP;
- if(pst->selector == DU_SELECTOR_LWLC)
+ if(pst->selector == ODU_SELECTOR_LWLC)
{
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
{
* ****************************************************************/
uint16_t unpackMacUlCcchInd(DuMacUlCcchInd func, Pst *pst, Buffer *mBuf)
{
- if(pst->selector == DU_SELECTOR_LWLC)
+ if(pst->selector == ODU_SELECTOR_LWLC)
{
UlCcchIndInfo *ulCcchIndInfo;
{
Buffer *mBuf = NULLP;
- if(pst->selector == DU_SELECTOR_LWLC)
+ if(pst->selector == ODU_SELECTOR_LWLC)
{
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
{
* ****************************************************************/
uint16_t unpackMacDlCcchInd(DuMacDlCcchInd func, Pst *pst, Buffer *mBuf)
{
- if(pst->selector == DU_SELECTOR_LWLC)
+ if(pst->selector == ODU_SELECTOR_LWLC)
{
DlCcchIndInfo *dlCcchIndInfo;
{
Buffer *mBuf = NULLP;
- if(pst->selector == DU_SELECTOR_LWLC)
+ if(pst->selector == ODU_SELECTOR_LWLC)
{
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
{
* ****************************************************************/
uint8_t unpackMacUeCreateReq(DuMacUeCreateReq func, Pst *pst, Buffer *mBuf)
{
- if(pst->selector == DU_SELECTOR_LWLC)
+ if(pst->selector == ODU_SELECTOR_LWLC)
{
MacUeCfg *ueCfg;
#define SRB_ID_0 0
#define SRB_ID_1 1
+
/* Macro for Ue Context */
#define MAX_NUM_LOGICAL_CHANNELS 11
#define MAX_NUM_SR_CFG_PER_CELL_GRP 8 /* Max number of scheduling request config per cell group */
#define PDSCH_START_SYMBOL_LEN 53
#define PUSCH_START_SYMBOL_LEN 41
-/* Macros for coupling */
-#define DU_MAC_LC 0
-#define DU_MAC_TC 1
-#define DU_MAC_LWLC 2
-
/* Event IDs */
#define EVENT_MAC_CELL_CONFIG_REQ 200
#define EVENT_MAC_CELL_CONFIG_CFM 201
*********************************************************************21*/
\f
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#ifdef TENB_SPLIT_ARCH
#include "ss_queue.h"
#include "ss_task.h"
#include "kwu.h" /* KWU defines */
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#ifdef TENB_SPLIT_ARCH
#include "ss_queue.x"
#include "ss_task.x"
#ifndef SS_RBUF
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
if(pst->srcEnt == ENTDUAPP)
{
}
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkKwuDatReqInfo( (datReq), mBuf);
switch(pst->selector)
{
#ifdef LCKWU
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
ret1 = cmPkKwuDatReqInfo( (datReq), mBuf);
#if (ERRCLASS & ERRCLS_ADD_RES)
#endif /* ERRCLASS & ERRCLS_ADD_RES */
}
break;
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKPK(cmPkPtr,(PTR)datReq, mBuf);
}
CMCHKPKLOG(SPkS16, spId, mBuf, EKWU011, pst);
pst->event = (Event) KWU_EVT_DAT_REQ;
ret1 = SPstTsk(pst,mBuf);
- if(pst->selector == KWU_SEL_LC)
+ if(pst->selector == ODU_SELECTOR_LC)
{
if (SPutStaticBuffer(pst->region, pst->pool, (Data *)datReq,
sizeof(KwuDatReqInfo),SS_SHARABLE_MEMORY) != ROK)
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
/* When the Selector is LWLC, we need to allocate memory, copy
* the contents and pass the pointer of the allocated memory. The
CMCHKPK(cmPkPtr,(PTR)datIndInfo, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkKwuDatIndInfo( (datInd), mBuf);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKPK(cmPkPtr,(PTR)datCfm, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkKwuDatCfmInfo( (datCfm), mBuf);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
/* When the Selector is LWLC, we need to allocate memory, copy
* the contents and pass the pointer of the allocated memory. The
CMCHKPK(cmPkPtr,(PTR)discSduInfo, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkKwuDiscSduInfo( (discSdu), mBuf);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKPK(cmPkPtr,(PTR) staInd, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkKwuStaIndInfo( (staInd), mBuf);
switch(pst->selector)
{
#ifdef LCKWU
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkLteRlcId( &rlcId, mBuf);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKPK(cmPkPtr,(PTR)discCfmSdu, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkKwuDiscSduInfo((discCfmSdu), mBuf);
#ifdef LCKWU
switch(pst->selector)
{
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
cmPkKwuFlowCntrlIndInfo((flowCntrlIndInfo), mBuf);
}
break;
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKPK(cmPkPtr,(PTR) flowCntrlIndInfo, mBuf);
}
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &datReq, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
/* Allocate the memory statically as there is no free
* in RLC */
retVal = (*func)(pst, datReq, mBuf);
/* If LWLC is configured, we need to
* free the memory here. */
- if(pst->selector == KWU_SEL_LWLC)
+ if(pst->selector == ODU_SELECTOR_LWLC)
{
retVal = SPutStaticBuffer(pst->region, pst->pool, (Data *)datReq,
sizeof(KwuDatReqInfo),SS_SHARABLE_MEMORY);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &datInd, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
/*SGetStaticBuffer used as RRC has an equivalent free but PDCP
* doesn't free any memory */
retVal = (*func)(pst, datInd, mBuf);
/* If LWLC is configured and the destination entity is PDCP, we need to
* free the memory here. */
- if((pst->selector == KWU_SEL_LWLC) && (pst->dstEnt == ENTPJ))
+ if((pst->selector == ODU_SELECTOR_LWLC) && (pst->dstEnt == ENTPJ))
{
retVal = SPutStaticBuffer(pst->region, pst->pool, (Data *)datInd,
sizeof(KwuDatIndInfo),SS_SHARABLE_MEMORY);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &datCfm, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&datCfm,\
sizeof(KwuDatCfmInfo),SS_SHARABLE_MEMORY)) != ROK)
CMCHKUNPK(SUnpkS16, &(spId), mBuf);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &discSdu, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&discSdu,\
sizeof(KwuDiscSduInfo),SS_SHARABLE_MEMORY)) != ROK)
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *)&staInd, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&staInd,\
sizeof(KwuStaIndInfo),SS_SHARABLE_MEMORY)) != ROK)
switch(pst->selector)
{
#ifdef LCKWU
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if(ERRCLASS & ERRCLS_DEBUG)
ret1 = cmUnpkLteRlcId( &rlcId, mBuf);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &discSdu, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&discSdu,\
sizeof(KwuDiscSduInfo),SS_SHARABLE_MEMORY)) != ROK)
switch(pst->selector)
{
#ifdef LCKWU
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
if(SGetStaticBuffer(pst->region,
pst->pool,
}
break;
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &flowCntrlInfo, mBuf);
}
/* KWU Interface Hash Defines */
/* CKW Interface Hash Defines */
-/* selector(coupling) values */
-#define KWU_SEL_LC 0
-#define KWU_SEL_LWLC 2
/***********************************************************************
Defines for KWU Interface Events
*******************************************************************************/
/* This file contains DU APP and EGTP interface functions */
-
-#include "du_egtp.h"
+#include "common_def.h"
+#include "lrg.h"
#include "legtp.h"
+#include "lkw.x"
+#include "lrg.x"
+#include "du_cfg.h"
+#include "du_egtp.h"
/*******************************************************************
*
\f
/* header include files (.h) */
-
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services interface */
-#include "cm_lte.h" /* layer manager */
+#include "common_def.h"
#include "lkw.h" /* Layer manager */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services interface */
-#include "cm_lib.x" /* common library header file */
-#include "cm_lte.x" /* layer manager */
#include "lkw.x" /* layer manager */
#ifdef LCLKW
-#include "stdio.h"
-#include "stdbool.h"
-#include "envopt.h" /* Environment options */
-#include "envdep.h" /* Environment dependent */
-#include "envind.h" /* Environment independent */
-
-#include "gen.h" /* General */
-#include "ssi.h" /* System services */
-
-#include "gen.x" /* General */
-#include "ssi.x" /* System services */
-
void l1HdlSlotIndicaion(bool);
S16 buildAndSendSlotIndication();
S16 duSendEgtpSlotInd();
*/
/* header include files (.h) */
-#include "envopt.h" /* Environment options */
-#include "envdep.h" /* Environment dependent */
-#include "envind.h" /* Environment independent */
-#include "gen.h" /* General */
-#include "ssi.h" /* System Services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "lrg.h" /* LRG Interface Defines */
-
/* header/extern include files (.x) */
-#include "gen.x" /* General */
-#include "ssi.x" /* System Services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_lte.x" /* Common LTE Defines */
#include "lrg.x" /* LRG Interface includes */
#if (defined(LCLRG))
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkRgMngmt(pst, cfg, EVTLRGCFGREQ, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkRgMngmt(pst, cfg, EVTMACSCHGENCFGREQ, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkRgMngmt(pst, cfm, EVTLRGCFGCFM, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkRgMngmt(pst, cfg, EVTMACSCHGENCFGCFM, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkRgMngmt(pst, sts, EVTLRGSTSREQ, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkRgMngmt(pst, cfm, EVTLRGSTSCFM, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkRgMngmt(pst, usta, EVTLRGUSTAIND, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkRgMngmt(pst, sta, EVTLRGSCHSTAIND, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkRgMngmt(pst, cntrl, EVTLRGCNTRLREQ, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkRgMngmt(pst, cntrl, EVTLRGSCHCNTRLREQ, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkRgMngmt(pst, cfm, EVTLRGCNTRLCFM, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkRgMngmt(pst, cntrl, EVTLRGSCHCNTRLCFM, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
SPutMsg(trcBuf);
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
MsgLen msgLen;
if (SFndLenMsg(trcBuf, &msgLen) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == LRG_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
MsgLen msgLen, totalMsgLen;
CMCHKUNPK(cmUnpkMsgLen, &msgLen, mBuf);
if (SFndLenMsg(mBuf, &totalMsgLen) != ROK)
#define LRG_USTA_DGNVAL_MEM 1
#define LRG_USTA_DGNVAL_HARQ 2
-/* selector(coupling) values */
-#define LRG_SEL_TC 1
-#define LRG_SEL_LC 0
/* TRACE Macros */
#define LRG_NO_TRACE 0
*******************************************************************************/
/* This file contains DU APP and SCTP interface functions */
-
+#include "common_def.h"
+#include "lrg.h"
+#include "legtp.h"
+#include "du_cfg.h"
+#include "lkw.x"
+#include "lrg.x"
#include "du_mgr.h"
#include "du_sctp.h"
/* header include files (.h) */
-#include "stdbool.h"
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_lte.h" /* Common LTE Defines */
-#include "cm_mblk.h" /* Common LTE Defines */
+#include "common_def.h"
#include "tfu.h" /* RGU Interface defines */
#include "lrg.h"
-//#include "fapi.h"
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_lte.x" /* Common LTE Defines */
-#include "cm_mblk.x" /* Common LTE Defines */
#include "tfu.x" /* RGU Interface includes */
#include "lrg.x"
-
#include "du_app_mac_inf.h"
#include "mac_sch_interface.h"
* ****************************************************************/
int packMacSchRachInd(Pst *pst, RachIndInfo *rachInd)
{
- if((pst->selector == MAC_SELECTOR_LC) || (pst->selector == MAC_SELECTOR_LWLC))
+ if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LWLC))
{
/* TODO */
}
* ****************************************************************/
int packMacSchCrcInd(Pst *pst, CrcIndInfo *crcInd)
{
- if((pst->selector == MAC_SELECTOR_LC) || (pst->selector == MAC_SELECTOR_LWLC))
+ if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LWLC))
{
/* TODO */
}
* ****************************************************************/
uint8_t packMacSchDlRlcBoInfo(Pst *pst, DlRlcBOInfo *dlBoInfo)
{
- if((pst->selector == MAC_SELECTOR_LC) || (pst->selector == MAC_SELECTOR_LWLC))
+ if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LWLC))
{
/* TODO */
}
#define EVENT_CRC_IND_TO_SCH 6
#define EVENT_DL_RLC_BO_INFO_TO_SCH 7
-/* selector */
-#define MAC_SCH_LC_SELECTOR 0
-#define MAC_SCH_TC_SELECTOR 1
-#define MAC_SCH_LWLC_SELECTOR 2
/*macros*/
#define NO_SSB 0
#ifndef __NLUH__
#define __NLUH__
-#define NLU_SEL_LC 0
-#define NLU_SEL_TC 1
-#define NLU_SEL_LWLC 2
-
#define EVTNLUBNDREQ 1
#define EVTNLUBNDCFM 2
#define EVTNLUNHBRREQ 3
*/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "rgm.h" /* RGM Interface defines */
-
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_lte.x" /* Common LTE Defines */
#include "rgm.x" /* RGM Interface includes */
#ifdef RGM_LWLC
@brief This file contains the packing/unpacking code for the RGR interface
primitives.
*/
-/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_lte.h" /* Common LTE Defines */
-/* LTE_ADV_FLAG_REMOVED_START */
-#include "cm_mblk.h"
/* LTE_ADV_FLAG_REMOVED_END */
+#include "common_def.h"
#include "rgr.h" /* RGR Interface defines */
-
-/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_lte.x" /* Common LTE Defines */
-/* LTE_ADV_FLAG_REMOVED_START */
-#include "cm_mblk.x"
/* LTE_ADV_FLAG_REMOVED_END */
#include "rgr.x" /* RGR Interface includes */
RETVALUE(RFAILED);
}
cmMemset((U8 *)cfgReqInfo, 0, sizeof(RgrCfgReqInfo));
- if (pst->selector == RGR_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
if (cmUnpkRgrCfgReqInfo(cfgReqInfo, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)cfgReqInfo, sizeof(RgrCfgReqInfo));
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
cmMemset((U8 *)cfgReqInfo, 0, sizeof(RgrSiCfgReqInfo));
- if (pst->selector == RGR_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
if (cmUnpkRgrSiCfgReqInfo(cfgReqInfo, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)cfgReqInfo,
sizeof(RgrSiCfgReqInfo));
}
- if (pst->selector == RGR_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkRgrWarningSiCfgReqInfo(pst, warningSiCfgReqInfo, mBuf) != ROK)
{
cmMemset((U8 *)loadInfReq, 0, sizeof(RgrLoadInfReqInfo));
- if (pst->selector == RGR_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
if (cmUnpkRgrLoadInfReqInfo(loadInfReq, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)loadInfReq,
sizeof(RgrLoadInfReqInfo));
#endif
#define RGR_MAX_DL_CQI_SUBBAND 13 /*!< Maximum number of Sub-Bands */
/** @} */
-/* Selector(coupling) values */
-#define RGR_SEL_TC 1 /*!< For Tight Coupling */
-#define RGR_SEL_LC 0 /*!< For Loose coupling */
/* Pack/ Unpack error code */
#define ERGRXXX 0
*/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "rgu.h" /* RGU Interface defines */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_lte.x" /* Common LTE Defines */
#include "rgu.x" /* RGU Interface includes */
#ifdef SS_RBUF
RETVALUE(RFAILED);
}
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKPK(cmPkPtr,(PTR) dlData, mBuf);
}
__FILE__, __LINE__, (ErrCls)ERRCLS_ADD_RES,
(ErrVal)ERGU024, (ErrVal)0, "Packing failed");
#endif
- if (dlData != NULLP);
+ if (dlData != NULLP)
{
SPutSBuf(pst->region, pst->pool,
(Data *)dlData, sizeof(RlcMacData));
RETVALUE(RFAILED);
}
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &dlData, mBuf);
}
RETVALUE(RFAILED);
}
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKPK(cmPkPtr,(PTR)ulData, mBuf);
}
RETVALUE(RFAILED);
}
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &ulData, mBuf);
}
SPutSBuf(pst->region, pst->pool, (Data *)measReq, sizeof(RguL2MUlThrpMeasReqInfo));
RETVALUE(RFAILED);
}
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKPK(cmPkPtr,(PTR) measReq, mBuf);
}
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &measReq, mBuf);
}
RETVALUE(RFAILED);
}
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKPK(cmPkPtr,(PTR) boStaInfo, mBuf);
}
RETVALUE(RFAILED);
}
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &boSta, mBuf);
}
RETVALUE(RFAILED);
}
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKPK(cmPkPtr,(PTR) harqStaInd, mBuf);
}
if (SPutSBuf(pst->region, pst->pool, (Data *)harqStaInd,
sizeof(RguHarqStatusInd)) != ROK) {
#else
- if (pst->selector != RGU_SEL_LWLC)
+ if (pst->selector != ODU_SELECTOR_LWLC)
{
if(SPutStaticBuffer(pst->region, pst->pool, (Data *)harqStaInd,
sizeof(RguHarqStatusInd), 0) != ROK)
if ((SGetSBuf(pst->region, pst->pool, (Data **)&hqStaInd,
sizeof(RguHarqStatusInd))) != ROK) {
#else
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &hqStaInd, mBuf);
}
SPutSBuf(pst->region, pst->pool, (Data *)schRep, sizeof(RlcMacSchedRepInfo));
RETVALUE(RFAILED);
}
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKPK(cmPkPtr,(PTR) schRep, mBuf);
}
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &schRep, mBuf);
}
#endif
RETVALUE(RFAILED);
}
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKPK(cmPkPtr,(PTR) flowCntrlInd, mBuf);
}
SPutMsg(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector == RGU_SEL_LWLC)
+ if (pst->selector == ODU_SELECTOR_LWLC)
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &flowCntrlInd, mBuf);
}
#else
#define RGU_MAX_NUM_UE_PER_TTI 8 /*!< Max UEs Per Tti */
#endif
-/* selector(coupling) values */
-#define RGU_SEL_TC 1
-#define RGU_SEL_LC 0
-#define RGU_SEL_LWLC 2
/* pack unpack error code */
#define ERGUXXX 0
*/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_lte.h" /* Common LTE Defines */
-#include "cm_mblk.h" /* Common LTE Defines */
+#include "common_def.h"
#include "tfu.h" /* RGU Interface defines */
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_lte.x" /* Common LTE Defines */
-#include "cm_mblk.x" /* Common LTE Defines */
#include "tfu.x" /* RGU Interface includes */
#include "du_app_mac_inf.h"
TFU_FREE_MEM(raReqInd);
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuRaReqIndInfo(raReqInd, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmPkPtr((PTR)raReqInd, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
TFU_FREE_MEM(raReqInd);
}
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
Mem sMem;
sMem.region = pst->region;
sMem.pool = pst->pool;
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkTfuRaReqIndInfo(raReqInd, mBuf) != ROK) {
TFU_FREE_MEM(raReqInd);
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR *)&raReqInd, mBuf) != ROK)
{
TFU_FREE_MEM(recpReq);
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuRecpReqInfo(recpReq, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmPkPtr((PTR)recpReq, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
TFU_FREE_MEM(recpReq);
}
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
Mem sMem;
sMem.region = pst->region;
sMem.pool = pst->pool;
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR *)&recpReq, mBuf) != ROK)
{
}
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkTfuRecpReqInfo(recpReq, (Ptr)&recpReq->memCp, mBuf) != ROK) {
TFU_FREE_MEM(recpReq);
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR*)&recpReq, mBuf) != ROK)
{
TFU_FREE_MEM(ulCqiInd);
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuUlCqiIndInfo(ulCqiInd, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmPkPtr((PTR)ulCqiInd, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
TFU_FREE_MEM(ulCqiInd);
}
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
Mem sMem;
sMem.region = pst->region;
sMem.pool = pst->pool;
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkTfuUlCqiIndInfo(ulCqiInd, (Ptr)&ulCqiInd->memCp, mBuf) != ROK) {
TFU_FREE_MEM(ulCqiInd);
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR *)&ulCqiInd, mBuf) != ROK)
{
TFU_FREE_MEM(hqInd);
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuHqIndInfo(hqInd, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmPkPtr((PTR)hqInd, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
TFU_FREE_MEM(hqInd);
}
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
Mem sMem;
sMem.region = pst->region;
sMem.pool = pst->pool;
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkTfuHqIndInfo(hqInd, (Ptr)&hqInd->memCp, mBuf) != ROK) {
TFU_FREE_MEM(hqInd);
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR *)&hqInd, mBuf) != ROK)
{
TFU_FREE_MEM(srInd);
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuSrIndInfo(srInd, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmPkPtr((PTR)srInd, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
TFU_FREE_MEM(srInd);
}
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
Mem sMem;
sMem.region = pst->region;
sMem.pool = pst->pool;
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkTfuSrIndInfo(srInd, (Ptr)&srInd->memCp, mBuf) != ROK) {
TFU_FREE_MEM(srInd);
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR *)&srInd, mBuf) != ROK)
{
TFU_FREE_MEM(dlCqiInd);
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuDlCqiIndInfo(dlCqiInd, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmPkPtr((PTR)dlCqiInd, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
TFU_FREE_MEM(dlCqiInd);
}
pst->event = (Event) EVTTFUDLCQIIND;
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
Mem sMem;
sMem.region = pst->region;
sMem.pool = pst->pool;
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkTfuDlCqiIndInfo(dlCqiInd, (Ptr)&dlCqiInd->memCp, mBuf) != ROK) {
TFU_FREE_MEM(dlCqiInd);
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR *)&dlCqiInd, mBuf) != ROK)
{
TFU_FREE_MEM(datInd);
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuDatIndInfo(datInd, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if(cmPkPtr((PTR)datInd, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
TFU_FREE_MEM(datInd);
}
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
Mem sMem;
sMem.region = pst->region;
sMem.pool = pst->pool;
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkTfuDatIndInfo(datInd, (Ptr)&datInd->memCp, mBuf) != ROK) {
TFU_FREE_MEM(datInd);
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if(cmUnpkPtr((PTR *)&datInd, mBuf) != ROK)
{
TFU_FREE_MEM(crcIndInfo);
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuCrcIndInfo(crcIndInfo, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmPkPtr((PTR)crcIndInfo, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
TFU_FREE_MEM(crcIndInfo);
}
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
Mem sMem;
sMem.region = pst->region;
sMem.pool = pst->pool;
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkTfuCrcIndInfo(crcIndInfo, (Ptr)&crcIndInfo->memCp, mBuf) != ROK) {
TFU_FREE_MEM(crcIndInfo);
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR *)&crcIndInfo, mBuf) != ROK)
{
TFU_FREE_MEM(timingAdvInd);
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuTimingAdvIndInfo(timingAdvInd, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmPkPtr((PTR)timingAdvInd, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
TFU_FREE_MEM(timingAdvInd);
}
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
Mem sMem;
sMem.region = pst->region;
sMem.pool = pst->pool;
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkTfuTimingAdvIndInfo(timingAdvInd, (Ptr)&timingAdvInd->memCp, mBuf) != ROK) {
TFU_FREE_MEM(timingAdvInd);
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR *)&timingAdvInd, mBuf) != ROK)
{
TFU_FREE_MEM(datReq);
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuDatReqInfo(datReq, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if(cmPkPtr((PTR)datReq, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
TFU_FREE_MEM(datReq);
}
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
Mem sMem;
sMem.region = pst->region;
sMem.pool = pst->pool;
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkTfuDatReqInfo(datReq, (Ptr)&datReq->memCp, mBuf) != ROK) {
TFU_FREE_MEM(datReq);
RETVALUE(RFAILED);
}
}
- else if (pst->selector == TFU_SEL_LWLC)
+ else if (pst->selector == ODU_SELECTOR_LWLC)
{
if(cmUnpkPtr((PTR *)&datReq, mBuf) != ROK)
{
TFU_FREE_MEM(cntrlReq);
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuCntrlReqInfo(cntrlReq, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmPkPtr((PTR)cntrlReq, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
TFU_FREE_MEM(cntrlReq);
}
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
Mem sMem;
sMem.region = pst->region;
sMem.pool = pst->pool;
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkTfuCntrlReqInfo(cntrlReq, (Ptr)&cntrlReq->memCp, mBuf) != ROK) {
TFU_FREE_MEM(cntrlReq);
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR *)&cntrlReq, mBuf) != ROK)
{
SPutSBuf(pst->region, pst->pool, (Data *)ttiInd, sizeof(TfuTtiIndInfo));
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuTtiIndInfo(ttiInd, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmPkPtr((PTR)ttiInd, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if (SPutSBuf(pst->region, pst->pool, (Data *)ttiInd, sizeof(TfuTtiIndInfo)) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if ((SGetSBuf(pst->region, pst->pool, (Data **)&slotInd, sizeof(SlotIndInfo))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
}
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpackSlotIndInfo(slotInd, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)slotInd, sizeof(SlotIndInfo));
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR *)&slotInd, mBuf) != ROK)
{
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if ((SGetSBuf(pst->region, pst->pool, (Data **)&slotInd, sizeof(SlotIndInfo))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
}
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpackSlotIndInfo(slotInd, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)slotInd, sizeof(SlotIndInfo));
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR *)&slotInd, mBuf) != ROK)
{
SPutSBuf(pst->region, pst->pool, (Data *)pucchDeltaPwr, sizeof(TfuPucchDeltaPwrIndInfo));
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuPucchDeltaPwrIndInfo(pucchDeltaPwr, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmPkPtr((PTR)pucchDeltaPwr, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
TFU_FREE_MEM(pucchDeltaPwr);
}
pst->event = (Event) EVTTFUPUCCHDELPWR;
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
Mem sMem;
sMem.region = pst->region;
sMem.pool = pst->pool;
}
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkTfuPucchDeltaPwrIndInfo(pucchDeltaPwr, (Ptr)&pucchDeltaPwr->memCp, mBuf) != ROK) {
TFU_FREE_MEM(pucchDeltaPwr);
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR *)&pucchDeltaPwr, mBuf) != ROK)
{
SPutSBuf(pst->region, pst->pool, (Data *)errInd, sizeof(TfuErrIndInfo));
RETVALUE(RFAILED);
}
- if (pst->selector == TFU_SEL_LC) {
+ if (pst->selector == ODU_SELECTOR_LC) {
if (cmPkTfuErrIndInfo(errInd, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmPkPtr((PTR)errInd, mBuf) != ROK)
{
TFU_FREE_MSG(mBuf);
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if (SPutSBuf(pst->region, pst->pool, (Data *)errInd, sizeof(TfuErrIndInfo)) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
#endif
RETVALUE(RFAILED);
}
- if (pst->selector != TFU_SEL_LWLC) {
+ if (pst->selector != ODU_SELECTOR_LWLC) {
if ((SGetSBuf(pst->region, pst->pool, (Data **)&errInd, sizeof(TfuErrIndInfo))) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
}
}
- if (pst->selector == TFU_SEL_LC)
+ if (pst->selector == ODU_SELECTOR_LC)
{
if (cmUnpkTfuErrIndInfo(errInd, mBuf) != ROK) {
SPutSBuf(pst->region, pst->pool, (Data *)errInd, sizeof(TfuErrIndInfo));
RETVALUE(RFAILED);
}
}
- else if(pst->selector == TFU_SEL_LWLC)
+ else if(pst->selector == ODU_SELECTOR_LWLC)
{
if (cmUnpkPtr((PTR *)&errInd, mBuf) != ROK)
{
#define TFU_MAX_HARQ_FDBKS TFU_MAX_TB /*For Rel8/Rel9 UE*/
#endif/*LTE_ADV*/
-/* Selector */
-#define MAC_SELECTOR_LC 0
-#define MAC_SELECTOR_TC 1
-#define MAC_SELECTOR_LWLC 2
/* Event corresponding to each primitive at this interface */
#define EVTTFUBNDREQ 1 /*!< Bind Request */
#define MAX_ULSCH_PDUS_PER_TTI 1
/* selector(coupling) values */
-#define TFU_SEL_TC 1 /*!< Selector for Tight coupling. */
-#define TFU_SEL_LC 0 /*!< Selector for Loose coupling. */
-#define TFU_SEL_LWLC 2 /*!< Selector for Light-weight loose coupling. */
#define TFU_MAX_ALLOC_BYTES 4
/* pack unpack error code */
#define ETFUXXX 0
*******************************************************************************/
/* This file contains F1AP message handler functions */
-
+#include "common_def.h"
+#include "odu_common_codec.h"
#include "cu_stub_sctp.h"
#include "cu_f1ap_msg_hdl.h"
*******************************************************************************/
/* This file contains all F1AP message handler related functionality */
-#include<stdio.h>
-#include<sys/types.h>
-#include<string.h>
#include<ProtocolIE-Field.h>
#include "ProtocolExtensionField.h"
#include "F1AP-PDU.h"
#include "SRB-ToAddMod.h"
#include "RRCSetup-IEs.h"
#include "RRCSetup.h"
-
-#include "envopt.h" /* Environment options */
-#include "envdep.h" /* Environment dependent */
-#include "envind.h" /* Environment independent */
-#include "gen.h" /* General */
-#include "ssi.h" /* System services */
-#include "ss_queue.h"
-#include "ss_task.h"
-#include "ss_msg.h"
-
-#include "gen.x" /* General */
-#include "ssi.x" /* System services */
-#include "ss_queue.x"
-#include "ss_task.x"
-#include "ss_msg.x"
-
#include "du_log.h"
#define ENCODE_FAIL -1
*******************************************************************************/
/* This functions contains main() for cu_app */
-
+#include "common_def.h"
+#include "odu_common_codec.h"
#include "cu_stub.h"
#include "cu_stub_sctp.h"
#include "cu_stub_egtp.h"
+#include "du_log.h"
#define CU_ID 1
#define CU_NAME "ORAN_OAM_CU"
#ifndef __CU_MGR_MAIN_H__
#define __CU_MGR_MAIN_H__
-
-#include "stdio.h"
-#include "stdlib.h"
-#include "string.h"
-#include "stdbool.h"
-#include "ctype.h"
-#include "envopt.h" /* Environment options */
-#include "envdep.h" /* Environment dependent */
-#include "envind.h" /* Environment independent */
-
-#include "gen.h" /* General */
-#include "ssi.h" /* System services */
-#include "ss_queue.h"
-#include "ss_task.h"
-#include "ss_msg.h"
-#include "cm_inet.h"
-#include "cm_llist.h" /* Common link list defines */
-#include "cm_hash.h" /* Common hashlist defines */
-
-#include "gen.x" /* General */
-#include "ssi.x" /* System services */
-#include "ss_queue.x"
-#include "ss_task.x"
-#include "ss_msg.x"
-#include "cm_lib.x"
-#include "cm_inet.x"
-#include "cm_llist.x" /* Common link list defines */
-#include "cm_hash.x" /* Common hashlist defines */
-#include "odu_common_codec.h"
-
-#include "du_log.h"
#define MAX_IPV6_LEN 16
#define CU_DU_NAME_LEN_MAX 30 /* Max length of CU/DU name string */
/* This file contains all EGTP related functionality */
-#include <stdio.h>
+#include "common_def.h"
+#include "odu_common_codec.h"
#include "cu_stub_egtp.h"
+#include "du_log.h"
/* Global variable declaration */
EgtpGlobalCb egtpCb;
/* This file contains all SCTP related functionality */
-#include <stdio.h>
+#include "common_def.h"
+#include "odu_common_codec.h"
#include "cu_f1ap_msg_hdl.h"
#include "cu_stub_sctp.h"
#include "cu_stub_egtp.h"
+#include "du_log.h"
CuSctpDestCb f1Params;
/**************************************************************************
*******************************************************************************/
/* This file contains message handling functionality for DU cell management */
+#include "common_def.h"
+#include "lrg.h"
+#include "legtp.h"
+#include "lrg.x"
+#include "lkw.x"
+#include "du_cfg.h"
+#include "E2AP-PDU.h"
#include "du_cell_mgr.h"
+#include<ProtocolIE-Field.h>
+#include "F1AP-PDU.h"
extern DuCfgParams duCfgParam;
-
extern S16 duBuildAndSendMacCellCfg();
/*******************************************************************
/* This file contains message handling functionality for DU APP */
#ifndef __DU_CELL_MGR_H__
#define __DU_CELL_MGR_H__
-
#include "du_mgr.h"
#include "du_log.h"
#include "du_f1ap_msg_hdl.h"
#include "rgr.h"
#include "rgr.x"
-S16 procF1SetupRsp(F1AP_PDU_t *f1apMsg);
-S16 procCellsToBeActivated(Cells_to_be_Activated_List_t cellsToBeActivated);
S16 duSendSchGnbCfg();
S16 duSendSchGnbCfgToMac(RgrCfgReqInfo *cfgReq, U32 trans_id);
#endif
*******************************************************************************/
/* This file contains all utility functions */
+#include "common_def.h"
+#include "legtp.h"
+#include "lrg.h"
+#include "lkw.x"
+#include "lrg.x"
+#include "du_cfg.h"
#include "du_mgr.h"
#include "du_sys_info_hdl.h"
#include "MIB.h"
pst.dstInst = pst.srcInst;
pst.dstProcId = pst.srcProcId;
pst.event = EVTCFG;
- pst.selector = DU_SELECTOR_TC;
+ pst.selector = ODU_SELECTOR_TC;
pst.pool= DU_POOL;
/* Events */
#define EVTCFG 0
-/* Selector */
-#define DU_SELECTOR_LC 0
-#define DU_SELECTOR_TC 1
-#define DU_SELECTOR_LWLC 2
-
#ifdef EGTP_TEST
/* Macro definitions for EGTP procedures */
#define EGTP_LCL_TEID 1 /* EGTP local tunnel id */
# limitations under the License. #
################################################################################
*******************************************************************************/
-#include "du_e2ap_msg_hdl.h"
+#include "common_def.h"
+#include "lrg.h"
+#include "lkw.x"
+#include "lrg.x"
+#include "legtp.h"
+#include "du_cfg.h"
#include "du_mgr_main.h"
#include "GlobalE2node-gNB-ID.h"
+#include "odu_common_codec.h"
+#include<ProtocolIE-FieldE2.h>
+#include "E2AP-PDU.h"
+#include "du_e2ap_msg_hdl.h"
/* Global variable */
DuCfgParams duCfgParam;
-
/*******************************************************************
*
* @brief Builds Global gNodeB Params
*******************************************************************************/
/* This file contains all E2AP message handler related functionality */
-#include<stdio.h>
-#include<sys/types.h>
-#include<string.h>
-#include<ProtocolIE-FieldE2.h>
-#include "E2AP-PDU.h"
-#include "PLMN-IdentityE2.h"
-#include "RICeventTriggerDefinition.h"
-#include "odu_common_codec.h"
-
-#include "envopt.h" /* Environment options */
-#include "envdep.h" /* Environment dependent */
-#include "envind.h" /* Environment independent */
-#include "gen.h" /* General */
-#include "ssi.h" /* System services */
-#include "ss_queue.h"
-#include "ss_task.h"
-#include "ss_msg.h"
-
-#include "gen.x" /* General */
-#include "ssi.x" /* System services */
-#include "ss_queue.x"
-#include "ss_task.x"
-#include "ss_msg.x"
-
-#include "du_log.h"
#define ENCODE_FAIL -1
E2apMsgDb e2apMsgDb;
uint8_t BuildAndSendE2SetupReq();
-uint8_t deAllocateE2SetupReqMsg(E2AP_PDU_t *e2apMsg, \
- E2setupRequest_t *e2SetupReq, uint8_t idx);
uint8_t SendE2APMsg(Region , Pool );
void E2APMsgHdlr(Buffer *mBuf);
-
+uint8_t deAllocateE2SetupReqMsg(E2AP_PDU_t *e2apMsg, E2setupRequest_t *e2SetupReq, uint8_t idx);
/**********************************************************************
End of file
**********************************************************************/
*******************************************************************************/
/* This file contains all EGTP related functionality */
-
-#include <stdio.h>
+#include "common_def.h"
+#include "lrg.h"
+#include "lkw.x"
+#include "lrg.x"
+#include "legtp.h"
+#include "du_cfg.h"
#include "du_egtp.h"
#include "du_ue_mgr.h"
rspPst->dstEnt = pst->srcEnt;
rspPst->dstInst = pst->srcInst;
rspPst->dstProcId = pst->srcProcId;
- rspPst->selector = DU_SELECTOR_LC;
+ rspPst->selector = ODU_SELECTOR_LC;
rspPst->pool= DU_POOL;
return ROK;
*******************************************************************************/
/* This file contains F1AP message handler functions */
-
+#include "common_def.h"
+#include "lrg.h"
+#include "legtp.h"
+#include "lkw.x"
+#include "lrg.x"
+#include "du_cfg.h"
+#include "E2AP-PDU.h"
#include "du_mgr.h"
#include "du_mgr_main.h"
#include "du_cell_mgr.h"
#include "UplinkConfig.h"
#include "PDSCH-ServingCellConfig.h"
#include "DUtoCURRCContainer.h"
+#include<ProtocolIE-Field.h>
+#include "ProtocolExtensionField.h"
+#include "F1AP-PDU.h"
+S16 procGNBDUCfgUpdAck(F1AP_PDU_t *f1apMsg);
+uint8_t procDlRrcMsgTrans(F1AP_PDU_t *f1apMsg);
+void FreeDUConfigUpdate(F1AP_PDU_t *f1apDuCfg);
extern char encBuf[ENC_BUF_MAX_LEN];
extern DuCfgParams duCfgParam;
uint8_t BuildULTnlInforet=RFAILED;
*******************************************************************************/
/* This file contains all F1AP message handler related functionality */
-#include<stdio.h>
-#include<sys/types.h>
-#include<string.h>
-#include<ProtocolIE-Field.h>
-#include "ProtocolExtensionField.h"
-#include "F1AP-PDU.h"
-#include "Cells-to-be-Activated-List.h"
-
-#include "envopt.h" /* Environment options */
-#include "envdep.h" /* Environment dependent */
-#include "envind.h" /* Environment independent */
-#include "gen.h" /* General */
-#include "ssi.h" /* System services */
-#include "ss_queue.h"
-#include "ss_task.h"
-#include "ss_msg.h"
-
-#include "gen.x" /* General */
-#include "ssi.x" /* System services */
-#include "ss_queue.x"
-#include "ss_task.x"
-#include "ss_msg.x"
-
-#include "du_log.h"
-#include "odu_common_codec.h"
#define TRANS_ID 1
#define RRC_SIZE 1
void F1APMsgHdlr(Buffer *mBuf);
uint8_t BuildAndSendF1SetupReq();
uint8_t BuildAndSendDUConfigUpdate();
-S16 procGNBDUCfgUpdAck(F1AP_PDU_t *f1apMsg);
-uint8_t procDlRrcMsgTrans(F1AP_PDU_t *f1apMsg);
uint8_t BuildAndSendInitialRrcMsgTransfer(uint32_t gnbDuUeF1apId, uint16_t crnti, uint8_t *rrcContainer);
-void FreeDUConfigUpdate(F1AP_PDU_t *f1apDuCfg);
/**********************************************************************
End of file
**********************************************************************/
/* This file contains message handling functionality for DU cell management */
#ifndef __DU_MGR_H__
#define __DU_MGR_H__
-
-#include "stdio.h"
-#include "ctype.h"
-#include "envopt.h" /* Environment options */
-#include "envdep.h" /* Environment dependent */
-#include "envind.h" /* Environment independent */
-#include "gen.h" /* General */
-#include "ssi.h" /* System services */
-#include "cm5.h" /* Common timer defines */
-#include "cm_tkns.h" /* Common tokens defines */
-#include "cm_mblk.h" /* Common memory allocation library defines */
-#include "cm_llist.h" /* Common link list defines */
-#include "cm_hash.h" /* Common hashlist defines */
-#include "cm_lte.h"
-#include "cm_inet.h"
-#include "lkw.h"
-#include "lrg.h"
-#include "legtp.h"
-#include "du_app_mac_inf.h"
-
-#include "gen.x" /* General */
-#include "ssi.x" /* System services */
-
-#include "cm5.x" /* Common timer library */
-#include "cm_tkns.x" /* Common tokens */
-#include "cm_mblk.x" /* Common memory allocation */
-#include "cm_llist.x" /* Common link list */
-#include "cm_hash.x" /* Common hashlist */
-#include "cm_lte.x"
-#include "cm_inet.x"
-#include "cm_lib.x"
-#include "lkw.x"
-#include "lrg.x"
-
-#include "du_cfg.h"
-
#define DU_PROC 0
+
/* Memory related configs */
#define DU_APP_MEM_REGION 0
#define RLC_UL_MEM_REGION 1
#define EVTSTARTPOLL 9
#define EVENT_RIC_DATA 10
-/* Selector */
-#define DU_SELECTOR_LC 0
-#define DU_SELECTOR_TC 1
-#define DU_SELECTOR_LWLC 2
/* SAP IDs */
#define DU_MAC_SUID 0
*******************************************************************************/
/* This file contains message handling functionality for DU APP */
-
+#include "common_def.h"
+#include "lrg.h"
+#include "legtp.h"
+#include "lkw.h"
+#include "lrg.x"
+#include "lkw.x"
+#include "du_cfg.h"
+#include "E2AP-PDU.h"
#include "du_sctp.h"
#include "du_f1ap_msg_hdl.h"
#include "du_e2ap_msg_hdl.h"
*******************************************************************************/
/* This file is the entry point for DU APP */
-
+#include "common_def.h"
+#include "lrg.h"
+#include "legtp.h"
+#include "lrg.x"
+#include "lkw.x"
+#include "du_cfg.h"
#include "du_mgr_main.h"
#include "du_sctp.h"
#include "du_egtp.h"
*******************************************************************************/
/* This file contains message handling functionality for DU APP */
-
+#include "common_def.h"
+#include "lrg.h"
+#include "legtp.h"
+#include "lkw.h"
+#include "lrg.x"
+#include "lkw.x"
+#include "du_cfg.h"
#include "du_mgr.h"
#include "du_sctp.h"
#include "du_f1ap_msg_hdl.h"
genCfg->lmPst.region = (inst == RLC_UL_INST) ?
RLC_UL_MEM_REGION:RLC_DL_MEM_REGION;
genCfg->lmPst.pool = RLC_POOL;
- genCfg->lmPst.selector = DU_SELECTOR_LC;
+ genCfg->lmPst.selector = ODU_SELECTOR_LC;
/* Fill Header */
kwMngmt.hdr.msgType = TCFG;
kwMngmt.hdr.response.mem.region = (inst == RLC_UL_INST) ?
RLC_UL_MEM_REGION:RLC_DL_MEM_REGION;
kwMngmt.hdr.response.mem.pool = DU_POOL;
- kwMngmt.hdr.response.selector = DU_SELECTOR_LC;
+ kwMngmt.hdr.response.selector = ODU_SELECTOR_LC;
/* Fill Pst */
- pst.selector = DU_SELECTOR_LC;
+ pst.selector = ODU_SELECTOR_LC;
pst.srcEnt = ENTDUAPP;
pst.dstEnt = ENTKW;
pst.dstInst = inst;
kwMngmt.hdr.response.mem.pool = RLC_POOL;
/* Fill Pst */
- pst.selector = DU_SELECTOR_LC;
+ pst.selector = ODU_SELECTOR_LC;
pst.srcEnt = ENTDUAPP;
pst.dstEnt = ENTKW;
pst.dstProcId = DU_PROC;
lSap->ent = ENTRG;
lSap->inst = lsapInst;
lSap->sapId = lsapInst; /* SapId will be stored as suId in MAC */
- lSap->selector = (inst == RLC_UL_INST) ? DU_SELECTOR_LWLC : DU_SELECTOR_TC;
+ lSap->selector = (inst == RLC_UL_INST) ? ODU_SELECTOR_LWLC : ODU_SELECTOR_TC;
kwMngmt.hdr.elmId.elmnt = STRGUSAP;
DU_LOG("\nDU_APP : RLC MAC Lower Sap Cfg Req sent for inst %d", inst);
lSap->inst = (inst == RLC_UL_INST) ?
RLC_DL_INST : RLC_UL_INST;
lSap->sapId = 0;
- lSap->selector = DU_SELECTOR_LC;
+ lSap->selector = ODU_SELECTOR_LC;
kwMngmt.hdr.elmId.elmnt = STUDXSAP;
DU_LOG("\nDU_APP : RLC DL/UL Lower Sap Cfg Req sent for inst %d", inst);
}
uSap = &(kwMngmt.t.cfg.s.sap);
- uSap->selector = DU_SELECTOR_LC;
+ uSap->selector = ODU_SELECTOR_LC;
uSap->mem.region = (inst == RLC_UL_INST) ?
RLC_UL_MEM_REGION:RLC_DL_MEM_REGION;
uSap->mem.pool = RLC_POOL;
kwMngmt.hdr.response.mem.pool = RLC_POOL;
/* Fill Pst */
- pst.selector = DU_SELECTOR_LC;
+ pst.selector = ODU_SELECTOR_LC;
pst.srcEnt = ENTDUAPP;
pst.dstEnt = ENTKW;
pst.dstProcId = DU_PROC;
genCfg->lmPst.route = RTESPEC;
genCfg->lmPst.region = MAC_MEM_REGION;
genCfg->lmPst.pool = RG_POOL;
- genCfg->lmPst.selector = DU_SELECTOR_LC;
+ genCfg->lmPst.selector = ODU_SELECTOR_LC;
/* Fill Header */
rgMngmt.hdr.msgType = TCFG;
rgMngmt.hdr.response.route = RTESPEC;
rgMngmt.hdr.response.mem.region = MAC_MEM_REGION;
rgMngmt.hdr.response.mem.pool = RG_POOL;
- rgMngmt.hdr.response.selector = DU_SELECTOR_LC;
+ rgMngmt.hdr.response.selector = ODU_SELECTOR_LC;
/* Fill Pst */
- pst.selector = DU_SELECTOR_LC;
+ pst.selector = ODU_SELECTOR_LC;
pst.srcEnt = ENTDUAPP;
pst.dstEnt = ENTRG;
pst.dstInst = macCfgInst;
uSap->inst = sapId;
uSap->prior = PRIOR0;
uSap->route = RTESPEC;
- uSap->selector = DU_SELECTOR_LC ;
+ uSap->selector = ODU_SELECTOR_LC ;
/* fill header */
rgMngmt.hdr.msgType = TCFG;
rgMngmt.hdr.response.mem.pool = RG_POOL;
/* fill pst */
- pst.selector = DU_SELECTOR_LC;
+ pst.selector = ODU_SELECTOR_LC;
pst.srcEnt = ENTDUAPP;
pst.dstEnt = ENTRG;
pst.dstInst = macCfgInst;
kwMngmt.hdr.response.mem.pool = RLC_POOL;
/* Fill pst */
- pst.selector = DU_SELECTOR_LC;
+ pst.selector = ODU_SELECTOR_LC;
pst.srcEnt = ENTDUAPP;
pst.dstEnt = ENTKW;
pst.dstProcId = DU_PROC;
pst->dstInst = (Inst)EGTP_INST;
pst->dstProcId = pst->srcProcId;
pst->event = event;
- pst->selector = DU_SELECTOR_LC;
+ pst->selector = ODU_SELECTOR_LC;
pst->pool= DU_POOL;
RETVALUE(ROK);
cfg->genCfg.lmPst.route = RTESPEC;
cfg->genCfg.lmPst.region = MAC_MEM_REGION;
cfg->genCfg.lmPst.pool = RG_POOL;
- cfg->genCfg.lmPst.selector = DU_SELECTOR_LC;
+ cfg->genCfg.lmPst.selector = ODU_SELECTOR_LC;
/* Fill Header */
rgMngmt.hdr.msgType = TCFG;
rgMngmt.hdr.response.mem.pool = RG_POOL;
/* Fill Pst */
- pst.selector = DU_SELECTOR_LC;
+ pst.selector = ODU_SELECTOR_LC;
pst.srcEnt = ENTDUAPP;
pst.dstEnt = ENTRG;
pst.dstProcId = DU_PROC;
duMacCellCfg->transId = getTransId(); /* transaction ID */
/* Fill Pst */
- pst.selector = DU_SELECTOR_LWLC;
+ pst.selector = ODU_SELECTOR_LWLC;
pst.srcEnt = ENTDUAPP;
pst.dstEnt = ENTRG;
pst.dstInst = 0;
duSendEgtpSlotInd();
#endif
- if((pst->selector == DU_SELECTOR_LWLC) || (pst->selector == DU_SELECTOR_TC))
+ if((pst->selector == ODU_SELECTOR_LWLC) || (pst->selector == ODU_SELECTOR_TC))
DU_FREE_SHRABL_BUF(MAC_MEM_REGION, pst->pool, slotInfo, sizeof(SlotInfo));
return ROK;
cellStartInfo->cellId = duCb.actvCellLst[id]->cellInfo.nrEcgi.cellId;
/* Fill Pst */
- pst.selector = DU_MAC_LWLC;
+ pst.selector = ODU_SELECTOR_LWLC;
pst.srcEnt = ENTDUAPP;
pst.dstEnt = ENTRG;
pst.dstInst = 0;
cellStopInfo->cellId = duCb.actvCellLst[0]->cellId;
/* Fill Pst */
- pst.selector = DU_MAC_LWLC;
+ pst.selector = ODU_SELECTOR_LWLC;
pst.srcEnt = ENTDUAPP;
pst.dstEnt = ENTRG;
pst.dstInst = 0;
}
}
}
- if((pst->selector == DU_SELECTOR_LWLC) || (pst->selector == DU_SELECTOR_TC))
+ if((pst->selector == ODU_SELECTOR_LWLC) || (pst->selector == ODU_SELECTOR_TC))
DU_FREE_SHRABL_BUF(MAC_MEM_REGION, pst->pool, cellStopId, sizeof(MacCellStopInfo));
return ROK;
*******************************************************************************/
/* This file contains all SCTP related functionality */
-
-#include <stdio.h>
+#include "common_def.h"
+#include "lrg.h"
+#include "legtp.h"
+#include "lrg.x"
+#include "lkw.x"
+#include "du_cfg.h"
#include "du_sctp.h"
#include "lsctp.h"
pst->dstInst = (Inst)SCTP_INST;
pst->dstProcId = pst->srcProcId;
pst->event = event;
- pst->selector = DU_SELECTOR_LC;
+ pst->selector = ODU_SELECTOR_LC;
pst->pool= DU_POOL;
SPstTsk(pst, mBuf);
pst.dstInst = (Inst)DU_INST;
pst.dstProcId = pst.srcProcId;
pst.event = event;
- pst.selector = DU_SELECTOR_LC;
+ pst.selector = ODU_SELECTOR_LC;
pst.pool= DU_POOL;
pst.region = DFLT_REGION;
pst.dstInst = (Inst)DU_INST;
pst.dstProcId = pst.srcProcId;
pst.event = EVENT_SCTP_NTFY;
- pst.selector = DU_SELECTOR_LC;
+ pst.selector = ODU_SELECTOR_LC;
pst.pool= DU_POOL;
pst.region = DFLT_REGION;
*******************************************************************************/
/* This file contains ASN codec for MIB and SIB1 msgs */
-
+#include "common_def.h"
+#include "lrg.h"
+#include "lkw.x"
+#include "lrg.x"
+#include "legtp.h"
+#include "du_cfg.h"
#include "du_mgr.h"
#include "du_log.h"
#include "BCCH-BCH-Message.h"
#include "MCC.h"
#include "SIB1.h"
#include "du_sys_info_hdl.h"
+
void FreeSib1Msg(SIB1_t *sib1Msg);
uint8_t FreqInfoUlret = RFAILED;
uint8_t RachCfgCommonret = RFAILED;
uint8_t FreqInfoDlret = RFAILED;
uint8_t DlCfgCommSibret = RFAILED;
uint8_t CommonSerachSpaceListret = RFAILED;
+
/*******************************************************************
*
* @brief Builds MIB
################################################################################
*******************************************************************************/
/* This file contains UE management handling functionality for DU APP */
+#include "common_def.h"
+#include "lrg.h"
+#include "lrg.x"
+#include "lkw.x"
+#include "legtp.h"
+#include "du_cfg.h"
#include "du_ue_mgr.h"
+#include<ProtocolIE-Field.h>
+#include "F1AP-PDU.h"
#ifdef EGTP_TEST
U32 sduId = 0;
} /* End of entity configuration for loop */
/* Fill Pst */
- pst.selector = DU_SELECTOR_LWLC;
+ pst.selector = ODU_SELECTOR_LWLC;
pst.srcEnt = ENTDUAPP;
pst.dstEnt = ENTKW;
pst.dstInst = RLC_UL_INST;
datReqInfo.lcType = CM_LTE_LCH_DTCH;
#endif
/* Filling pst and Sending to RLC DL */
- pst.selector = DU_SELECTOR_LWLC;
+ pst.selector = ODU_SELECTOR_LWLC;
pst.srcEnt = ENTDUAPP;
pst.dstEnt = ENTKW;
pst.dstInst = RLC_DL_INST;
DU_FREE(dlCcchMsg, dlCcchMsgSize);
/* Fill Pst */
- pst.selector = DU_MAC_LWLC;
+ pst.selector = ODU_SELECTOR_LWLC;
pst.srcEnt = ENTDUAPP;
pst.dstEnt = ENTRG;
pst.dstInst = 0;
memset(&pst, 0, sizeof(Pst));
/* Fill Pst */
- pst.selector = DU_MAC_LWLC;
+ pst.selector = ODU_SELECTOR_LWLC;
pst.srcEnt = ENTDUAPP;
pst.srcInst = DU_INST;
pst.dstEnt = ENTRG;
/*This file contains stub for PHY to handle messages to/from MAC CL */
-#include <stdint.h>
-
-#include "envdep.h"
-#include "gen.h"
-#include "ssi.h"
-
-#include "gen.x"
-#include "ssi.x"
-
+#include "common_def.h"
#include "lwr_mac.h"
#include "lwr_mac_phy.h"
-#ifdef FAPI
+#ifdef INTEL_FAPI
#include "fapi.h"
#endif
#include "lphy_stub.h"
bool rachIndSent = false;
EXTERN void phyToMac ARGS((uint16_t msgType, uint32_t msgLen,void *msg));
-#ifdef FAPI
+#ifdef INTEL_FAPI
EXTERN void fillTlvs ARGS((fapi_uint16_tlv_t *tlv, uint16_t tag, uint16_t
length, uint16_t value, uint32_t *msgLen));
EXTERN void fillMsgHeader ARGS((fapi_msg_t *hdr, uint16_t msgType, uint16_t msgLen));
* ****************************************************************/
S16 l1BldAndSndParamRsp(void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
uint8_t index = 0;
uint32_t msgLen = 0;
fapi_param_resp_t *fapiParamRsp;
S16 l1BldAndSndConfigRsp(void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
uint32_t msgLen = 0;
fapi_config_resp_t *fapiConfigRsp;
PUBLIC void l1HdlParamReq(uint32_t msgLen, void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
DU_LOG("\nPHY_STUB: Received Param Request in PHY");
/* Build and send PARAM RESPONSE */
PUBLIC void l1HdlConfigReq(uint32_t msgLen, void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
fapi_config_req_t *configReq = (fapi_config_req_t *)msg;
DU_LOG("\nPHY_STUB: Received Config Request in PHY");
* ****************************************************************/
uint16_t l1BuildAndSendCrcInd(uint16_t slot, uint16_t sfn)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
uint8_t idx = 0;
fapi_crc_ind_t *crcInd;
return ROK;
} /* l1BuildAndSendCrcInd */
-#ifdef FAPI
+#ifdef INTEL_FAPI
/*******************************************************************
*
* @brief Build and send Rx data indication
* ****************************************************************/
uint16_t l1BuildAndSendRachInd(uint16_t slot, uint16_t sfn)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
uint8_t rachPduIdx = 0;
uint8_t preamIdx = 0;
fapi_rach_pdu_t *rachPdu;
* ****************************************************************/
PUBLIC uint16_t l1BuildAndSendSlotIndication()
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
fapi_slot_ind_t *slotIndMsg;
MAC_ALLOC(slotIndMsg, sizeof(fapi_slot_ind_t));
PUBLIC S16 l1HdlStartReq(uint32_t msgLen, void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
fapi_start_req_t *startReq = (fapi_start_req_t *)msg;
if(clGlobalCp.phyState == PHY_STATE_CONFIGURED)
PUBLIC S16 l1HdlDlTtiReq(uint16_t msgLen, void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
fapi_dl_tti_req_t *dlTtiReq;
dlTtiReq = (fapi_dl_tti_req_t *)msg;
PUBLIC S16 l1HdlTxDataReq(uint16_t msgLen, void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
fapi_tx_data_req_t *txDataReq;
txDataReq = (fapi_tx_data_req_t *)msg;
PUBLIC S16 l1HdlUlTtiReq(uint16_t msgLen, void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
fapi_ul_tti_req_t *ulTtiReq;
DU_LOG("\nPHY STUB: Received UL TTI Request");
* ****************************************************************/
PUBLIC uint16_t l1BuildAndSendStopInd()
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
fapi_stop_ind_t *stopIndMsg = NULLP;
uint32_t msgLen = 0;
PUBLIC S16 l1HdlStopReq(uint32_t msgLen, void *msg)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
fapi_stop_req_t *stopReq = (fapi_stop_req_t *)msg;
if(clGlobalCp.phyState == PHY_STATE_RUNNING)
{
switch(msgType)
{
-#ifdef FAPI
+#ifdef INTEL_FAPI
case FAPI_PARAM_REQUEST:
l1HdlParamReq(msgLen, msg);
break;
/* This file handles slot indication */
-#include <stdio.h>
-#include <stdbool.h>
-#include <unistd.h>
-#include <pthread.h>
-#include <time.h>
+#include "common_def.h"
#include "lphy_stub.h"
#include "du_log.h"
*******************************************************************************/
/* This file contains E2AP message handler functions */
-
+#include "common_def.h"
+#include "odu_common_codec.h"
+#include "ric_stub.h"
#include "ric_stub_sctp.h"
#include "ric_e2ap_msg_hdl.h"
#include "GlobalE2node-gNB-ID.h"
-#include "odu_common_codec.h"
+#include "ProtocolIE-FieldE2.h"
+#include "E2AP-PDU.h"
+#include "du_log.h"
Bool ricSubsStatus;
*******************************************************************************/
/* This file contains all E2AP message handler related functionality */
-#include<stdio.h>
-#include<sys/types.h>
-#include<string.h>
-#include "ProtocolIE-FieldE2.h"
-#include "E2AP-PDU.h"
-
-#include "envopt.h" /* Environment options */
-#include "envdep.h" /* Environment dependent */
-#include "envind.h" /* Environment independent */
-#include "gen.h" /* General */
-#include "ssi.h" /* System services */
-#include "ss_queue.h"
-#include "ss_task.h"
-#include "ss_msg.h"
-
-#include "gen.x" /* General */
-#include "ssi.x" /* System services */
-#include "ss_queue.x"
-#include "ss_task.x"
-#include "ss_msg.x"
-
-#include "du_log.h"
#define ENCODE_FAIL -1
#define TRANS_ID 1
*******************************************************************************/
/* This functions contains main() for ric_app */
-
+#include "common_def.h"
+#include "odu_common_codec.h"
#include "ric_stub.h"
#include "ric_stub_sctp.h"
+#include "du_log.h"
#define RIC_ID 1
#define RIC_NAME "ORAN_OAM_RIC"
#ifndef __RIC_MGR_MAIN_H__
#define __RIC_MGR_MAIN_H__
-
-#include "stdio.h"
-#include "stdlib.h"
-#include "string.h"
-#include "stdbool.h"
-#include "ctype.h"
-#include "envopt.h" /* Environment options */
-#include "envdep.h" /* Environment dependent */
-#include "envind.h" /* Environment independent */
-
-#include "gen.h" /* General */
-#include "ssi.h" /* System services */
-#include "ss_queue.h"
-#include "ss_task.h"
-#include "ss_msg.h"
-#include "cm_inet.h"
-#include "cm_llist.h" /* Common link list defines */
-#include "cm_hash.h" /* Common hashlist defines */
-
-#include "gen.x" /* General */
-#include "ssi.x" /* System services */
-#include "ss_queue.x"
-#include "ss_task.x"
-#include "ss_msg.x"
-#include "cm_lib.x"
-#include "cm_inet.x"
-#include "cm_llist.x" /* Common link list defines */
-#include "cm_hash.x" /* Common hashlist defines */
-#include "odu_common_codec.h"
-
-#include "du_log.h"
#define MAX_IPV6_LEN 16
#define RIC_DU_NAME_LEN_MAX 30 /* Max length of RIC/DU name string */
/* This file contains all SCTP related functionality */
-#include <stdio.h>
+#include "common_def.h"
+#include "odu_common_codec.h"
#include "ric_e2ap_msg_hdl.h"
#include "ric_stub_sctp.h"
+#include "ric_stub.h"
+#include "E2AP-PDU.h"
+#include "du_log.h"
CuSctpDestCb ricParams;
-
-
+RicSctpParams sctpCfg;
+S16 fillAddrLst(CmInetNetAddrLst *addrLstPtr, SctpIpAddr *ipAddr);
+S16 fillDestNetAddr(CmInetNetAddr *destAddrPtr, SctpIpAddr *dstIpPtr);
/**************************************************************************
* @brief Function to configure the Sctp Params during config Request
*
#ifndef __RIC_SCTP_H__
#define __RIC_SCTP_H__
-
-#include "stdbool.h"
-#include "ric_stub.h"
-#include "cm_inet.h"
-#include "cm_tpt.h"
-
-#include "cm_inet.x"
-#include "cm_tpt.x"
-
#define MAX_RETRY 5
/* Global variable declaration */
bool connUp; /* Is connection up */
int assocId; /* Assoc Id of connected assoc */
-RicSctpParams sctpCfg; /* SCTP configurations at DU */
typedef struct
{
uint16_t numFd;
EXTERN S16 sctpSend(Buffer *mBuf);
S16 sctpCfgReq();
S16 sctpStartReq();
-S16 fillAddrLst(CmInetNetAddrLst *addrLstPtr, SctpIpAddr *ipAddr);
-S16 fillDestNetAddr(CmInetNetAddr *destAddrPtr, SctpIpAddr *dstIpPtr);
S16 sctpSetSockOpts(CmInetFd *sock_Fd);
S16 sctpAccept(CmInetFd *lstnSock_Fd, CmInetAddr *peerAddr, CmInetFd *sock_Fd);
S16 sctpSockPoll();