summaryrefslogtreecommitdiff
path: root/fw/htc.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/htc.h')
-rw-r--r--fw/htc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/fw/htc.h b/fw/htc.h
index 348c719..8e7f13d 100644
--- a/fw/htc.h
+++ b/fw/htc.h
@@ -165,13 +165,17 @@ typedef PREPACK struct _HTC_FRAME_HDR{
/* base message ID header */
typedef PREPACK struct {
- A_UINT32 MessageID : 16,
- reserved : 16;
+ A_UINT32 MessageID: 16,
+ MetaData: 8,
+ reserved: 8;
} POSTPACK HTC_UNKNOWN_MSG;
#define HTC_UNKNOWN_MSG_MESSAGEID_LSB 0
#define HTC_UNKNOWN_MSG_MESSAGEID_MASK 0x0000ffff
#define HTC_UNKNOWN_MSG_MESSAGEID_OFFSET 0x00000000
+#define HTC_UNKNOWN_MSG_METADATA_LSB 16
+#define HTC_UNKNOWN_MSG_METADATA_MASK 0X00ff0000
+#define HTC_UNKNOWN_MSG_METADATA_OFFSET 0x00000000
/* HTC ready message
* direction : target-to-host */