X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Include%2Fpdcpu.h;fp=Include%2Fpdcpu.h;h=1464b7708939587a438722fc917a28fdfe38c494;hb=e93798699eccb72af04938fc9b0d7a836e284488;hp=4b350852f90f98a9d6220637aa17912104414768;hpb=94f13ab3e8da393eb27ccc561d31b447b1367c56;p=scp%2Focu%2F5gnr.git diff --git a/Include/pdcpu.h b/Include/pdcpu.h index 4b35085..1464b77 100644 --- a/Include/pdcpu.h +++ b/Include/pdcpu.h @@ -1,9 +1,21 @@ /****************************************************************************** -############################################################################### -# Copyright (c) [2017-2020] [ICT/CAS] # -# Licensed under the ORAN Software License v1.0 (License) # -############################################################################### -******************************************************************************/ +* +* Copyright (c) 2020 ICT/CAS. +* +* Licensed under the O-RAN Software License, Version 1.0 (the "Software License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* https://www.o-ran.org/software +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +*******************************************************************************/ + #ifndef PDCP_U_H #define PDCP_U_H @@ -94,7 +106,7 @@ typedef enum }PdcpTimer_e; -typedef struct +typedef struct { UINT32 count; UINT32 f1uSn; /* Not used in receiving buffer */ @@ -105,8 +117,8 @@ typedef struct typedef struct -{ - UINT16 notUsed; +{ + UINT16 notUsed; RohcParaPR_e rohcType; union { @@ -121,34 +133,34 @@ typedef struct UINT16 pduSessionId; UINT64 ueE1apId; UINT16 ueIdx; - UINT32 rlcState; - PdcpRlcMode_e rlcMode; + UINT32 rlcState; + PdcpRlcMode_e rlcMode; UINT8 sdapUlHeadLen; UINT8 sdapDlHeadLen; - PdcpSnSize_e pdcpSnSizeUl; + PdcpSnSize_e pdcpSnSizeUl; PdcpSnSize_e pdcpSnSizeDl; - HeaderCompression_t headerCompress; - + HeaderCompression_t headerCompress; + UINT8 tDiscardActive; /* TRUE/FALSE */ UINT8 tDiscardRun; /* TRUE/FALSE */ - UINT16 tDiscard; /* ms */ - ModuleMsg_t *pDiscardMsg; + UINT16 tDiscard; /* ms */ + ModuleMsg_t *pDiscardMsg; UINT8 tReorderActive; /* TRUE/FALSE */ UINT8 tReorderRun; /* TRUE/FALSE */ - UINT16 tReorder; /* ms */ + UINT16 tReorder; /* ms */ ModuleMsg_t *pReorderMsg; LONG tReorderId; - - MoreThanOneRLCContext moreThanOneRLCContext; + + MoreThanOneRLCContext moreThanOneRLCContext; UINT8 integrityProtection; /* TRUR: used, FALSE: not used */ - UINT8 outOfOrderDelivery; + UINT8 outOfOrderDelivery; UINT8 ciperingEnabled; /* TRUR: used, FALSE: not used */ PdcpStateVar_t stateVar; - - plist pTxPduList; /* transmitting buffer */ + + plist pTxPduList; /* transmitting buffer */ ULONG txListLock; /* txListLock */ - + plist pRxSduList; /* receiving buffer */ ULONG rxListLock; /* rxListLock */ }PdcpDrbEntity_t; @@ -174,7 +186,7 @@ typedef struct CuupBearerStatus_e ueStatus; PdcpuSecInfo_t *secInfo; PdcpuSecEnableInfo_t *secEnableInfo[CUUP_MAX_SESSION_NUM]; - PdcpDrbEntity_t *pdcpDrbEntity[MAX_DRB_NUM]; + PdcpDrbEntity_t *pdcpDrbEntity[MAX_DRB_NUM]; }PdcpuUeInfo_t; typedef struct