mirror of https://github.com/PentHertz/srsLTE.git
took out change in cc_worker to force retxs
This commit is contained in:
parent
179e959d05
commit
69486f2953
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue