warning set 3: fixed warning realted to unused-variable and implicit-function-declaration 31/3331/5
authorBalaji Shankaran <balaji.shankaran@radisys.com>
Mon, 20 Apr 2020 14:05:16 +0000 (19:35 +0530)
committerBalaji Shankaran <balaji.shankaran@radisys.com>
Sat, 25 Apr 2020 09:05:49 +0000 (09:05 +0000)
Change-Id: If905dca79604bda3bf044f6c6c14a36819735297
Signed-off-by: Balaji Shankaran <balaji.shankaran@radisys.com>
17 files changed:
src/5gnrmac/mac_msg_hdl.c
src/5gnrmac/rg_ex_ms.c
src/5gnrmac/rg_lmm.c
src/5gnrmac/rg_tom.c
src/5gnrrlc/kw_ptli.c
src/5gnrrlc/kw_udx_dl.c
src/5gnrrlc/kw_utl_dl.c
src/5gnrsch/rg_sch_tom.c
src/5gnrsch/sch.c
src/cm/kwu.c
src/du_app/du_e2ap_msg_hdl.h
src/du_app/du_egtp.h
src/du_app/du_f1ap_msg_hdl.c
src/du_app/du_mgr_ex_ms.c
src/du_app/du_msg_hdl.c
src/du_app/du_ue_mgr.h
src/mt/mt_ss.c

index a55c31b..90230a3 100644 (file)
 #include "du_app_mac_inf.h"
 #include "rg.x"
 #include "lwr_mac_fsm.h"
-
 /* This file contains message handling functionality for MAC */
 
+extern void sendToLowerMac(uint16_t msgType, uint32_t msgLen, void *msg);
+
 /*******************************************************************
  *
  * @brief Handles cell start reuqest from DU APP
index 0e6caf2..8da7b84 100755 (executable)
@@ -75,7 +75,7 @@ registered with SSI during the LTE MAC Task initialization.
 #include "rg_prg.x"        /*PRG interface includes*/
 #include "du_app_mac_inf.h"
 #include "rg.x"            /* typedefs for MAC */
-
+void unpackDuMacCellCfg(DuMacCellCfgReq func,Pst *pst,Buffer *mBuf);
 
 /**
  * @brief Task Activation callback function Entity SM. 
index dc71c0d..059a754 100755 (executable)
@@ -83,7 +83,7 @@ static int RLOG_MODULE_ID=4096;
 #endif
 #include "ss_rbuf.h"
 #include "ss_rbuf.x"
-
+#include "lwr_mac.h"         /* MAC CL defines */
 #include "mac.h"
 #include "lwr_mac_phy.h"
 #include "lwr_mac_fsm.h"
@@ -100,6 +100,8 @@ EXTERN Void rgGetSId ARGS((SystemId *s));
 ClCb   clGlobalCp;
 MacCb  macCb;
 
+int MacSchCellCfgReq(Pst *pst,MacCellCfg *macCellCfg);
+
 /* forward references */
 PRIVATE U16 rgLMMGenCfg ARGS((
    Inst           inst,
index a181fd5..c94d2a8 100755 (executable)
@@ -1511,8 +1511,8 @@ Inst             inst;
 #ifdef LTEMAC_SPS
    Bool              isSpsRnti=FALSE;
    Pst               schPst1;  
-   RgInfSpsRelInfo   relInfo;
-   Bool              spsToBeActvtd = FALSE;
+  // RgInfSpsRelInfo   relInfo;
+       Bool              spsToBeActvtd = FALSE;
    U16               sduSize = 0;
 #endif
    U32               lcgBytes[RGINF_MAX_LCG_PER_UE];
@@ -1664,10 +1664,12 @@ Inst             inst;
 
                      ueCb->ul.implRelCntr = 0;
                      ueCb->ul.explRelCntr = 0;
-                     relInfo.cellSapId = cellCb->schInstMap.cellSapId;
+#if 0                     
+                                                       relInfo.cellSapId = cellCb->schInstMap.cellSapId;
                      relInfo.cRnti = ueCb->ueId;
-                     relInfo.isExplRel = FALSE;
+                                                       relInfo.isExplRel= FALSE;
                      //TODO: commented for compilation without SCH RgMacSchSpsRel(&schPst1, &relInfo);
+#endif  
                   }
                }
                else
index 6bc8f94..9f23fd3 100755 (executable)
@@ -27,9 +27,7 @@
         File:    kw_ptli.c
   
 *********************************************************************21*/
-static const char* RLOG_MODULE_NAME="LIM";
-static int RLOG_MODULE_ID=2048;
-static int RLOG_FILE_ID=238;
+
 /** @file kw_ptli.c 
 @brief RLC Lower Interface
 */
