mirror of https://github.com/PentHertz/srsLTE.git
Fix compilation for NR HL
This commit is contained in:
parent
77d5dedddc
commit
01e224348c
|
@ -49,7 +49,7 @@ public:
|
|||
srsue::rrc_interface_rlc* rrc_,
|
||||
srslte::timer_handler* timers_);
|
||||
~rlc_um_nr();
|
||||
bool configure(rlc_config_t cnfg);
|
||||
bool configure(const rlc_config_t& cnfg);
|
||||
|
||||
private:
|
||||
// Transmitter sub-class for NR
|
||||
|
@ -58,7 +58,7 @@ private:
|
|||
public:
|
||||
rlc_um_nr_tx(rlc_um_base* parent_);
|
||||
|
||||
bool configure(rlc_config_t cfg, std::string rb_name);
|
||||
bool configure(const rlc_config_t& cfg, std::string rb_name);
|
||||
int build_data_pdu(unique_byte_buffer_t pdu, uint8_t* payload, uint32_t nof_bytes);
|
||||
uint32_t get_buffer_state();
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ rlc_um_nr::~rlc_um_nr()
|
|||
stop();
|
||||
}
|
||||
|
||||
bool rlc_um_nr::configure(rlc_config_t cnfg_)
|
||||
bool rlc_um_nr::configure(const rlc_config_t& cnfg_)
|
||||
{
|
||||
// determine bearer name and configure Rx/Tx objects
|
||||
rb_name = get_rb_name(rrc, lcid, cnfg_.um.is_mrb);
|
||||
|
@ -99,7 +99,7 @@ uint32_t rlc_um_nr::rlc_um_nr_tx::get_buffer_state()
|
|||
return n_bytes;
|
||||
}
|
||||
|
||||
bool rlc_um_nr::rlc_um_nr_tx::configure(rlc_config_t cnfg_, std::string rb_name_)
|
||||
bool rlc_um_nr::rlc_um_nr_tx::configure(const rlc_config_t& cnfg_, std::string rb_name_)
|
||||
{
|
||||
cfg = cnfg_;
|
||||
|
||||
|
|
Loading…
Reference in New Issue