enb: fix log IDs and default params

master
Andre Puschmann 3 years ago committed by Xavier Arteaga
parent f1658cbf98
commit 7e38a5119b

@ -18,7 +18,7 @@ worker_pool::worker_pool(srsran::phy_common_interface& common_,
stack_interface_phy_nr& stack_,
srslog::sink& log_sink_,
uint32_t max_workers) :
pool(max_workers),
pool(max_workers, "NR-"),
common(common_),
stack(stack_),
log_sink(log_sink_),

@ -163,6 +163,8 @@ int enb_stack_lte::init(const stack_args_t& args_, const rrc_cfg_t& rrc_cfg_)
// NR layers
mac_nr_args_t mac_args = {};
mac_args.fixed_dl_mcs = 10;
mac_args.fixed_ul_mcs = 10;
mac_args.pcap = args.mac_pcap;
if (mac_nr.init(mac_args, phy_nr, nullptr, &rlc_nr, &rrc_nr) != SRSRAN_SUCCESS) {
stack_logger.error("Couldn't initialize MAC-NR");

@ -86,7 +86,7 @@ private:
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
sched_nr::sched_nr(const sched_cfg_t& sched_cfg) : cfg(sched_cfg), logger(srslog::fetch_basic_logger("MAC")) {}
sched_nr::sched_nr(const sched_cfg_t& sched_cfg) : cfg(sched_cfg), logger(srslog::fetch_basic_logger("MAC-NR")) {}
sched_nr::~sched_nr() {}

Loading…
Cancel
Save