diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-08-30 22:00:43 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-08-30 22:00:43 -0400 |
commit | 62918a44d22a61db9bbc4b6361c9df239fcca919 (patch) | |
tree | 334764320f463e6280f51ccd50bbb2850b660256 /linux/drivers | |
parent | bb23e654d39bbfdebbf087f9649d1e0e110c5b20 (diff) | |
download | mediapointer-dvb-s2-62918a44d22a61db9bbc4b6361c9df239fcca919.tar.gz mediapointer-dvb-s2-62918a44d22a61db9bbc4b6361c9df239fcca919.tar.bz2 |
dvb_frontend: add get_rf_strength function pointer to dvb_tuner_ops
From: Michael Krufky <mkrufky@linuxtv.org>
Add get_rf_strength function pointer to dvb_tuner_ops, so that rf signal
strength can be read directly from the tuner driver by the dvb demodulator
driver and / or the analog tuning system.
This is an internal api addition -- userspace is not affected.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_frontend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.h b/linux/drivers/media/dvb/dvb-core/dvb_frontend.h index 757cbfb1c..663d61f7d 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.h +++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.h @@ -92,6 +92,7 @@ struct dvb_tuner_ops { #define TUNER_STATUS_LOCKED 1 #define TUNER_STATUS_STEREO 2 int (*get_status)(struct dvb_frontend *fe, u32 *status); + int (*get_rf_strength)(struct dvb_frontend *fe, u16 *strength); /** These are provided seperately from set_params in order to facilitate silicon * tuners which require sophisticated tuning loops, controlling each parameter seperately. */ |