This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: drx-j: Fix post-BER calculus on QAM modulation
Author:  Mauro Carvalho Chehab <m.che...@samsung.com>
Date:    Tue Mar 11 07:43:54 2014 -0300

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.che...@samsung.com>

 drivers/media/dvb-frontends/drx39xyj/drxj.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=0d49e7761173520ff02cec6f11d581f8ebca764d

diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c 
b/drivers/media/dvb-frontends/drx39xyj/drxj.c
index 41d4bfe..b8c5a85 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drxj.c
+++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c
@@ -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;
 

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to