@@ -1292,7 +1292,6 @@ int main(int argc, char **argv)
...
@@ -1292,7 +1292,6 @@ int main(int argc, char **argv)
uint16_ttdd_config=3;
uint16_ttdd_config=3;
SCM_tchannel_model=Rayleigh1;
SCM_tchannel_model=Rayleigh1;
// unsigned char *input_data,*decoded_output;
// unsigned char *input_data,*decoded_output;
...
@@ -1366,6 +1365,7 @@ int main(int argc, char **argv)
...
@@ -1366,6 +1365,7 @@ int main(int argc, char **argv)
intrballocset=0;
intrballocset=0;
intprint_perf=0;
intprint_perf=0;
inttest_perf=0;
inttest_perf=0;
inttest_passed=0;
intdump_table=0;
intdump_table=0;
doubleeffective_rate=0.0;
doubleeffective_rate=0.0;
...
@@ -1741,6 +1741,11 @@ int main(int argc, char **argv)
...
@@ -1741,6 +1741,11 @@ int main(int argc, char **argv)
printf("-o Sample offset for receiver\n");
printf("-o Sample offset for receiver\n");
printf("-s Starting SNR, runs from SNR to SNR+%.1fdB in steps of %.1fdB. If n_frames is 1 then just SNR is simulated and MATLAB/OCTAVE output is generated\n",snr_int,snr_step);
printf("-s Starting SNR, runs from SNR to SNR+%.1fdB in steps of %.1fdB. If n_frames is 1 then just SNR is simulated and MATLAB/OCTAVE output is generated\n",snr_int,snr_step);
printf("-f step size of SNR, default value is 1.\n");
printf("-f step size of SNR, default value is 1.\n");
printf("-C cell id\n");
printf("-S subframe\n");
printf("-D use TDD mode\n");
printf("-b TDD config\n");
printf("-B bandwidth configuration (in number of ressource blocks): 6, 25, 50, 100\n");
printf("-r ressource block allocation (see section 7.1.6.3 in 36.213\n");
printf("-r ressource block allocation (see section 7.1.6.3 in 36.213\n");
printf("-g [A:M] Use 3GPP 25.814 SCM-A/B/C/D('A','B','C','D') or 36-101 EPA('E'), EVA ('F'),ETU('G') models (ignores delay spread and Ricean factor), Rayghleigh8 ('H'), Rayleigh1('I'), Rayleigh1_corr('J'), Rayleigh1_anticorr ('K'), Rice8('L'), Rice1('M')\n");
printf("-g [A:M] Use 3GPP 25.814 SCM-A/B/C/D('A','B','C','D') or 36-101 EPA('E'), EVA ('F'),ETU('G') models (ignores delay spread and Ricean factor), Rayghleigh8 ('H'), Rayleigh1('I'), Rayleigh1_corr('J'), Rayleigh1_anticorr ('K'), Rice8('L'), Rice1('M')\n");
printf("-F forgetting factor (0 new channel every trial, 1 channel constant\n");
printf("-F forgetting factor (0 new channel every trial, 1 channel constant\n");
...
@@ -3241,9 +3246,11 @@ int main(int argc, char **argv)
...
@@ -3241,9 +3246,11 @@ int main(int argc, char **argv)
UE->dlsch_decoding_stats[subframe&1].trials);
UE->dlsch_decoding_stats[subframe&1].trials);
*/
*/
printf("[passed] effective rate : %f (%2.1f%%,%f)): log and break \n",rate*effective_rate,100*effective_rate,rate);
printf("[passed] effective rate : %f (%2.1f%%,%f)): log and break \n",rate*effective_rate,100*effective_rate,rate);