// The Codebook Type I and Type II are not supported yet.
// The Codebook Type I and Type II are not supported yet.
// We adopt the precoding matrices of PUSCH for 4 layers.
// We adopt the precoding matrices of PUSCH for 4 layers.
if((frame_parms->nb_antennas_tx==1&&rel15->nrOfLayers==1)||rel15->precodingAndBeamforming.prgSize==0){//No precoding if precoding info is not available