@@ -1098,17 +1098,15 @@ int main(int argc, char **argv)
}
if(UE2gNB->max_Doppler==0){
multipath_channel(UE2gNB,s_re,s_im,r_re,r_im,
slot_length,0,(n_trials==1)?1:0);
}else{
multipath_tv_channel(UE2gNB,s_re,s_im,r_re,r_im,
2*slot_length,0);
}
for(i=0;i<slot_length;i++){
for(ap=0;ap<frame_parms->nb_antennas_rx;ap++){
((int16_t*)&gNB->common_vars.rxdata[ap][slot_offset])[(2*i)+(delay*2)]=(int16_t)((r_re[ap][i])+(sqrt(sigma/2)*gaussdouble(0.0,1.0)));// convert to fixed point
((int16_t*)&gNB->common_vars.rxdata[ap][slot_offset])[(2*i)+(delay*2)]=(int16_t)((r_re[ap][i])+(sqrt(sigma/2)*gaussdouble(0.0,1.0)));// convert to fixed point