]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Bluetooth: Add the definition and stcuture for Sync Train Complete
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 2 Oct 2013 12:54:52 +0000 (21:54 +0900)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 2 Oct 2013 16:54:59 +0000 (09:54 -0700)
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>
include/net/bluetooth/hci.h

index 657d2b09e3fee8915b642a10099bc096a39a3e07..03f2a9126a5dc6c9df1316dd1d680c00ce7ca7a8 100644 (file)
@@ -1505,6 +1505,11 @@ struct hci_ev_num_comp_blocks {
        struct hci_comp_blocks_info handles[0];
 } __packed;
 
+#define HCI_EV_SYNC_TRAIN_COMPLETE     0x4F
+struct hci_ev_sync_train_complete {
+       __u8    status;
+} __packed;
+
 /* Low energy meta events */
 #define LE_CONN_ROLE_MASTER    0x00