]> 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)
commit35461d9f30fe4866e71025936de02c7a2ece2b99
tree944e56d79af8d05c37a39376c7a19cf17e3def33
parentf47f1e01c2268ece5a80149f2859c108b6d2631c
[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