diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-01-04 05:41:58 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-13 10:01:20 -0500 |
commit | 25e89e99b4a54a2cb6e27b4675cd71a3d8a9b3fc (patch) | |
tree | caa527d1692f5679b4f6923ac96161cdd58477f2 /include/net/bluetooth/hci.h | |
parent | 5e41862322388224eef7ce221c8772489e3aa39a (diff) |
Bluetooth: Process num completed data blocks event
Adds support for Number Of Completed Data Blocks Event.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r-- | include/net/bluetooth/hci.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index ce5133b22445..6a9d316fb977 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -1168,6 +1168,19 @@ struct hci_ev_le_meta { | |||
1168 | __u8 subevent; | 1168 | __u8 subevent; |
1169 | } __packed; | 1169 | } __packed; |
1170 | 1170 | ||
1171 | #define HCI_EV_NUM_COMP_BLOCKS 0x48 | ||
1172 | struct hci_comp_blocks_info { | ||
1173 | __le16 handle; | ||
1174 | __le16 pkts; | ||
1175 | __le16 blocks; | ||
1176 | } __packed; | ||
1177 | |||
1178 | struct hci_ev_num_comp_blocks { | ||
1179 | __le16 num_blocks; | ||
1180 | __u8 num_hndl; | ||
1181 | struct hci_comp_blocks_info handles[0]; | ||
1182 | } __packed; | ||
1183 | |||
1171 | /* Low energy meta events */ | 1184 | /* Low energy meta events */ |
1172 | #define HCI_EV_LE_CONN_COMPLETE 0x01 | 1185 | #define HCI_EV_LE_CONN_COMPLETE 0x01 |
1173 | struct hci_ev_le_conn_complete { | 1186 | struct hci_ev_le_conn_complete { |