struct dvbfe_sec_config
{
uint32_t switch_frequency; /* switching frequency - supply 0 for none. */
uint32_t lof_lo; /* frequency to subtract for LOW band channels - or for SEC with no switching */
uint32_t lof_hi; /* frequency to subtract for HIGH band channels */
/**
* The SEC command used depends on the type:
*
* NONE - no SEC commands will be issued. (Frequency adjustment will still be performed).
*
* SIMPLE - the standard DISEQC back compatable sequence is used -
* lo_hi+polarisation+sat_pos must be supplied.
*
* ADVANCED - an SEC string is supplied by the user describing the exact sequence
* of operations to use.
*/
enum dvbfe_sec_config_type type;
union {
struct {
enum dvbfe_diseqc_polarisation polarisation;
enum dvbfe_diseqc_switch sat_pos;
} simple; /* DVBFE_SEC_CONFIG_SIMPLE */
struct {
char lo_cmd[256];
char hi_cmd[256];
} advanced; /* DVBFE_SEC_CONFIG_ADVANCED */
} sec;
};