diff --git a/openair1/PHY/CODING/TESTBENCH/ldpctest.c b/openair1/PHY/CODING/TESTBENCH/ldpctest.c index 49af918bd9..d0fb170cf4 100644 --- a/openair1/PHY/CODING/TESTBENCH/ldpctest.c +++ b/openair1/PHY/CODING/TESTBENCH/ldpctest.c @@ -310,12 +310,18 @@ int test_ldpc(short No_iteration, } stop_meas(&time); - start_meas(time_optim); +/* start_meas(time_optim); ldpc_encoder_optim_8seg(test_input,channel_input_optim,block_length,BG,n_segments,&tinput,&tprep,&tparity,&toutput); - /*for(j=0;j0&&n_segments<=8,"0 < n_segments %d <= 8\n",n_segments); //determine number of bits in codeword - if (block_length>3840) + if (BG==1) { BG=1; Kb = 22; nrows=46; //parity check bits ncols=22; //info bits } - else if (block_length<=3840) + else if (BG==2) { BG=2; nrows=42; //parity check bits