V4L/DVB (11782): Siano: smsdvb - use 'push' status mechanism
authorUri Shkolnik <uris@siano-ms.com>
Tue, 12 May 2009 15:28:46 +0000 (12:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 22:14:29 +0000 (19:14 -0300)
commit793786d19a35c59a9379cb75da5b5d6bd052820d
tree0f7384f23a77505630db3ba6a5ea4152ad76af13
parentba79bb2c381f01224786270d0914d46f31667cf0
V4L/DVB (11782): Siano: smsdvb - use 'push' status mechanism

This patch replace the old method of pulling the device status by
sending "get_statistics" request, to push mode. This make status update
much faster, and reduce various operation time (UHF scan now takes 15s
instead of 2m). In order to make the change the following modification
have been applied:
1) core header - update statistics headers.
2) dvb adapter - omit the statistics request, add handling of
status indications.
3) core 'onresponse' - re-route messages addressed to other adapter
to the dvb adapter.

Signed-off-by: Uri Shkolnik <uris@siano-ms.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/siano/smscoreapi.c
drivers/media/dvb/siano/smscoreapi.h
drivers/media/dvb/siano/smsdvb.c