printf("[DLSIM] Now round is %d, trial %d\n",round,trials);
#endif
}
}
...
@@ -4403,8 +4529,10 @@ int main(int argc, char **argv)
...
@@ -4403,8 +4529,10 @@ int main(int argc, char **argv)
#ifdef DEBUG_HARQ
#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("\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(" only one failed round 0 = %d, only one failed round 1 = %d, only one failed round 2 = %d, only one failed round 3 = %d\n",resend_one[0],resend_one[1],resend_one[2],resend_one[3]);
printf(" only one failed round 0 = %d, only one failed round 1 = %d, only one failed round 2 = %d, only one failed round 3 = %d\n",resend_one[0],resend_one[1],resend_one[2],resend_one[3]);
if(rx_type==rx_SIC_dual_stream){
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(" 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]);
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
#endif
// round_trials[0]: number of code word : goodput the protocol
// round_trials[0]: number of code word : goodput the protocol