]> git.karo-electronics.de Git - linux-beck.git/commitdiff
V4L/DVB (11554): Siano: core header - add definitions and structures
authorUri Shkolnik <uris@siano-ms.com>
Sun, 5 Apr 2009 08:12:51 +0000 (05:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 22:14:20 +0000 (19:14 -0300)
Add new definitions (of Siano's protocol messages),
and protocol structures (for future commits usage)

Signed-off-by: Uri Shkolnik <uris@siano-ms.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/siano/smscoreapi.h

index 548de9056e8b97b0f567d9cbf948ecb10891b6cc..26749b0e4624b0bafb74e2a75511fc788b0c2c6b 100644 (file)
@@ -46,6 +46,7 @@
 #define min(a, b) (((a) < (b)) ? (a) : (b))
 #endif
 
+#define SMS_PROTOCOL_MAX_RAOUNDTRIP_MS                         (10000)
 #define SMS_ALLOC_ALIGNMENT                                    128
 #define SMS_DMA_ALIGNMENT                                      16
 #define SMS_ALIGN_ADDRESS(addr) \
@@ -161,6 +162,7 @@ struct smsclient_params_t {
 #define MSG_SMS_GET_PID_FILTER_LIST_RES                609
 #define MSG_SMS_GET_STATISTICS_REQ                     615
 #define MSG_SMS_GET_STATISTICS_RES                     616
+#define MSG_SMS_HO_PER_SLICES_IND                      630
 #define MSG_SMS_SET_ANTENNA_CONFIG_REQ         651
 #define MSG_SMS_SET_ANTENNA_CONFIG_RES         652
 #define MSG_SMS_GET_STATISTICS_EX_REQ          653
@@ -190,6 +192,13 @@ struct smsclient_params_t {
 #define MSG_SMS_GPIO_CONFIG_EX_RES                     713
 #define MSG_SMS_ISDBT_TUNE_REQ                         776
 #define MSG_SMS_ISDBT_TUNE_RES                         777
+#define MSG_SMS_TRANSMISSION_IND                       782
+#define MSG_SMS_START_IR_REQ                           800
+#define MSG_SMS_START_IR_RES                           801
+#define MSG_SMS_IR_SAMPLES_IND                         802
+#define MSG_SMS_SIGNAL_DETECTED_IND                    827
+#define MSG_SMS_NO_SIGNAL_IND                          828
+
 
 #define SMS_INIT_MSG_EX(ptr, type, src, dst, len) do { \
        (ptr)->msgType = type; (ptr)->msgSrcId = src; (ptr)->msgDstId = dst; \
@@ -197,6 +206,15 @@ struct smsclient_params_t {
 } while (0)
 #define SMS_INIT_MSG(ptr, type, len) \
        SMS_INIT_MSG_EX(ptr, type, 0, HIF_TASK, len)
+enum SMS_DVB3_EVENTS {
+       DVB3_EVENT_INIT = 0,
+       DVB3_EVENT_SLEEP,
+       DVB3_EVENT_HOTPLUG,
+       DVB3_EVENT_FE_LOCK,
+       DVB3_EVENT_FE_UNLOCK,
+       DVB3_EVENT_UNC_OK,
+       DVB3_EVENT_UNC_ERR
+};
 
 enum SMS_DEVICE_MODE {
        DEVICE_MODE_NONE = -1,
@@ -221,8 +239,13 @@ struct SmsMsgHdr_ST {
 };
 
 struct SmsMsgData_ST {
-       struct SmsMsgHdr_ST     xMsgHeader;
-       u32                     msgData[1];
+       struct SmsMsgHdr_ST xMsgHeader;
+       u32 msgData[1];
+};
+
+struct SmsMsgData_ST2 {
+       struct SmsMsgHdr_ST xMsgHeader;
+       u32 msgData[2];
 };
 
 struct SmsDataDownload_ST {