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 /********************************************************************20**
21 Name: KWU user interface
25 Desc: This file Contains the Data structures and prototypes
30 *********************************************************************21*/
37 #endif /*for extern "C"*/
40 @brief KWU Interface File (kwu.h)
43 /* KWU Interface Hash Defines */
45 /* CKW Interface Hash Defines */
46 /* selector(coupling) values */
48 #define KWU_SEL_LWLC 2
50 /***********************************************************************
51 Defines for KWU Interface Events
52 ***********************************************************************/
53 #define KWU_EVT_BND_REQ 0x50 /*!< Bind Request */
54 #define KWU_EVT_BND_CFM 0x51 /*!< Bind Confirm */
55 #define KWU_EVT_UBND_REQ 0x52 /*!< Unbind Request */
57 #define KWU_EVT_CPLANE_DAT_REQ 0x53 /*!< C-Plane Data Request */
58 #define KWU_EVT_UPLANE_DAT_REQ 0x5b /*!< U-Plane Data Request */
60 #define KWU_EVT_DAT_REQ 0x53 /*!< Data Request */
61 #define KWU_EVT_TTI_IND 0x5c /*!<TTI Indication from CL */
62 #define KWU_EVT_DAT_IND 0x54 /*!< Data Indication */
63 #define KWU_EVT_DAT_CFM 0x55 /*!< Data Confirm */
64 #define KWU_EVT_DISC_SDU_REQ 0x56 /*!< Discard SDU Request */
65 #define KWU_EVT_STA_IND 0x57 /*!< Status Indication */
66 #define KWU_EVT_REEST_CMP_IND 0x58 /*!< Re-est Complete Indication */
67 /* kwu_h_001.main_2, Added support for L2 Measurement */
68 /* kwu_h_001.main_3, Correction in the text */
69 #define KWU_EVT_DISC_SDU_CFM 0x59 /*!< Discard SDU Confirm */
70 #define KWU_EVT_DAT_ACK_IND 0x5a /*!< Status Indication */
71 #define KWU_EVT_FLOW_CNTRL_IND 0x5b /*!< Flow control indication
73 #define KWU_MAX_STA_IND_SDU 100 /*!< Maximum number of SDUs
74 in status indication */
75 #define KWU_MAX_DAT_CFM 1024 /*!< Max number of DatCfms to be
76 sent to PDCP in one go
77 value should be the same as
83 #define EKWU001 (ERRKWU + 1) /* kwu.c: 164 */
84 #define EKWU002 (ERRKWU + 2) /* kwu.c: 169 */
85 #define EKWU003 (ERRKWU + 3) /* kwu.c: 170 */
86 #define EKWU004 (ERRKWU + 4) /* kwu.c: 215 */
87 #define EKWU005 (ERRKWU + 5) /* kwu.c: 221 */
88 #define EKWU006 (ERRKWU + 6) /* kwu.c: 222 */
89 #define EKWU007 (ERRKWU + 7) /* kwu.c: 267 */
90 #define EKWU008 (ERRKWU + 8) /* kwu.c: 272 */
91 #define EKWU009 (ERRKWU + 9) /* kwu.c: 273 */
92 #define EKWU010 (ERRKWU + 10) /* kwu.c: 411 */
93 #define EKWU011 (ERRKWU + 11) /* kwu.c: 427 */
94 #define EKWU012 (ERRKWU + 12) /* kwu.c: 512 */
95 #define EKWU013 (ERRKWU + 13) /* kwu.c: 528 */
96 #define EKWU014 (ERRKWU + 14) /* kwu.c: 616 */
97 #define EKWU015 (ERRKWU + 15) /* kwu.c: 632 */
98 #define EKWU016 (ERRKWU + 16) /* kwu.c: 689 */
99 #define EKWU017 (ERRKWU + 17) /* kwu.c: 705 */
100 #define EKWU018 (ERRKWU + 18) /* kwu.c: 799 */
101 #define EKWU019 (ERRKWU + 19) /* kwu.c: 815 */
102 #define EKWU020 (ERRKWU + 20) /* kwu.c: 855 */
103 #define EKWU021 (ERRKWU + 21) /* kwu.c: 856 */
104 #define EKWU022 (ERRKWU + 22) /* kwu.c: 893 */
105 #define EKWU023 (ERRKWU + 23) /* kwu.c: 894 */
106 #define EKWU024 (ERRKWU + 24) /* kwu.c: 931 */
107 #define EKWU025 (ERRKWU + 25) /* kwu.c: 932 */
108 #define EKWU026 (ERRKWU + 26) /* kwu.c:1065 */
109 #define EKWU027 (ERRKWU + 27) /* kwu.c:1086 */
110 #define EKWU028 (ERRKWU + 28) /* kwu.c:1172 */
111 #define EKWU029 (ERRKWU + 29) /* kwu.c:1193 */
112 #define EKWU030 (ERRKWU + 30) /* kwu.c:1276 */
113 #define EKWU031 (ERRKWU + 31) /* kwu.c:1297 */
114 #define EKWU032 (ERRKWU + 32) /* kwu.c:1350 */
115 #define EKWU033 (ERRKWU + 33) /* kwu.c:1371 */
116 #define EKWU034 (ERRKWU + 34) /* kwu.c:1463 */
117 #define EKWU035 (ERRKWU + 35) /* kwu.c:1484 */
120 /*************************************************************************
121 * pack/unpack defines
122 ************************************************************************/
123 #define cmPkKwuDiscSduInfo cmPkKwuDatCfmInfo
124 #define cmUnpkKwuDiscSduInfo cmUnpkKwuDatCfmInfo
127 #endif /* __cplusplus */
128 #endif /* __KWU_H__ */
131 /********************************************************************30**
133 **********************************************************************/