From 759c134276f09359b2bc2fdce487d6c5f3edb859 Mon Sep 17 00:00:00 2001 From: Elena Lukashova Date: Wed, 11 Jul 2018 18:12:56 +0200 Subject: [PATCH] Fixing a bug in dlsch_channel_level_core. --- openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c b/openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c index 271151f561..9750656a4f 100644 --- a/openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c +++ b/openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c @@ -3842,7 +3842,7 @@ void dlsch_channel_level_core(int **dl_ch_estimates_ext, short ii; int aatx,aarx; - int length_mod4; + int length_mod8; int length2; __m128i *dl_ch128, avg128D; @@ -3856,11 +3856,11 @@ void dlsch_channel_level_core(int **dl_ch_estimates_ext, dl_ch128=(__m128i *)&dl_ch_estimates_ext[aatx*n_rx + aarx][start_point]; - length_mod4=length&3; + length_mod8=length&7; - if (length_mod4 == 0){ + if (length_mod8 == 0){ - length2 = length>>2; + length2 = length>>3; for (ii=0;ii