AssertFatal(pmi<num_pmi,"Input PMI index %d exceeds the limit of configured matrices %d for %d layers\n",pmi,num_pmi,nrOfLayers);
return;
case2:
num_pmi+=N1*O1*N2*O2*K1*K2*2;
AssertFatal(pmi<num_pmi,"Input PMI index %d exceeds the limit of conigured matrices %d for %d layers\n",pmi,num_pmi,nrOfLayers);
break;
default:
AssertFatal(false,"Precoding with more than 2 nrOfLayers not yet supported\n");
}
}
intNB_UE_INST=1;
intmain(intargc,char**argv)
...
...
@@ -544,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");
...
...
@@ -673,6 +705,8 @@ int main(int argc, char **argv)