From: Harshita Lal Date: Tue, 28 Sep 2021 05:46:41 +0000 (+0000) Subject: Merge "Implementation of Slice related configuration and Slice Discovery procedure... X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=95ccd3329a26f43a37bd32a722b0fa5311ce0563;p=o-du%2Fl2.git Merge "Implementation of Slice related configuration and Slice Discovery procedure [Jira id = ODUHIGH-369]" --- 95ccd3329a26f43a37bd32a722b0fa5311ce0563 diff --cc src/cu_stub/cu_stub.h index d2763c3ed,4d7c4e17a..c1a7b810a --- a/src/cu_stub/cu_stub.h +++ b/src/cu_stub/cu_stub.h @@@ -26,12 -26,10 +26,14 @@@ #define CU_POOL 1 #define MAX_DU_PORT 2 #define DU_PORT 38472 + #define SD_SIZE 3 /* As per the spec 38.473, SD size must be of size(3) */ + #define MAX_NUM_OF_SLICE 1024 /* As per the spec 38.473, maxnoofSliceItems = 1024*/ +/*VALID Tunnel ID*/ +#define MIN_TEID 1 /*[Spec 29.281,Sec 5.1]: All Zero TEIDs are never assigned for setting up GTP-U Tunnel*/ +#define MAX_TEID 10 /*[Spec 29.281]: Max limit is not mentioned but as per GTP-U Header Format, TEID occupies 4 octets */ /* allocate and zero out a static buffer */ + #define CU_ALLOC(_datPtr, _size) \ { \ S16 _ret; \