Commit d4876669 authored by Sakthivel Velumani's avatar Sakthivel Velumani

No need to set rxdataF to 0

full symbol buffer will be written bt DFT
parent c31fe381
...@@ -76,8 +76,6 @@ int nr_slot_fep(PHY_VARS_NR_UE *ue, ...@@ -76,8 +76,6 @@ int nr_slot_fep(PHY_VARS_NR_UE *ue,
//#endif //#endif
for (unsigned char aa=0; aa<frame_parms->nb_antennas_rx; aa++) { for (unsigned char aa=0; aa<frame_parms->nb_antennas_rx; aa++) {
memset(&rxdataF[aa][frame_parms->ofdm_symbol_size*symbol],0,frame_parms->ofdm_symbol_size*sizeof(int32_t));
int16_t *rxdata_ptr = (int16_t *)&common_vars->rxdata[aa][rx_offset]; int16_t *rxdata_ptr = (int16_t *)&common_vars->rxdata[aa][rx_offset];
// if input to dft is not 256-bit aligned // if input to dft is not 256-bit aligned
...@@ -191,7 +189,6 @@ int nr_slot_fep_init_sync(PHY_VARS_NR_UE *ue, ...@@ -191,7 +189,6 @@ int nr_slot_fep_init_sync(PHY_VARS_NR_UE *ue,
#endif #endif
for (unsigned char aa=0; aa<frame_parms->nb_antennas_rx; aa++) { for (unsigned char aa=0; aa<frame_parms->nb_antennas_rx; aa++) {
memset(&rxdataF[aa][frame_parms->ofdm_symbol_size*symbol],0,frame_parms->ofdm_symbol_size*sizeof(int32_t));
int16_t *rxdata_ptr; int16_t *rxdata_ptr;
rx_offset%=frame_length_samples*2; rx_offset%=frame_length_samples*2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment