X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Include%2Ff1uCommon.h;fp=Include%2Ff1uCommon.h;h=6e7886032bea5e81075656be92b69dd55a631d0a;hb=1f71b9a76eacf92b39c1ce6f782f8404a34f60a9;hp=0000000000000000000000000000000000000000;hpb=254694245736881ecfff4eb0d1503bf3f49a21be;p=scp%2Focu%2F5gnr.git diff --git a/Include/f1uCommon.h b/Include/f1uCommon.h new file mode 100644 index 0000000..6e78860 --- /dev/null +++ b/Include/f1uCommon.h @@ -0,0 +1,34 @@ +/****************************************************************************** +############################################################################### +# Copyright (c) [2017-2020] [ICT/CAS] # +# Licensed under the ORAN Software License v1.0 (License) # +############################################################################### +******************************************************************************/ + +#ifndef F1U_COMMON_H +#define F1U_COMMON_H + +#include "gnbCommon.h" + +#define DL_USER_DATA 0 +#define DL_DATA_DELIVERY_STATUS 1 +#define CUF1U_PDU_SESSION_MAX_NUM 256 + +typedef enum{ + LEN_12_BITS = 0, + LEN_18_BITS = 1 +}PDCPSnSize_e; + +/* CU-F1-U instance */ +typedef struct { + UINT64 ueE1apId; + UINT16 ueIdx; + UINT8 drbId; + UINT16 pduSessionId; + UINT32 nextSubmitSn; + PDCPSnSize_e pdcpSnSize; + UINT32 ownTeid; /* Local teid */ +}Cuf1uInstance_t; + + +#endif /* F1U_COMMON_H */