Add definition for maximum number of slices according to 3GPP specs
This commit is contained in:
@@ -80,6 +80,8 @@
|
|||||||
#define NB_RAB_MAX 11 /* from LTE_maxDRB in LTE_asn_constant.h */
|
#define NB_RAB_MAX 11 /* from LTE_maxDRB in LTE_asn_constant.h */
|
||||||
#define RAB_OFFSET 0x000F
|
#define RAB_OFFSET 0x000F
|
||||||
|
|
||||||
|
#define MAX_NUM_SLICES 1024
|
||||||
|
|
||||||
// RLC Entity
|
// RLC Entity
|
||||||
#define RLC_TX_MAXSIZE 10000000
|
#define RLC_TX_MAXSIZE 10000000
|
||||||
#define RLC_RX_MAXSIZE 10000000
|
#define RLC_RX_MAXSIZE 10000000
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <netinet/sctp.h>
|
#include <netinet/sctp.h>
|
||||||
#include "common/5g_platform_types.h"
|
#include "common/5g_platform_types.h"
|
||||||
|
#include "common/platform_constants.h"
|
||||||
|
|
||||||
//-------------------------------------------------------------------------------------------//
|
//-------------------------------------------------------------------------------------------//
|
||||||
// Defines to access message fields.
|
// Defines to access message fields.
|
||||||
@@ -140,7 +141,7 @@ typedef struct f1ap_served_cell_info_t {
|
|||||||
|
|
||||||
// Number of slice support items (max 16, could be increased to as much as 1024)
|
// Number of slice support items (max 16, could be increased to as much as 1024)
|
||||||
uint16_t num_ssi;
|
uint16_t num_ssi;
|
||||||
nssai_t nssai[16];
|
nssai_t nssai[MAX_NUM_SLICES];
|
||||||
|
|
||||||
f1ap_mode_t mode;
|
f1ap_mode_t mode;
|
||||||
union {
|
union {
|
||||||
|
|||||||
Reference in New Issue
Block a user