|
@@ -13,6 +13,7 @@
|
|
|
#define _DVB_USB_DTT200U_H_
|
|
|
|
|
|
#define DVB_USB_LOG_PREFIX "dtt200u"
|
|
|
+
|
|
|
#include "dvb-usb.h"
|
|
|
|
|
|
extern int dvb_usb_dtt200u_debug;
|
|
@@ -25,15 +26,15 @@ extern int dvb_usb_dtt200u_debug;
|
|
|
* 88 - locking 2 bytes (0x80 0x40 == no signal, 0x89 0x20 == nice signal)
|
|
|
*/
|
|
|
|
|
|
-#define GET_SPEED 0x00
|
|
|
-#define GET_TUNE_STATUS 0x81
|
|
|
-#define GET_RC_CODE 0x84
|
|
|
-#define GET_CONFIGURATION 0x88
|
|
|
-#define GET_AGC 0x89
|
|
|
-#define GET_SNR 0x8a
|
|
|
-#define GET_VIT_ERR_CNT 0x8c
|
|
|
-#define GET_RS_ERR_CNT 0x8d
|
|
|
-#define GET_RS_UNCOR_BLK_CNT 0x8e
|
|
|
+#define GET_SPEED 0x00
|
|
|
+#define GET_TUNE_STATUS 0x81
|
|
|
+#define GET_RC_CODE 0x84
|
|
|
+#define GET_CONFIGURATION 0x88
|
|
|
+#define GET_AGC 0x89
|
|
|
+#define GET_SNR 0x8a
|
|
|
+#define GET_VIT_ERR_CNT 0x8c
|
|
|
+#define GET_RS_ERR_CNT 0x8d
|
|
|
+#define GET_RS_UNCOR_BLK_CNT 0x8e
|
|
|
|
|
|
/* write
|
|
|
* 01 - init
|
|
@@ -44,12 +45,12 @@ extern int dvb_usb_dtt200u_debug;
|
|
|
* 08 - transfer switch
|
|
|
*/
|
|
|
|
|
|
-#define SET_INIT 0x01
|
|
|
-#define SET_RF_FREQ 0x02
|
|
|
-#define SET_BANDWIDTH 0x03
|
|
|
-#define SET_PID_FILTER 0x04
|
|
|
-#define RESET_PID_FILTER 0x05
|
|
|
-#define SET_STREAMING 0x08
|
|
|
+#define SET_INIT 0x01
|
|
|
+#define SET_RF_FREQ 0x02
|
|
|
+#define SET_BANDWIDTH 0x03
|
|
|
+#define SET_PID_FILTER 0x04
|
|
|
+#define RESET_PID_FILTER 0x05
|
|
|
+#define SET_STREAMING 0x08
|
|
|
|
|
|
extern struct dvb_frontend * dtt200u_fe_attach(struct dvb_usb_device *d);
|
|
|
|