From: drowe67 Date: Fri, 13 Apr 2018 06:51:09 +0000 (+0000) Subject: progressing ofdm_demod, need to add raw/coded BER counters and confirm perf the same... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=65529ad7d7eb005453f4fc193dff43be0c1e37ec;p=freetel-svn-tracking.git progressing ofdm_demod, need to add raw/coded BER counters and confirm perf the same as Octave git-svn-id: https://svn.code.sf.net/p/freetel/code@3477 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/src/ofdm_demod.c b/codec2-dev/src/ofdm_demod.c index 40d4b1c6..959e6a31 100644 --- a/codec2-dev/src/ofdm_demod.c +++ b/codec2-dev/src/ofdm_demod.c @@ -204,28 +204,35 @@ int main(int argc, char *argv[]) int iter; char out_char[CODED_BITSPERFRAME]; int parityCheckCount; - - - fprintf(stderr, "\n"); + for(i=0; i= NDISCARD) { + Terrs2 += Nerrs; + Tbits2 += Nbitsperframe; } + #endif } - fprintf(stderr, "\n"); - - iter = run_ldpc_decoder(&ldpc, out_char, llr, &parityCheckCount); - fprintf(stderr, "iter: %d parityCheckCount: %d\n", iter, parityCheckCount); - /* - for(i=0; i