From d9a5d3f95a98c8fb4218ace24b4770dec058e63a Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 18 May 2021 12:20:57 +0200 Subject: [PATCH] pcap_base: increase PDU queue length some systems with slower HDD seem to have issues writing the PDUs to disk. increasing length to see if that helps. --- lib/include/srsran/common/mac_pcap_base.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/include/srsran/common/mac_pcap_base.h b/lib/include/srsran/common/mac_pcap_base.h index c56f18346..8eed68c9e 100644 --- a/lib/include/srsran/common/mac_pcap_base.h +++ b/lib/include/srsran/common/mac_pcap_base.h @@ -93,11 +93,11 @@ protected: virtual void write_pdu(pcap_pdu_t& pdu) = 0; void run_thread() final; - std::mutex mutex; - srslog::basic_logger& logger; - bool running = false; - static_blocking_queue queue; - uint16_t ue_id = 0; + std::mutex mutex; + srslog::basic_logger& logger; + bool running = false; + static_blocking_queue queue; + uint16_t ue_id = 0; private: void pack_and_queue(uint8_t* payload,