@@ -769,8 +772,8 @@ int main(int argc, char **argv)
...
@@ -769,8 +772,8 @@ int main(int argc, char **argv)
if(input_fd==NULL){
if(input_fd==NULL){
for(i=0;i<slot_length;i++){
for(i=0;i<slot_length;i++){
for(ap=0;ap<frame_parms->nb_antennas_rx;ap++){
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)((double)(((int16_t*)&UE->common_vars.txdata[ap][slot_offset])[(i<<1)])/16.0+(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)((double)(((int16_t*)&UE->common_vars.txdata[ap][slot_offset])[(i<<1)])/sqrt(scale)+(sqrt(sigma/2)*gaussdouble(0.0,1.0)));// convert to fixed point