NR UE PDSCH: Pre-allocate LLR buffers in scratch to eliminate per-slot malloc/free
Add llr[2] and llr_buf_max to pdsch_scratch_t, allocated once at init at
worst-case size (12 * 14 * N_RB_DL * 8 * 4). Remove the per-slot
malloc16_clear + free from nr_ue_pdsch_procedures. The zero-init is also
dropped as nr_dlsch_layer_demapping unconditionally overwrites all G
positions before any function reads the buffer.
Signed-off-by:
Rupanjali <rupanjali.srivastava@openairinterface.org>
Showing
Please register or sign in to comment