/** * * \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_NR_H #define SRSRAN_RRC_CONFIG_NR_H #include "srsran/asn1/rrc_nr.h" #include "srsue/hdr/phy/phy_common.h" namespace srsenb { // TODO: Make this common to NR and LTE struct rrc_nr_cfg_sr_t { uint32_t period; // asn1::rrc::sched_request_cfg_c::setup_s_::dsr_trans_max_e_ dsr_max; uint32_t nof_prb; uint32_t sf_mapping[80]; uint32_t nof_subframes; }; struct rrc_nr_cfg_t { asn1::rrc_nr::mib_s mib; asn1::rrc_nr::sib1_s sib1; asn1::rrc_nr::sys_info_ies_s::sib_type_and_info_item_c_ sibs[ASN1_RRC_NR_MAX_SIB]; uint32_t nof_sibs; rrc_nr_cfg_sr_t sr_cfg; rrc_cfg_cqi_t cqi_cfg; srsran_cell_t cell; std::string log_level; uint32_t log_hex_limit; }; } // namespace srsenb #endif // SRSRAN_RRC_CONFIG_NR_H