diff --git a/lib/include/srslte/upper/rlc_am_lte.h b/lib/include/srslte/upper/rlc_am_lte.h index 101902f90..b471c4666 100644 --- a/lib/include/srslte/upper/rlc_am_lte.h +++ b/lib/include/srslte/upper/rlc_am_lte.h @@ -187,7 +187,7 @@ private: srslte::timer_handler::unique_timer status_prohibit_timer; // SDU info for PDCP notifications - uint32_t pdcp_info_queue_capacity = 128; + uint32_t pdcp_info_queue_capacity = 512; std::map undelivered_sdu_info_queue; // Callback function for buffer status report diff --git a/lib/src/upper/rlc_am_lte.cc b/lib/src/upper/rlc_am_lte.cc index 1411b1d03..fad5207b0 100644 --- a/lib/src/upper/rlc_am_lte.cc +++ b/lib/src/upper/rlc_am_lte.cc @@ -386,8 +386,8 @@ int rlc_am_lte::rlc_am_lte_tx::write_sdu(unique_byte_buffer_t sdu) } if (undelivered_sdu_info_queue.size() >= pdcp_info_queue_capacity) { - log->error("PDCP SDU info exceeds maximum queue capacity\n"); - return SRSLTE_ERROR; + log->warning("Undelivered PDCP SDU info queue is growing large. Queue size: %ld\n", + undelivered_sdu_info_queue.size()); } undelivered_sdu_info_queue[info.sn] = info;