Modify licenses
[scp/ocu/5gnr.git] / Include / f1uCommon.h
1 /******************************************************************************
2 *
3 *   Copyright (c) 2020 ICT/CAS.
4 *
5 *   Licensed under the O-RAN Software License, Version 1.0 (the "Software 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 *       https://www.o-ran.org/software
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
20 #ifndef F1U_COMMON_H
21 #define F1U_COMMON_H
22
23 #include "gnbCommon.h"
24
25 #define DL_USER_DATA                            0
26 #define DL_DATA_DELIVERY_STATUS         1
27 #define CUF1U_PDU_SESSION_MAX_NUM 256
28
29 typedef enum{
30         LEN_12_BITS = 0,
31         LEN_18_BITS = 1
32 }PDCPSnSize_e;
33
34 /* CU-F1-U instance */
35 typedef struct {
36         UINT64                          ueE1apId;
37         UINT16                          ueIdx;
38         UINT8                           drbId;
39         UINT16                          pduSessionId;
40         UINT32                          nextSubmitSn;
41         PDCPSnSize_e            pdcpSnSize;
42         UINT32                          ownTeid;         /* Local teid */
43 }Cuf1uInstance_t;
44
45
46 #endif /* F1U_COMMON_H */