From 72bbc08641534c23d80299be42726b06583d8218 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Mon, 27 Mar 2017 10:08:02 +0200 Subject: [PATCH] pdcch decoder was skipping nof_cce=L --- srslte/lib/phch/pdcch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srslte/lib/phch/pdcch.c b/srslte/lib/phch/pdcch.c index bd3bd2a9a..8b1d3ab52 100644 --- a/srslte/lib/phch/pdcch.c +++ b/srslte/lib/phch/pdcch.c @@ -219,7 +219,7 @@ uint32_t srslte_pdcch_ue_locations_ncce(uint32_t nof_cce, srslte_dci_location_t L = (1 << l); // For all possible ncce offset for (i = 0; i < SRSLTE_MIN(nof_cce / L, S[l]/PDCCH_FORMAT_NOF_CCE(l)); i++) { - if (nof_cce > L) { + if (nof_cce >= L) { ncce = L * ((Yk + i) % (nof_cce / L)); if (k < max_candidates && ncce + L <= nof_cce) {