diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2013-10-02 08:54:52 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-10-02 12:54:59 -0400 |
commit | 2b359445d5578f65cdd5301dfcbf9e0bdc358b20 (patch) | |
tree | e9ca09a051d372fd21fac4600e1d7021966621fe /include | |
parent | cefded981960d60f7d18f6596c020390b9764aa3 (diff) |
Bluetooth: Add the definition and stcuture for Sync Train Complete
The Synchronization Train Complete event indicates that the Start
Synchronization Train command has completed.
The Core Spec Addendum 4 adds this command in part B Connectionless
Slave Broadcast.
Bluetooth Core Specification Addendum 4 - Page 103
"7.7.67 Synchronization Train Complete Event [New Section]
...
Event Parameters:
Status 0x00 Start Synchronization Train command completed
successfully.
0x01-0xFF Start Synchronization Train command failed.
See Part D, Error Codes, for error codes and
descriptions."
Signed-off-by: Dohyun Pyun <dh79.pyun@samsung.com>
Signed-off-by: C S Bhargava <cs.bhargava@samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/hci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 657d2b09e3fe..03f2a9126a5d 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -1505,6 +1505,11 @@ struct hci_ev_num_comp_blocks { | |||
1505 | struct hci_comp_blocks_info handles[0]; | 1505 | struct hci_comp_blocks_info handles[0]; |
1506 | } __packed; | 1506 | } __packed; |
1507 | 1507 | ||
1508 | #define HCI_EV_SYNC_TRAIN_COMPLETE 0x4F | ||
1509 | struct hci_ev_sync_train_complete { | ||
1510 | __u8 status; | ||
1511 | } __packed; | ||
1512 | |||
1508 | /* Low energy meta events */ | 1513 | /* Low energy meta events */ |
1509 | #define LE_CONN_ROLE_MASTER 0x00 | 1514 | #define LE_CONN_ROLE_MASTER 0x00 |
1510 | 1515 | ||