@@ -991,6 +994,7 @@ 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);
...
...
@@ -1000,8 +1004,8 @@ int main(int argc, char **argv)
}
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