srsue: init softbuffer structs for mch,pch

This commit is contained in:
Andre Puschmann 2022-10-17 09:45:06 +02:00
parent 4f785db54a
commit 15c6feeba6
2 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ private:
uint32_t signal_buffer_max_samples = 0;
const static uint32_t mch_payload_buffer_sz = SRSRAN_MAX_BUFFER_SIZE_BYTES;
uint8_t mch_payload_buffer[mch_payload_buffer_sz];
srsran_softbuffer_rx_t mch_softbuffer;
srsran_softbuffer_rx_t mch_softbuffer = {};
/* Objects for DL */
srsran_ue_dl_t ue_dl = {};

View File

@ -130,12 +130,12 @@ private:
/* Buffers for PCH reception (not included in DL HARQ) */
const static uint32_t pch_payload_buffer_sz = 8 * 1024;
srsran_softbuffer_rx_t pch_softbuffer;
srsran_softbuffer_rx_t pch_softbuffer = {};
uint8_t pch_payload_buffer[pch_payload_buffer_sz];
/* Buffers for MCH reception (not included in DL HARQ) */
const static uint32_t mch_payload_buffer_sz = SRSRAN_MAX_BUFFER_SIZE_BYTES;
srsran_softbuffer_rx_t mch_softbuffer;
srsran_softbuffer_rx_t mch_softbuffer = {};
uint8_t mch_payload_buffer[mch_payload_buffer_sz];
srsran::mch_pdu mch_msg;