inttti=/*frame*SUBFRAMES_PER_SYSTEMFRAME*SLOTNUM_PER_SUBFRAME+*/20*frame+slot;//commented out temporarily to check that compilation of oran 5g is working.
pos=&ru->txdataF_BF[ant_id][sym_idx*4096/*fp->ofdm_symbol_size*/];// We had to use a different ru structure than benetel so the access to the buffer is not the same.
printf("ORAN: %d.%d ORAN_fh_if4p5_south_in ERROR in RX function \n",f,sl);
}
proc->tti_rx=sl;
proc->frame_rx=f;
proc->tti_tx=(sl+sl_ahead)%20;
proc->frame_tx=(sl>(19-sl_ahead))?(f+1)&1023:f;
proc->tti_rx=sl;
proc->frame_rx=f;
proc->tti_tx=(sl+sl_ahead)%20;
proc->frame_tx=(sl>(19-sl_ahead))?(f+1)&1023:f;
if(proc->first_rx==0){
if(proc->tti_rx!=*slot){
LOG_E(PHY,"Received Time doesn't correspond to the time we think it is (slot mismatch, received %d.%d, expected %d.%d)\n",proc->frame_rx,proc->tti_rx,*frame,*slot);
LOG_E(PHY,
"Received Time doesn't correspond to the time we think it is (slot mismatch, received %d.%d, expected %d.%d)\n",
proc->frame_rx,
proc->tti_rx,
*frame,
*slot);
*slot=proc->tti_rx;
}
if(proc->frame_rx!=*frame){
LOG_E(PHY,"Received Time doesn't correspond to the time we think it is (frame mismatch, %d.%d , expected %d.%d)\n",proc->frame_rx,proc->tti_rx,*frame,*slot);
*frame=proc->frame_rx;
LOG_E(PHY,
"Received Time doesn't correspond to the time we think it is (frame mismatch, %d.%d , expected %d.%d)\n",