if(ru->is_slave==0&&((proc->RU_mask[ru->proc.subframe_rx]&(1<<i))==1)&&eNB->RU_list[i]->state==RU_RUN){// This is master & the RRU has already been received
LOG_E(PHY,"RU %d is not SYNC, subframe %d, time %f this is master\n",eNB->RU_list[i]->idx,ru->proc.subframe_rx,fabs(eNB->RU_list[i]->proc.t[ru->proc.subframe_rx].tv_nsec-eNB->RU_list[0]->proc.t[ru->proc.subframe_rx].tv_nsec));
LOG_E(PHY,"RU %d is not SYNC, subframe %d, time %f this is master\n",eNB->RU_list[i]->idx,ru->proc.subframe_rx,fabs(eNB->RU_list[i]->proc.t[ru->proc.subframe_rx].tv_nsec-eNB->RU_list[0]->proc.t[ru->proc.subframe_rx].tv_nsec));
}elseif(ru->is_slave==1&&ru->state==RU_RUN&&((proc->RU_mask[ru->proc.subframe_rx]&(1<<0))==1)){// master already received. TODO: we assume that RU0 is master.
LOG_E(PHY,"RU %d is not SYNC time, subframe %d, time %f\n",ru->idx,ru->proc.subframe_rx,fabs(ru->proc.t[ru->proc.subframe_rx].tv_nsec-eNB->RU_list[0]->proc.t[ru->proc.subframe_rx].tv_nsec));