diff --git a/openair1/PHY/CODING/nrLDPC_coding/nrLDPC_coding_segment/nrLDPC_coding_segment_decoder.c b/openair1/PHY/CODING/nrLDPC_coding/nrLDPC_coding_segment/nrLDPC_coding_segment_decoder.c index df7ba73aed..8ac20841b9 100644 --- a/openair1/PHY/CODING/nrLDPC_coding/nrLDPC_coding_segment/nrLDPC_coding_segment_decoder.c +++ b/openair1/PHY/CODING/nrLDPC_coding/nrLDPC_coding_segment/nrLDPC_coding_segment_decoder.c @@ -257,7 +257,6 @@ int nrLDPC_prepare_TB_decoding(nrLDPC_slot_decoding_parameters_t *nrLDPC_slot_de t_info->len += 1; decParams.R = nrLDPC_TB_decoding_parameters->segments[r].R; - decParams.setCombIn = !nrLDPC_TB_decoding_parameters->segments[r].d_to_be_cleared; rdata->decoderParms = decParams; rdata->llr = nrLDPC_TB_decoding_parameters->segments[r].llr; rdata->Kc = decParams.BG == 2 ? 52 : 68; diff --git a/openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_types.h b/openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_types.h index 57701ce7df..abe5d38a50 100644 --- a/openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_types.h +++ b/openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_types.h @@ -88,9 +88,8 @@ typedef struct nrLDPC_dec_params { uint8_t numMaxIter; /**< Maximum number of iterations */ int Kprime; /**< Size of the payload bits and CRC bits in the code block */ e_nrLDPC_outMode outMode; /**< Output format */ - int crc_type; - int (*check_crc)(uint8_t* decoded_bytes, uint32_t n, uint8_t crc_type); - uint8_t setCombIn; + int crc_type; /**< Size and type of the parity check bits (16, 24A or 24B) */ + int (*check_crc)(uint8_t* decoded_bytes, uint32_t n, uint8_t crc_type); /**< Parity check function */ } t_nrLDPC_dec_params; /**