printf("ORAN: ORAN_fh_if4p5_south_in ERROR in RX function \n");
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;
if(proc->first_rx==0){
if(proc->tti_rx!=*slot){
LOG_E(PHY,"Received Timestamp doesn't correspond to the time we think it is (proc->frame_rx.proc->tti_rx %d.%d, slot %d)\n",proc->frame_rx,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);
*slot=proc->tti_rx;
}
if(proc->frame_rx!=*frame){
LOG_E(PHY,"Received Timestamp doesn't correspond to the time we think it is (proc->frame_rx %d frame %d proc->tti_rx %d tti %d)\n",proc->frame_rx,*frame,proc->tti_rx,*slot);
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);