Commit 6c9a0dea authored by Cedric Roux's avatar Cedric Roux

LDPC processing: bugfix: clear d[] if first transmission is DTX

If first transmission (round == 0) is DTX then d[] will not be cleared
for following transmissions (those that are not DTX) in
nr_rate_matching_ldpc_rx() because new_rx will not be 1, leading
to potential wrong decoding.
parent b038ee0a
......@@ -849,6 +849,7 @@ int phy_procedures_gNB_uespec_RX(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx) {
LOG_D(PHY, "DTX for round 0, clear mandatory data\n");
for (r = 0; r < ulsch->a_segments; r++) {
ulsch_harq->crc_ok[r] = false;
memset(ulsch_harq->d[r], 0, (68*384)*sizeof(int16_t));
}
}
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment