mirror of https://github.com/PentHertz/srsLTE.git
Move RLC buffer size to common
This commit is contained in:
parent
f40766a503
commit
85a7daa09d
|
@ -151,6 +151,10 @@ struct rlc_status_pdu_t{
|
|||
class rlc_common
|
||||
{
|
||||
public:
|
||||
|
||||
// Size of the Uplink buffer in number of PDUs
|
||||
const static int RLC_BUFFER_NOF_PDU = 128;
|
||||
|
||||
virtual ~rlc_common() {}
|
||||
virtual void init(srslte::log *rlc_entity_log_,
|
||||
uint32_t lcid_,
|
||||
|
|
|
@ -43,7 +43,7 @@ void rlc_entity::init(rlc_mode_t mode_,
|
|||
{
|
||||
|
||||
if (buffer_size <= 0) {
|
||||
buffer_size = 64;
|
||||
buffer_size = rlc_common::RLC_BUFFER_NOF_PDU;
|
||||
}
|
||||
// Create the RLC instance the first time init() is called.
|
||||
// If called to reestablished, the entity is stopped but not destroyed
|
||||
|
|
Loading…
Reference in New Issue