Fix Aperiodic CQI retx when TBS=0

master
Ismael Gomez 7 years ago
parent 1a7e746a06
commit 229569cd76

@ -227,7 +227,7 @@ private:
if (grant->has_cqi_request && grant->phy_grant.ul.mcs.tbs == 0) { if (grant->has_cqi_request && grant->phy_grant.ul.mcs.tbs == 0) {
/* Only CQI reporting (without SCH) */ /* Only CQI reporting (without SCH) */
memcpy(&action->phy_grant.ul, &grant->phy_grant.ul, sizeof(srslte_ra_ul_grant_t)); 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->tx_enabled = true;
action->rnti = grant->rnti; action->rnti = grant->rnti;
} else if ((!(grant->rnti_type == SRSLTE_RNTI_TEMP) && grant->ndi[0] != get_ndi() && harq_feedback) || } else if ((!(grant->rnti_type == SRSLTE_RNTI_TEMP) && grant->ndi[0] != get_ndi() && harq_feedback) ||

Loading…
Cancel
Save