From 9231bd0fe0266563afc57c0a3d773e692461ce91 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Wed, 11 Jul 2018 14:49:39 +0200 Subject: [PATCH] Fix Aperiodic CQI retx when TBS=0 --- srsue/hdr/mac/ul_harq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsue/hdr/mac/ul_harq.h b/srsue/hdr/mac/ul_harq.h index 6fb27be8a..d62a94aba 100644 --- a/srsue/hdr/mac/ul_harq.h +++ b/srsue/hdr/mac/ul_harq.h @@ -227,7 +227,7 @@ private: if (grant->has_cqi_request && grant->phy_grant.ul.mcs.tbs == 0) { /* Only CQI reporting (without SCH) */ memcpy(&action->phy_grant.ul, &grant->phy_grant.ul, sizeof(srslte_ra_ul_grant_t)); - memcpy(&cur_grant, grant, sizeof(Tgrant)); + //memcpy(&cur_grant, grant, sizeof(Tgrant)); action->tx_enabled = true; action->rnti = grant->rnti; } else if ((!(grant->rnti_type == SRSLTE_RNTI_TEMP) && grant->ndi[0] != get_ndi() && harq_feedback) ||