From 81067750a7527a7a11c10a628869317c2a6b027b Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Fri, 21 Jun 2019 18:12:11 +0200 Subject: [PATCH] Use RV from stack, fixes issue decoding Format1C with SI-RNTI --- srsue/src/phy/cc_worker.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srsue/src/phy/cc_worker.cc b/srsue/src/phy/cc_worker.cc index e9f0a06af..8cf5ad735 100644 --- a/srsue/src/phy/cc_worker.cc +++ b/srsue/src/phy/cc_worker.cc @@ -475,6 +475,10 @@ int cc_worker::decode_pdsch(srslte_pdsch_ack_resource_t ack_resource, // Prepare I/O based on action pdsch_dec[tb].payload = action->tb[tb].payload; ue_dl_cfg.cfg.pdsch.softbuffers.rx[tb] = action->tb[tb].softbuffer.rx; + + // Use RV from higher layers + ue_dl_cfg.cfg.pdsch.grant.tb[tb].rv = action->tb[tb].rv; + } else { // If this TB is duplicate, indicate PDSCH to skip it ue_dl_cfg.cfg.pdsch.grant.tb[tb].enabled = false;