1 /*******************************************************************************
2 ################################################################################
3 # Copyright (c) [2017-2019] [Radisys] #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
17 *******************************************************************************/
19 /* This file contains all F1AP message handler related functionality */
23 #define SUL_BAND_COUNT 0
31 void F1APMsgHdlr(Buffer *mBuf);
32 uint8_t BuildAndSendF1SetupReq();
33 uint8_t BuildAndSendDUConfigUpdate();
34 uint8_t BuildAndSendInitialRrcMsgTransfer(uint32_t gnbDuUeF1apId, uint16_t crnti, uint16_t rrcContSize,
35 uint8_t *rrcContainer);
36 uint8_t BuildAndSendULRRCMessageTransfer(DuUeCb ueCb, uint8_t lcId, uint16_t msgLen, uint8_t *rrcMsg);
37 uint8_t procUeReCfgCellInfo(MacUeCfg *macUeCfg, void *cellGrp);
38 void freeUeReCfgCellGrpInfo(MacUeCfg *macUeCfg);
39 uint8_t BuildAndSendUeCtxtRsp(uint8_t ueIdx, uint8_t cellId);
40 uint8_t getDrbLcId(uint32_t *drbBitMap);
41 void freeMacLcCfg(LcCfg *lcCfg);
42 void freeRlcLcCfg(RlcBearerCfg *lcCfg);
43 uint8_t BuildAndSendRrcDeliveryReport(uint32_t gnbCuUeF1apId, uint32_t gnbDuUeF1apId, RrcDeliveryReport *rrcDelivery);
44 uint8_t sctpSend(Buffer *mBuf, uint8_t itfType);
45 uint8_t duProcDlRrcMsg(F1DlRrcMsg *dlRrcMsg);
46 uint8_t duProcUeContextSetupRequest(DuUeCb *ueCb);
47 void duFillModulationDetails(MacUeCfg *ueCfg, MacUeCfg *oldUeCfg, void *ueCap);
48 int8_t getReAsmblTmr(uint8_t reAsmblTmrCfg);
49 int16_t getStatProhTmr(uint8_t statProhTmrCfg);
50 uint8_t duProcUeContextModReq(DuUeCb *ueCb);
51 uint8_t BuildAndSendUeContextModResp(uint8_t ueIdx, uint8_t cellId);
52 /**********************************************************************
54 **********************************************************************/