lib,rlc: changed get_bearer() to get_lcid().

master
Pedro Alvarez 3 years ago
parent 3b150e26cb
commit f99d6bc224

@ -69,7 +69,7 @@ public:
rlc_mode_t get_mode() final { return rlc_mode_t::am; } rlc_mode_t get_mode() final { return rlc_mode_t::am; }
uint32_t get_bearer() final { return lcid; } uint32_t get_lcid() final { return lcid; }
/**************************************************************************** /****************************************************************************
* PDCP interface * PDCP interface

@ -241,8 +241,8 @@ public:
} }
} }
virtual rlc_mode_t get_mode() = 0; virtual rlc_mode_t get_mode() = 0;
virtual uint32_t get_bearer() = 0; virtual uint32_t get_lcid() = 0;
virtual rlc_bearer_metrics_t get_metrics() = 0; virtual rlc_bearer_metrics_t get_metrics() = 0;
virtual void reset_metrics() = 0; virtual void reset_metrics() = 0;

@ -41,7 +41,7 @@ public:
void empty_queue() override; void empty_queue() override;
rlc_mode_t get_mode() override; rlc_mode_t get_mode() override;
uint32_t get_bearer() override; uint32_t get_lcid() override;
rlc_bearer_metrics_t get_metrics() override; rlc_bearer_metrics_t get_metrics() override;
void reset_metrics() override; void reset_metrics() override;

@ -48,7 +48,7 @@ public:
bool is_mrb(); bool is_mrb();
rlc_mode_t get_mode(); rlc_mode_t get_mode();
uint32_t get_bearer(); uint32_t get_lcid() final;
// PDCP interface // PDCP interface
void write_sdu(unique_byte_buffer_t sdu); void write_sdu(unique_byte_buffer_t sdu);

@ -64,7 +64,7 @@ rlc_mode_t rlc_tm::get_mode()
return rlc_mode_t::tm; return rlc_mode_t::tm;
} }
uint32_t rlc_tm::get_bearer() uint32_t rlc_tm::get_lcid()
{ {
return lcid; return lcid;
} }

@ -42,7 +42,7 @@ rlc_mode_t rlc_um_base::get_mode()
return rlc_mode_t::um; return rlc_mode_t::um;
} }
uint32_t rlc_um_base::get_bearer() uint32_t rlc_um_base::get_lcid()
{ {
return lcid; return lcid;
} }

Loading…
Cancel
Save