@@ -404,35 +436,19 @@ int main(int argc, char **argv)
printf("Setting SNR1 to %f\n",snr1);
break;
/*
case 't':
Td= atof(optarg);
break;
*/
/*case 'p':
extended_prefix_flag=1;
break;*/
/*
case 'r':
ricean_factor = pow(10,-.1*atof(optarg));
if (ricean_factor>1) {
printf("Ricean factor must be between 0 and 1\n");
exit(-1);
}
break;
*/
case'x':
g_nrOfLayers=atoi(optarg);
g_nrOfLayers=atoi(optarg);
if((g_nrOfLayers==0)||
(g_nrOfLayers>4)){
printf("Unsupported nr Of Layers %d\n",g_nrOfLayers);
if((g_nrOfLayers==0)||(g_nrOfLayers>4)){
printf("Unsupported nr Of Layers %d\n",g_nrOfLayers);
exit(-1);
}
break;
case'p':
g_pmi=atoi(optarg);
break;
case'v':
num_rounds=atoi(optarg);
...
...
@@ -559,6 +575,7 @@ int main(int argc, char **argv)
printf("-y Number of TX antennas used in gNB\n");
printf("-z Number of RX antennas used in UE\n");
printf("-x Num of layer for PDSCH\n");
printf("-p Precoding matrix index\n");
printf("-i Change channel estimation technique. Arguments list: Frequency domain {0:Linear interpolation, 1:PRB based averaging}, Time domain {0:Estimates of last DMRS symbol, 1:Average of DMRS symbols}\n");
//printf("-j Relative strength of second intefering gNB (in dB) - cell_id mod 3 = 2\n");
printf("-R N_RB_DL\n");
...
...
@@ -688,6 +705,8 @@ int main(int argc, char **argv)