From 25e9f02e8c0e31ad796144252b875ee718ce7682 Mon Sep 17 00:00:00 2001 From: Guy De Souza Date: Mon, 29 Oct 2018 16:13:19 +0100 Subject: [PATCH] n_symbs update --- openair1/PHY/NR_TRANSPORT/nr_dlsch.c | 10 ++++++---- openair1/PHY/defs_nr_common.h | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/openair1/PHY/NR_TRANSPORT/nr_dlsch.c b/openair1/PHY/NR_TRANSPORT/nr_dlsch.c index 91aacad07d..a011b9a118 100644 --- a/openair1/PHY/NR_TRANSPORT/nr_dlsch.c +++ b/openair1/PHY/NR_TRANSPORT/nr_dlsch.c @@ -114,13 +114,13 @@ void nr_pdsch_codeword_modulation(uint32_t *in, void nr_pdsch_layer_mapping(uint16_t **mod_symbs, uint8_t n_codewords, uint8_t n_layers, - uint16_t *n_symbs, + uint16_t n_symbs, uint16_t **tx_layers) { switch (n_layers) { case 1: - memcpy((void*)tx_layers[0], (void*)mod_symbs[0], (n_symbs[0]<<1)*sizeof(uint16_t)); + memcpy((void*)tx_layers[0], (void*)mod_symbs[0], (n_symbs<<1)*sizeof(uint16_t)); break; case 2: @@ -234,10 +234,12 @@ for (int i=0; i