From 69486f29536ecedf51a30a992b1b67890397cb28 Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Tue, 31 Mar 2020 18:16:22 +0100 Subject: [PATCH] took out change in cc_worker to force retxs --- srsenb/src/phy/cc_worker.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/srsenb/src/phy/cc_worker.cc b/srsenb/src/phy/cc_worker.cc index d0b3d09f7..c6f35976e 100644 --- a/srsenb/src/phy/cc_worker.cc +++ b/srsenb/src/phy/cc_worker.cc @@ -354,9 +354,6 @@ int cc_worker::decode_pusch(stack_interface_phy_lte::ul_sched_grant_t* grants, u // Notify MAC new received data and HARQ Indication value if (pusch_res.data) { - static bool test_flag = false; - pusch_res.crc = pusch_res.crc && test_flag; - test_flag = true; phy->stack->crc_info(tti_rx, rnti, cc_idx, grant.tb.tbs / 8, pusch_res.crc); // Save metrics stats @@ -502,7 +499,7 @@ int cc_worker::encode_pdsch(stack_interface_phy_lte::dl_sched_grant_t* grants, u /* Scales the Resources Elements affected by the power allocation (p_b) */ // srslte_enb_dl_prepare_power_allocation(&enb_dl); for (uint32_t i = 0; i < nof_grants; i++) { - uint16_t rnti = grants[i].dci.rnti; + uint16_t rnti = grants[i].dci.rnti; if (rnti && ue_db.count(rnti)) { srslte_dl_cfg_t dl_cfg = phy->ue_db.get_config(rnti, cc_idx).dl_cfg;