Use the absolute output power gain (refs #7651)

This commit is contained in:
Pierre Seznec
2017-12-19 16:28:08 +01:00
committed by Richard Bérichon
parent a9f1cb3e5a
commit 5a4d24725a
3 changed files with 96 additions and 12 deletions

View File

@@ -6,13 +6,12 @@
struct dvb_mod_params {
__u32 base_frequency;
__u32 attenuator;
};
struct dvb_mod_channel_params {
enum fe_modulation modulation;
__u64 input_bitrate; /* 2^-32 Hz */
int pcr_correction;
int pcr_correction;
};
@@ -23,10 +22,10 @@ struct dvb_mod_channel_params {
#define MODULATOR_START 1
#define MODULATOR_STOP 2
#define MODULATOR_FREQUENCY 3
#define MODULATOR_MODULATION 4
#define MODULATOR_MODULATION 4
#define MODULATOR_SYMBOL_RATE 5 /* Hz */
#define MODULATOR_BASE_FREQUENCY 6
#define MODULATOR_ATTENUATOR 32
#define MODULATOR_ATTENUATOR 32
#define MODULATOR_INPUT_BITRATE 33 /* Hz */
#define MODULATOR_PCR_MODE 34 /* 1=pcr correction enabled */
#define MODULATOR_GAIN 35
@@ -34,4 +33,7 @@ struct dvb_mod_channel_params {
#define MODULATOR_STATUS 37
#define MODULATOR_OUTPUT_ARI 64
#define POWER_REF (79)
#define RF_VGA_GAIN_MAX (200)
#endif /*_UAPI_DVBMOD_H_*/