@@ -4378,6 +4401,8 @@ int main(int argc, char **argv)
#ifdef DEBUG_HARQ
printf("\n both failed round 0 = %d, both failed round 1 = %d, both failed round 2 = %d, both failed round 3 = %d\n",resend_both[0],resend_both[1],resend_both[2],resend_both[3]);
printf(" one failed round 0 = %d, one failed round 1 = %d, one failed round 2 = %d, one failed round 3 = %d\n",resend_one[0],resend_one[1],resend_one[2],resend_one[3]);
printf(" sic attempt round 0 = %d, sic attempt round 1 = %d, sic attempt round 2 = %d, sic attempt round 3 = %d\n",sic_attempt[0],sic_attempt[1],sic_attempt[2],sic_attempt[3]);
printf(" decoded in sic round 0 = %d, decoded in sic round 1 = %d, decoded in sic round 2 = %d, decoded in sic round 3 = %d\n",decoded_in_sic[0],decoded_in_sic[1],decoded_in_sic[2],decoded_in_sic[3]);
#endif
// round_trials[0]: number of code word : goodput the protocol
doubletable_tx[time_vector_tx.size];
...
...
@@ -4733,7 +4758,54 @@ int main(int argc, char **argv)