mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
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: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
ee0f4a1444
commit
0d49e77611
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue