srsLTE/srsenb/hdr/common/common_enb.h

51 lines
1.2 KiB
C
Raw Normal View History

/**
2017-06-02 03:46:06 -07:00
*
* \section COPYRIGHT
2017-06-02 03:46:06 -07:00
*
2021-03-19 03:45:56 -07:00
* Copyright 2013-2021 Software Radio Systems Limited
2017-06-02 03:46:06 -07:00
*
* By using this file, you agree to the terms and conditions set
* forth in the LICENSE file which can be found at the top level of
* the distribution.
2017-06-01 03:25:57 -07:00
*
*/
2018-03-31 10:04:04 -07:00
#ifndef SRSENB_COMMON_ENB_H
#define SRSENB_COMMON_ENB_H
2017-06-01 03:25:57 -07:00
/*******************************************************************************
INCLUDES
*******************************************************************************/
#include "srsran/common/lte_common.h"
2017-06-01 03:25:57 -07:00
#include <stdint.h>
namespace srsenb {
#define SRSENB_RRC_MAX_N_PLMN_IDENTITIES 6
#define SRSENB_N_SRB 3
#define SRSENB_N_DRB 8
2017-06-01 03:25:57 -07:00
#define SRSENB_N_RADIO_BEARERS 11
#define SRSENB_MAX_UES 64
2017-06-01 03:25:57 -07:00
using srsran::lte_rb;
inline const char* get_rb_name(uint32_t lcid)
{
return srsran::get_rb_name(static_cast<lte_rb>(lcid));
}
inline uint32_t rb_to_lcid(lte_rb rb_id)
{
return static_cast<uint32_t>(rb_id);
}
2017-06-01 03:25:57 -07:00
// Cat 3 UE - Max number of DL-SCH transport block bits received within a TTI
// 3GPP 36.306 Table 4.1.1
#define SRSENB_MAX_BUFFER_SIZE_BITS 102048
2017-06-01 03:25:57 -07:00
#define SRSENB_MAX_BUFFER_SIZE_BYTES 12756
#define SRSENB_BUFFER_HEADER_OFFSET 1024
2020-05-25 03:44:55 -07:00
2017-06-01 03:25:57 -07:00
} // namespace srsenb
2018-03-31 10:04:04 -07:00
#endif // SRSENB_COMMON_ENB_H