index 6994b9d..9ba4f88 100755 (executable)
@@ -281,7 +281,6 @@ CkwCfgInfo   *cfg;
 {
    CkwCfgCfmInfo   *cfgCfm; 
    U8              idx;    
-   S16             ret = ROK;
    KwCb            *tKwCb;
    Pst             *pstUdxCfm;
 
index d150d9c..9b6c225 100755 (executable)
@@ -257,7 +257,6 @@ RguDDatReqInfo    *datReqInfo;
    RguDDatReqPerUe  datPerUe;   /* DL data info per UE */
    RguDatReqTb      datPerTb;   /* DL data info per TB */
    RguLchDatReq     datPerLch;  /* DL data info per Lch */
-   RguPduInfo       pduInfo;    /* DL RLC PDU infor */
    RlcMacData       *dlData;    /* DL data to be sent to MAC */
 
    TRC3(KwLiRguDDatReq)
index afabf28..ac3cb3c 100755 (executable)
@@ -81,6 +81,8 @@ static int RLOG_MODULE_ID=4096;
 #ifdef EMTC_ENABLE
 #include "rg_sch_emtc_ext.x"
 #endif 
+U8 rgSCHCmnCalcPcqiBitSz(RgSchUeCb    *ueCb,U8 numTxAnt);
+PUBLIC S16 rgSCHDhm5gtfHqFdbkInd(RgSchUeCb *ue,RgSchCellCb *cell,CmLteTimingInfo timingInfo,TfuHqFdbk fdbk,RgSchErrInfo *err);
 /* local defines */
 #ifdef EMTC_ENABLE
 EXTERN  Bool rgSCHEmtcChkEmtcUe ARGS(
index 2b2884a..4d43895 100644 (file)
 #include "sch.h"
 #include "sch_utils.h"
 #include "du_log.h"
-
 extern SchCb schCb[SCH_MAX_INST];
 extern int8_t coresetIdxTable[MAX_CORESET_INDEX][4];
 extern int8_t searchSpaceIdxTable[MAX_SEARCH_SPACE_INDEX][4];
+void SchFillCfmPst(Pst *reqPst,Pst *cfmPst,RgMngmt *cfm);
 /* local defines */
 SchCellCfgCfmFunc SchCellCfgCfmOpts[] = 
 {
index 04c7eee..f5ff49a 100755 (executable)
@@ -1259,7 +1259,6 @@ Buffer *mBuf;
    S16 ret1 = ROK; 
 #endif
    S16 retVal;
-   SpId          spId = 0;
    KwuDatReqInfo *datReq = NULLP;
    KwuDatReqInfo datReqTmp;
 
index bf0d991..ef19839 100644 (file)
 #include "ss_msg.x"
 
 #include "du_log.h"
-
 #define ENCODE_FAIL -1
 
+S16 sctpSend(Buffer *mBuf, U8 itfType);
+
 typedef struct e2apDb
 {
   U16     ricId;                    
index e264a44..715ecda 100644 (file)
@@ -46,7 +46,7 @@
 #define EGTP_MASK_BIT7                   0x40
 #define EGTP_MASK_BIT8                   0x80
 
-
+S16 unpackEgtpSrvOpenReq(EgtpSrvOpenReq func, Pst *pst, Buffer *mBuf);
 U8         protType;
 
 typedef struct egtpTptSrvr
index 2934e3e..c8c066c 100644 (file)
@@ -25,7 +25,6 @@
 #include "GNB-DU-System-Information.h"
 
 extern char encBuf[ENC_BUF_MAX_LEN];
-
 extern DuCfgParams duCfgParam;
 S16 sctpSend(Buffer *mBuf, U8 itfType);
 /*******************************************************************
@@ -2820,7 +2819,6 @@ S16 BuildAndSendDUConfigUpdate()
  * ****************************************************************/
 S16 BuildAndSendULRRCMessageTransfer()
 {
-
        U8   elementCnt;
        U8   ieId;
        U8   idx;
index 8245d2f..21d752b 100644 (file)
@@ -30,7 +30,8 @@
 extern S16 cmUnpkLkwCfgCfm(LkwCfgCfm func,Pst *pst, Buffer *mBuf);
 extern S16 cmUnpkLkwCntrlCfm(LkwCntrlCfm func,Pst *pst, Buffer *mBuf);
 extern S16 cmUnpkLrgCfgCfm(LrgCfgCfm func,Pst *pst, Buffer *mBuf);
-
+extern S16 cmUnpkKwuDatInd(KwuDatInd func,Pst *pst, Buffer *mBuf);
+extern S16 cmUnpkLrgSchCfgCfm(LrgSchCfgCfm func,Pst *pst,Buffer *mBuf);
 /**************************************************************************
  * @brief Task Initiation callback function. 
  *
index be2bb54..068b728 100644 (file)
@@ -36,6 +36,11 @@ extern DuCfgParams duCfgParam;
 extern S16 cmPkLkwCfgReq(Pst *pst, KwMngmt *cfg);
 extern S16 cmPkLkwCntrlReq(Pst *pst, KwMngmt *cfg);
 extern S16 cmPkLrgCfgReq(Pst *pst, RgMngmt *cfg);
+extern S16 BuildAndSendE2SetupReq();
+extern S16 egtpHdlDatInd(EgtpMsg egtpMsg);
+extern S16 BuildAndSendDUConfigUpdate();
+extern U16 getTransId();
+extern S16 cmPkLrgSchCfgReq(Pst * pst,RgMngmt * cfg);
 
 packMacCellCfgReq packMacCellCfgOpts[] =
 {
index 381a2a0..fa55370 100644 (file)
@@ -31,7 +31,8 @@
 
 S16 duHdlEgtpDlData(EgtpMsg  *egtpMsg);
 S16 duHdlRlcUlData(Pst *pst, KwuDatIndInfo* datInd, Buffer *mBuf);
-
+S16 packUeCreateReq(Pst *pst,CkwCfgInfo *cfgInfo);
+S16 cmPkKwuDatReq(Pst * pst,KwuDatReqInfo* datReq,Buffer * mBuf);
 #endif
 
 /**********************************************************************
index b02a261..427c89d 100644 (file)
@@ -1402,7 +1402,6 @@ Region reg;
 {
    CmMmGlobRegCb        *globReg;
    CmMmGlobalBktCb      *bktCb;
-   U8                    blkCnt;
    U8 bktIdx= reg;
  TRC3(isMemThreshReached)