mirror of https://github.com/pvnis/srsRAN_4G.git
refactor: clean unnecessary includes of the asn1/rrc_nr.h
parent
ef78c7e06f
commit
47e5e85449
@ -0,0 +1,40 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* \section COPYRIGHT
|
||||||
|
*
|
||||||
|
* Copyright 2013-2021 Software Radio Systems Limited
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef SRSRAN_RRC_NR_CONFIG_H
|
||||||
|
#define SRSRAN_RRC_NR_CONFIG_H
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
namespace srsue {
|
||||||
|
|
||||||
|
// Expert arguments to create GW without proper RRC
|
||||||
|
struct core_less_args_t {
|
||||||
|
std::string ip_addr;
|
||||||
|
uint8_t drb_lcid;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct rrc_nr_args_t {
|
||||||
|
core_less_args_t coreless;
|
||||||
|
uint32_t sim_nr_meas_pci;
|
||||||
|
bool pdcp_short_sn_support;
|
||||||
|
std::string supported_bands_nr_str;
|
||||||
|
std::vector<uint32_t> supported_bands_nr;
|
||||||
|
std::vector<uint32_t> supported_bands_eutra;
|
||||||
|
std::string log_level;
|
||||||
|
uint32_t log_hex_limit;
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace srsue
|
||||||
|
|
||||||
|
#endif // SRSRAN_RRC_NR_CONFIG_H
|
@ -0,0 +1,44 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* \section COPYRIGHT
|
||||||
|
*
|
||||||
|
* Copyright 2013-2021 Software Radio Systems Limited
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef SRSRAN_RRC_CONFIG_H
|
||||||
|
#define SRSRAN_RRC_CONFIG_H
|
||||||
|
|
||||||
|
namespace srsue {
|
||||||
|
|
||||||
|
#define SRSRAN_RRC_N_BANDS 43
|
||||||
|
|
||||||
|
struct rrc_args_t {
|
||||||
|
std::string ue_category_str;
|
||||||
|
uint32_t ue_category;
|
||||||
|
int ue_category_ul;
|
||||||
|
int ue_category_dl;
|
||||||
|
uint32_t release;
|
||||||
|
uint32_t feature_group;
|
||||||
|
std::array<uint8_t, SRSRAN_RRC_N_BANDS> supported_bands;
|
||||||
|
std::vector<uint32_t> supported_bands_nr;
|
||||||
|
uint32_t nof_supported_bands;
|
||||||
|
bool support_ca;
|
||||||
|
int mbms_service_id;
|
||||||
|
uint32_t mbms_service_port;
|
||||||
|
};
|
||||||
|
|
||||||
|
#define SRSRAN_UE_CATEGORY_DEFAULT "4"
|
||||||
|
#define SRSRAN_UE_CATEGORY_MIN 1
|
||||||
|
#define SRSRAN_UE_CATEGORY_MAX 21
|
||||||
|
#define SRSRAN_RELEASE_MIN 8
|
||||||
|
#define SRSRAN_RELEASE_MAX 15
|
||||||
|
#define SRSRAN_RELEASE_DEFAULT (SRSRAN_RELEASE_MIN)
|
||||||
|
|
||||||
|
} // namespace srsue
|
||||||
|
|
||||||
|
#endif // SRSRAN_RRC_CONFIG_H
|
Loading…
Reference in New Issue