1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

add block error counts

This commit is contained in:
Ralph Metzler 2019-11-04 19:08:16 +01:00
parent 7925537b58
commit 1784a361ad

View File

@ -676,6 +676,12 @@ static int read_ber(struct dvb_frontend *fe, u32 *ber)
p->pre_bit_count.stat[0].uvalue = 8 * 188 * (u64) reg[6];
break;
case SYS_DVBS2:
p->block_error.len = 1;
p->block_error.stat[0].scale = FE_SCALE_COUNTER;
p->block_error.stat[0].uvalue = reg[1];
p->block_count.len = 1;
p->block_count.stat[0].scale = FE_SCALE_COUNTER;
p->block_count.stat[0].uvalue = reg[2];
break;
default:
break;