remove unused rrc variables

master
Francisco Paisana 5 years ago committed by Francisco Paisana
parent b2aae8763b
commit 29fd147d41

@ -108,7 +108,6 @@ private:
bool running = false; bool running = false;
srslte::block_queue<cmd_msg_t> cmd_q; srslte::block_queue<cmd_msg_t> cmd_q;
srslte::byte_buffer_pool* pool = nullptr;
phy_interface_rrc_nr* phy = nullptr; phy_interface_rrc_nr* phy = nullptr;
mac_interface_rrc* mac = nullptr; mac_interface_rrc* mac = nullptr;
rlc_interface_rrc* rlc = nullptr; rlc_interface_rrc* rlc = nullptr;
@ -127,8 +126,7 @@ private:
}; };
const static char* rrc_nr_state_text[RRC_NR_STATE_N_ITEMS]; const static char* rrc_nr_state_text[RRC_NR_STATE_N_ITEMS];
rrc_nr_state_t state = RRC_NR_STATE_IDLE, last_state = RRC_NR_STATE_IDLE; rrc_nr_state_t state = RRC_NR_STATE_IDLE;
uint8_t transaction_id = 0;
rrc_nr_args_t args = {}; rrc_nr_args_t args = {};
@ -136,8 +134,6 @@ private:
srslte::timer_handler* timers = nullptr; srslte::timer_handler* timers = nullptr;
std::string get_rb_name(uint32_t lcid) final { return srslte::to_string((srslte::rb_id_nr_t)lcid); } std::string get_rb_name(uint32_t lcid) final { return srslte::to_string((srslte::rb_id_nr_t)lcid); }
bool initiated = false;
}; };
} // namespace srsue } // namespace srsue

@ -61,9 +61,14 @@ void rrc_nr::init(phy_interface_rrc_nr* phy_,
srslte::pdcp_discard_timer_t ::ms100}; srslte::pdcp_discard_timer_t ::ms100};
pdcp->add_bearer(args.coreless.drb_lcid, pdcp_cnfg); pdcp->add_bearer(args.coreless.drb_lcid, pdcp_cnfg);
running = true;
} }
void rrc_nr::stop() {} void rrc_nr::stop()
{
running = false;
}
void rrc_nr::get_metrics(rrc_nr_metrics_t& m) {} void rrc_nr::get_metrics(rrc_nr_metrics_t& m) {}

Loading…
Cancel
Save