X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Include%2FpdcpuCore.h;fp=Include%2FpdcpuCore.h;h=12263fcbfcb6e52725cd42a93548af83848dff3c;hb=1f71b9a76eacf92b39c1ce6f782f8404a34f60a9;hp=0000000000000000000000000000000000000000;hpb=254694245736881ecfff4eb0d1503bf3f49a21be;p=scp%2Focu%2F5gnr.git diff --git a/Include/pdcpuCore.h b/Include/pdcpuCore.h new file mode 100644 index 0000000..12263fc --- /dev/null +++ b/Include/pdcpuCore.h @@ -0,0 +1,29 @@ +/****************************************************************************** +############################################################################### +# Copyright (c) [2017-2020] [ICT/CAS] # +# Licensed under the ORAN Software License v1.0 (License) # +############################################################################### +******************************************************************************/ + +#ifndef PDCPU_CORE_H +#define PDCPU_CORE_H + +#include "vos_types.h" +#include "cuModuleInterface.h" +#include "upcContext.h" + +extern VOID pdcpuFreeDataBuffNode(VOID *p); + +extern INT32 pdcpuCreateEntity(UINT64 ueE1apId, UINT16 ueIdx, UINT16 pduSessionId, upcTempDrbInfo_t *pDrbItem); + +extern INT32 pdcpuModCreateEntity(UINT64 ueE1apId, UINT16 ueIdx, UINT16 pduSessionId, upcTempDrbInfo_t *pDrbItem); + +extern INT32 pdcpuUpdateEntity(UINT16 ueIdx, UINT16 pduSessionId, upcTempDrbInfo_t *pDrbItem); + +extern INT32 pdcpuDeleteEntity(UINT16 ueIdx, UINT8 drbId); + +extern INT32 pdcpuDiscardByHighestDelivSn(UINT16 ueIdx, UINT8 drbId, UINT32 sn); + +extern INT32 pdcpuRetransmit(UINT16 ueIdx, UINT8 drbId, UINT32 f1uSnStart, UINT32 f1uSnEnd); + +#endif /* PDCPU_CORE_H */