//"rx_rf: Asked for %d samples, got %d from USRP\n",fp->samples_per_subframe,rxs);
if(rxs!=samples_per_slot)LOG_E(PHY,"rx_rf: Asked for %d samples, got %d from USRP\n",samples_per_slot,rxs);
if(proc->first_rx==1){
//we always advance the timestamp by samples_per_slot, even if we have not read the (full) slot. This is to keep the timestamp updated even when there is no RX.
LOG_E(PHY,"Received Timestamp (%llu) doesn't correspond to the time we think it is (proc->tti_rx %d, slot %d)\n",(longlongunsignedint)proc->timestamp_rx,proc->tti_rx,*slot);
exit_fun("Exiting");
}
if(proc->frame_rx!=*frame){
LOG_E(PHY,"Received Timestamp (%llu) doesn't correspond to the time we think it is (proc->frame_rx %d frame %d)\n",(longlongunsignedint)proc->timestamp_rx,proc->frame_rx,*frame);