aboutsummaryrefslogtreecommitdiffstats
path: root/lib/include/libdvbv5/dvb-sat.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-12-13 16:43:28 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-12-28 15:46:06 -0200
commitd982b0d03b1f929269104bb716c9d4b50c945125 (patch)
tree1553727fc981cb135d519789b4f76a937c74747e /lib/include/libdvbv5/dvb-sat.h
parent08800efa4371e051b82494440ad28a83679a6979 (diff)
dvb-sat: change the LNBf logic to make it more generic
There are some new LNBf models with more than two frequency ranges. Change the logic there to allow adding those new LNBf types. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'lib/include/libdvbv5/dvb-sat.h')
-rw-r--r--lib/include/libdvbv5/dvb-sat.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/include/libdvbv5/dvb-sat.h b/lib/include/libdvbv5/dvb-sat.h
index 7f83369f..424c4f45 100644
--- a/lib/include/libdvbv5/dvb-sat.h
+++ b/lib/include/libdvbv5/dvb-sat.h
@@ -132,6 +132,20 @@ const char *dvb_sat_get_lnb_name(int index);
*/
int dvb_sat_set_parms(struct dvb_v5_fe_parms *parms);
+/**
+ * @brief return the real satellite frequency
+ * @ingroup satellite
+ *
+ * @param parms struct dvb_v5_fe_parms pointer.
+ *
+ * This function is called internally by the library to get the satellite
+ * frequency, considering the LO frequency.
+ *
+ * @return frequency.
+ */
+int dvb_sat_real_freq(struct dvb_v5_fe_parms *p, int freq);
+
+
#ifdef __cplusplus
}
#endif

Privacy Policy