]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit2a1467c029dd6729df4cd263774b71a439ffba98
tree944e56d79af8d05c37a39376c7a19cf17e3def33
parentab6595f7c2ce115a5a6b29e64e08d5900cc68932
[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