summaryrefslogtreecommitdiff
path: root/lib/hci.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-17 23:36:17 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-12-17 23:36:17 +0100
commitd54a7fe75ac0bc9b3c2447b308f992f7545aacef (patch)
treec3e625ac205e730ccdb4044373cc0c7c7d8b449a /lib/hci.h
parent0ab93149e0de6539404725b4f313556efdeabdb1 (diff)
downloadbluez-d54a7fe75ac0bc9b3c2447b308f992f7545aacef.tar.gz
lib: Add definition for Num Completed Data Blocks event
Diffstat (limited to 'lib/hci.h')
-rw-r--r--lib/hci.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/hci.h b/lib/hci.h
index b29a812d9..c48482394 100644
--- a/lib/hci.h
+++ b/lib/hci.h
@@ -2206,6 +2206,16 @@ typedef struct {
#define EVT_FLOW_SPEC_MODIFY_COMPLETE_SIZE 3
#define EVT_NUMBER_COMPLETED_BLOCKS 0x48
+typedef struct {
+ uint16_t handle;
+ uint16_t num_cmplt_pkts;
+ uint16_t num_cmplt_blks;
+} __attribute__ ((packed)) cmplt_handle;
+typedef struct {
+ uint16_t total_num_blocks;
+ uint8_t num_handles;
+ cmplt_handle handles[0];
+} __attribute__ ((packed)) evt_num_completed_blocks;
#define EVT_AMP_STATUS_CHANGE 0x4D
typedef struct {