[media] dvb: the core logic to handle the DVBv5 QoS properties
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 Jan 2013 18:41:35 +0000 (15:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 23 Jan 2013 21:09:52 +0000 (19:09 -0200)
commit7cd4ece58f9b94372687de820c22cb2eae4a623e
tree944e56d79af8d05c37a39376c7a19cf17e3def33
parent9569793a79836320c33d400c686dcb78f886bdad
[media] dvb: the core logic to handle the DVBv5 QoS properties

Add the logic to poll, reset counters and report the QoS stats
to the end user.
The idea is that the core will periodically poll the frontend for
the stats. The frontend may return -EBUSY, if the previous collect
didn't finish, or it may fill the cached data.
The value returned to the end user is always the cached data.

Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-core/dvb_frontend.c
drivers/media/dvb-core/dvb_frontend.h