mirror of https://github.com/PentHertz/srsLTE.git
srsue: init softbuffer structs for mch,pch
This commit is contained in:
parent
4f785db54a
commit
15c6feeba6
|
@ -98,7 +98,7 @@ private:
|
||||||
uint32_t signal_buffer_max_samples = 0;
|
uint32_t signal_buffer_max_samples = 0;
|
||||||
const static uint32_t mch_payload_buffer_sz = SRSRAN_MAX_BUFFER_SIZE_BYTES;
|
const static uint32_t mch_payload_buffer_sz = SRSRAN_MAX_BUFFER_SIZE_BYTES;
|
||||||
uint8_t mch_payload_buffer[mch_payload_buffer_sz];
|
uint8_t mch_payload_buffer[mch_payload_buffer_sz];
|
||||||
srsran_softbuffer_rx_t mch_softbuffer;
|
srsran_softbuffer_rx_t mch_softbuffer = {};
|
||||||
|
|
||||||
/* Objects for DL */
|
/* Objects for DL */
|
||||||
srsran_ue_dl_t ue_dl = {};
|
srsran_ue_dl_t ue_dl = {};
|
||||||
|
|
|
@ -130,12 +130,12 @@ private:
|
||||||
|
|
||||||
/* Buffers for PCH reception (not included in DL HARQ) */
|
/* Buffers for PCH reception (not included in DL HARQ) */
|
||||||
const static uint32_t pch_payload_buffer_sz = 8 * 1024;
|
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];
|
uint8_t pch_payload_buffer[pch_payload_buffer_sz];
|
||||||
|
|
||||||
/* Buffers for MCH reception (not included in DL HARQ) */
|
/* Buffers for MCH reception (not included in DL HARQ) */
|
||||||
const static uint32_t mch_payload_buffer_sz = SRSRAN_MAX_BUFFER_SIZE_BYTES;
|
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];
|
uint8_t mch_payload_buffer[mch_payload_buffer_sz];
|
||||||
srsran::mch_pdu mch_msg;
|
srsran::mch_pdu mch_msg;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue