From 811ad420efd336a7ad75224d395e9d0114587731 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Tue, 4 Oct 2016 11:19:24 +0200 Subject: [PATCH] ue_ul: set cfo tol to 0 --- matlab/tests/pusch_encode_test.m | 6 +++--- srslte/lib/ue/ue_ul.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/matlab/tests/pusch_encode_test.m b/matlab/tests/pusch_encode_test.m index 13a94a7b5..5d09e88f5 100644 --- a/matlab/tests/pusch_encode_test.m +++ b/matlab/tests/pusch_encode_test.m @@ -3,11 +3,11 @@ puschConfig=struct('NLayers',1,'OrthCover','Off','Shortened',0,'NBundled',0); addpath('../../build//srslte/lib/phch/test') -cqilen=[0 4 20]; +cqilen=0;%[0 4 20]; mods={'64QAM'}; rvs=0; -betas=[0 5.0, 20.0]; -for p=1:ueConfig.NULRB +betas=0;%[0 5.0, 20.0]; +for p=1 for i=0:26 for m=1:length(mods) for r=1:length(rvs) diff --git a/srslte/lib/ue/ue_ul.c b/srslte/lib/ue/ue_ul.c index 1d8a371e4..a8e717311 100644 --- a/srslte/lib/ue/ue_ul.c +++ b/srslte/lib/ue/ue_ul.c @@ -65,6 +65,8 @@ int srslte_ue_ul_init(srslte_ue_ul_t *q, goto clean_exit; } + srslte_cfo_set_tol(&q->cfo, 0); + if (srslte_pusch_init(&q->pusch, q->cell)) { fprintf(stderr, "Error creating PUSCH object\n"); goto clean_exit;