6e7886032bea5e81075656be92b69dd55a631d0a
[scp/ocu/5gnr.git] / Include / f1uCommon.h
1 /******************************************************************************
2 ###############################################################################
3 #   Copyright (c) [2017-2020] [ICT/CAS]                                        #
4 #   Licensed under the ORAN Software License v1.0 (License)             #
5 ###############################################################################
6 ******************************************************************************/
7
8 #ifndef F1U_COMMON_H
9 #define F1U_COMMON_H
10
11 #include "gnbCommon.h"
12
13 #define DL_USER_DATA                            0
14 #define DL_DATA_DELIVERY_STATUS         1
15 #define CUF1U_PDU_SESSION_MAX_NUM 256
16
17 typedef enum{
18         LEN_12_BITS = 0,
19         LEN_18_BITS = 1
20 }PDCPSnSize_e;
21         
22 /* CU-F1-U instance */
23 typedef struct {
24         UINT64                          ueE1apId;
25         UINT16                          ueIdx;
26         UINT8                           drbId;
27         UINT16                          pduSessionId;
28         UINT32                          nextSubmitSn;
29         PDCPSnSize_e            pdcpSnSize;
30         UINT32                          ownTeid;         /* Local teid */
31 }Cuf1uInstance_t;
32
33
34 #endif /* F1U_COMMON_H */