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 */
22 #define SUL_BAND_COUNT 0
30 void F1APMsgHdlr(Buffer *mBuf);
31 uint8_t BuildAndSendF1SetupReq();
32 uint8_t BuildAndSendDUConfigUpdate();
33 uint8_t BuildAndSendInitialRrcMsgTransfer(uint32_t gnbDuUeF1apId, uint16_t crnti, uint16_t rrcContSize,
34 uint8_t *rrcContainer);
35 uint8_t BuildAndSendULRRCMessageTransfer(DuUeCb *ueCb, uint8_t lcId, uint16_t msgLen, uint8_t *rrcMsg);
36 uint8_t procUeReCfgCellInfo(MacUeCfg *macUeCfg, MacUeCfg *storedMacUeCfg, void *cellGrp);
37 void freeUeReCfgCellGrpInfo(MacUeCfg *macUeCfg);
38 uint8_t BuildAndSendUeCtxtRsp(uint8_t cellId, uint8_t ueId);
39 uint8_t getDrbLcId(uint32_t *drbBitMap);
40 void freeMacLcCfg(LcCfg *lcCfg);
41 void freeRlcLcCfg(RlcBearerCfg *lcCfg);
42 uint8_t BuildAndSendRrcDeliveryReport(uint32_t gnbCuUeF1apId, uint32_t gnbDuUeF1apId, RrcDeliveryReport *rrcDelivery);
43 uint8_t sctpSend(Buffer *mBuf, uint8_t itfType);
44 uint8_t duProcDlRrcMsg(F1DlRrcMsg *dlRrcMsg);
45 uint8_t duProcUeContextSetupRequest(DuUeCb *ueCb);
46 void duFillModulationDetails(MacUeCfg *ueCfg, MacUeCfg *oldUeCfg, void *ueCap);
47 int8_t getReAsmblTmr(uint8_t reAsmblTmrCfg);
48 int16_t getStatProhTmr(uint8_t statProhTmrCfg);
49 uint8_t duProcUeContextModReq(DuUeCb *ueCb);
50 uint8_t BuildAndSendUeContextModRsp(DuUeCb *ueCb);
51 uint8_t BuildAndSendUeContextReleaseReq(uint16_t cellId, uint8_t ueId);
52 uint8_t BuildAndSendUeContextReleaseComplete(uint16_t cellId, uint32_t gnbCuUeF1apId, uint32_t gnbDuUeF1apId);
53 uint8_t duSendCellDeletReq(uint16_t cellId);
54 uint8_t duProcUeContextReleaseCommand(uint16_t cellId, DuUeCb *duUeCb);
55 /**********************************************************************
57 **********************************************************************/