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 definitions of F1AP conversion functions */
21 RLC_BearerConfig__servedRadioBearer_PR covertRbTypeFromIntEnumToRrcEnum(RlcRbType rbType);
22 RLC_Config_PR covertRlcModeFromIntEnumToRrcEnum(RlcMode mode);
23 SN_FieldLengthAM_t covertAmSnLenFromIntEnumToRrcEnum(SnLenAm snLen);
24 SnLenAm covertAmSnLenFromRrcEnumToIntEnum(SN_FieldLengthAM_t snLen);
25 SN_FieldLengthUM_t covertUmSnLenFromIntEnumToRrcEnum(SnLenUm snLen);
26 SnLenUm covertUmSnLenFromRrcEnumToIntEnum(SN_FieldLengthUM_t snLen);
27 T_PollRetransmit_t covertPollRetxTmrValueToEnum(uint16_t pollRetxTmr);
28 uint16_t covertPollRetxTmrEnumToValue(uint8_t pollRetxTmrCfg);
29 PollPDU_t covertPollPduValueToEnum(int16_t pollPdu);
30 int32_t covertPollPduEnumToValue(uint8_t pollPduCfg);
31 PollByte_t covertPollByteValueToEnum(int32_t pollByte);
32 int32_t covertPollByteEnumToValue(uint16_t pollBytesCfg);
33 uint8_t covertMaxRetxValueToEnum(uint8_t maxRetx);
34 uint8_t covertMaxRetxEnumToValue(uint8_t maxRetxCfg);
35 T_Reassembly_t convertReasmblTmrValueToEnum(int8_t reasmblTmr);
36 int8_t convertReasmblTmrEnumToValue(uint8_t reAsmblTmrCfg);
37 T_StatusProhibit_t convertProhibitTmrValueToEnum(int16_t prohibitTmr);
38 int16_t convertProhibitTmrEnumToValue(T_StatusProhibit_t prohibitTmr);
39 PUCCH_Resource__format_PR covertPucchFormatIntEnumToRrcEnum(uint8_t pucchFormat);
40 long convertBsrPeriodicTmrValueToEnum(int16_t periodicTmr);
41 long convertBsrRetxTmrValueToEnum(uint16_t retxTmr);
42 long convertLcSrDelayTmrValueToEnum(uint16_t delayTimer);
44 /**********************************************************************
46 **********************************************************************/