@@ -378,42 +379,25 @@ int main(int argc, char **argv)
break;*/
case'g':
switch((char)*optarg){
case'A':
channel_model=SCM_A;
break;
case'B':
channel_model=SCM_B;
break;
case'C':
channel_model=SCM_C;
break;
case'D':
channel_model=SCM_D;
break;
case'E':
channel_model=EPA;
break;
case'F':
channel_model=EVA;
break;
case'G':
channel_model=ETU;
break;
case'R':
channel_model=Rayleigh1;
break;
default:
printf("Unsupported channel model!\n");
exit(-1);
switch((char)*optarg){
case'A':
channel_model=TDL_A;
DS_TDL=0.030;// 30 ns
printf("Channel model: TDLA30\n");
break;
case'B':
channel_model=TDL_B;
DS_TDL=0.100;// 100ns
printf("Channel model: TDLB100\n");
break;
case'C':
channel_model=TDL_C;
DS_TDL=0.300;// 300 ns
printf("Channel model: TDLC300\n");
break;
default:
printf("Unsupported channel model!\n");
exit(-1);
}
break;
...
...
@@ -578,7 +562,7 @@ int main(int argc, char **argv)
printf("-s Starting SNR, runs from SNR0 to SNR0 + 5 dB. If n_frames is 1 then just SNR is simulated\n");
printf("-S Ending SNR, runs from SNR0 to SNR1\n");
//printf("-t Delay spread for multipath channel\n");
printf("-g [A,B,C,D,E,F,G,R] Use 3GPP SCM (A,B,C,D) or 36-101 (E-EPA,F-EVA,G-ETU) models or R for MIMO model (ignores delay spread and Ricean factor)\n");