mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.5 KiB
C++
51 lines
1.5 KiB
C++
/**
|
|
*
|
|
* \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 "../rrc_config_common.h"
|
|
#include "srsran/asn1/rrc_nr.h"
|
|
#include "srsran/interfaces/gnb_rrc_nr_interfaces.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;
|
|
rrc_cell_list_nr_t cell_list;
|
|
asn1::rrc_nr::rach_cfg_common_s rach_cfg_common;
|
|
uint16_t prach_root_seq_idx_type;
|
|
|
|
std::string log_name = "RRC-NR";
|
|
std::string log_level;
|
|
uint32_t log_hex_limit;
|
|
};
|
|
|
|
} // namespace srsenb
|
|
|
|
#endif // SRSRAN_RRC_CONFIG_NR_H
|