Commit 0d49e776 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

drx-j: Fix post-BER calculus on QAM modulation

There are two troubles there:
	1) the bit error measure were not accumulating;
	2) it was missing the bit count.

Fix them.
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent ee0f4a14
......@@ -9620,7 +9620,8 @@ ctrl_get_qam_sig_quality(struct drx_demod_instance *demod)
p->pre_bit_count.stat[0].uvalue += rs_bit_cnt >> e;
}
p->post_bit_error.stat[0].uvalue = qam_post_rs_ber;
p->post_bit_error.stat[0].uvalue += qam_post_rs_ber;
p->post_bit_count.stat[0].uvalue += rs_bit_cnt >> e;
p->block_error.stat[0].uvalue += pkt_errs;
......
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