[ ] error pattern support?
[ ] work out how to handle return of multiple interleaved frames over time
[ ] deal with out of sync returning nin samples, listening to analog audio when out of sync
+ [ ] level issues
*/
#define ASCALE (2E5*1.1491/2.0) /* scale from shorts back to floats */
aphase_est_pilot_rect = aphase_est_pilot_rect + vector_sum(symbol, 3);
aphase_est_pilot[i] = cargf(aphase_est_pilot_rect);
- /* TODO David: WTF 12.0 constant? Something to do with LDPC input scaling? */
+ /* amplitude is estimated over 6 rows of pilots */
- aamp_est_pilot[i] = cabsf(aphase_est_pilot_rect / 12.0f);
+ aamp_est_pilot[i] = cabsf(aphase_est_pilot_rect / 6.0f);
}
/*
int rx_uw[OFDM_NUWBITS];
f = 0; Nerrs = Terrs = Tbits = Terrs2 = Tbits2 = Terrs_coded = Tbits_coded = frame_count = 0;
- float EsNo = 10;
+ float EsNo = 3;
fprintf(stderr,"Warning EsNo: %f hard coded\n", EsNo);
COMP codeword_symbols[interleave_frames*coded_syms_per_frame];