Commit 980d20c8 authored by Francesco Mani's avatar Francesco Mani
Browse files

i_ssb detection message added in pbchsim

parent 6ce8c374
......@@ -412,7 +412,6 @@ int main(int argc, char **argv)
// computation of integer and fractional FO to compare with estimation results
int IFO;
UE->UE_fo_compensation = 1;
printf("Introducing a CFO of %lf relative to SCS of %d kHz\n",eps,(int)(scs/1000));
if (eps>0)
......@@ -644,11 +643,11 @@ int main(int argc, char **argv)
if (ret!=0) n_errors++;
} //noise trials
printf("SNR %f: trials %d, n_errors_crc = %d, n_errors_payload %d\n", SNR,n_trials,n_errors,n_errors_payload);
if (((float)n_errors/(float)n_trials <= target_error_rate) && (n_errors_payload==0)) {
printf("PBCH test OK\n");
printf("Synchronization obtained for i_ssb = %d\n",UE->rx_ind.rx_indication_body[0].mib_pdu.ssb_index);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment