Increased sync threshold. Fixed some memory issues

This commit is contained in:
ismagom 2014-11-25 22:12:05 +00:00
parent 9b3a890d6a
commit 213b9467f3
1 changed files with 2 additions and 2 deletions

View File

@ -273,10 +273,10 @@ int main(int argc, char **argv) {
if ((sf_cnt%10)==0) {
printf("CFO: %+6.2f KHz, SFO: %+6.2f Khz, SNR: %5.1f dB, NOI: %.2f, "
"PDCCH-Miss: %d/%d, PDSCH-BLER: %5.2f%% (%d blocks)\r",
"PDCCH-Miss: %5.2f%%, PDSCH-BLER: %5.2f%% (%d blocks)\r",
ue_sync_get_cfo(&ue_sync)/1000, ue_sync_get_sfo(&ue_sync)/1000,
10*log10f(snr), pdsch_average_noi(&ue_dl.pdsch),
nof_trials-ue_dl.nof_pdcch_detected, nof_trials,
100*(1-(float) nof_trials/ue_dl.nof_pdcch_detected),
(float) 100*ue_dl.pkt_errors/ue_dl.pkts_total,nof_trials, ue_dl.pkts_total);
}