remove/replaced PRIVATE and EXTERN keywords
[o-du/l2.git] / src / du_app / du_f1ap_msg_hdl.h
1 /*******************************************************************************
2 ################################################################################
3 #   Copyright (c) [2017-2019] [Radisys]                                        #
4 #                                                                              #
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                                    #
8 #                                                                              #
9 #       http://www.apache.org/licenses/LICENSE-2.0                             #
10 #                                                                              #
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 *******************************************************************************/
18
19 /* This file contains all F1AP message handler related functionality */
20
21 #define TRANS_ID 1
22 #define RRC_SIZE 1
23 #define SUL_BAND_COUNT 0
24 #define UL_SRBID        1
25 #define DL_SRBID        0
26 #define DU_ID           1
27 #define CU_ID           1
28 #define CRNTI           17017
29 #define CELL_INDEX      0
30
31 void F1APMsgHdlr(Buffer *mBuf);
32 uint8_t procF1SetupRsp(F1AP_PDU_t *f1apMsg);
33 uint8_t BuildAndSendF1SetupReq();
34 uint8_t BuildAndSendDUConfigUpdate();
35 uint8_t BuildAndSendInitialRrcMsgTransfer(uint32_t gnbDuUeF1apId, uint16_t crnti, uint16_t rrcContSize, 
36           uint8_t *rrcContainer);
37 uint8_t BuildAndSendULRRCMessageTransfer(DuUeCb  ueCb, uint8_t lcId,  uint16_t msgLen, uint8_t *rrcMsg);
38 uint8_t duProcUeContextSetupRequest(DuUeCb *ueCb);
39 uint8_t procUeReCfgCellInfo(MacUeCfg *macUeCfg, void *cellGrp);
40 void freeUeReCfgCellGrpInfo(MacUeCfg *macUeCfg);
41 uint8_t BuildAndSendUeCtxtRsp(uint8_t ueIdx, uint8_t cellId);
42 uint8_t getDrbLcId(uint32_t *drbBitMap);
43 void  freeMacLcCfg(LcCfg *lcCfg);
44 void  freeRlcLcCfg(RlcBearerCfg *lcCfg);
45 uint8_t BuildAndSendRrcDeliveryReport(uint32_t gnbCuUeF1apId, uint32_t gnbDuUeF1apId, RrcDeliveryReport *rrcDelivery);
46 /**********************************************************************
47          End of file
48 **********************************************************************/