• DoHyun Pyun's avatar
    Bluetooth: Add the structure for Write Sync Train Parameters · a9b07a64
    DoHyun Pyun authored
    The Write_Synchronization_Train_Parameters command configures
    the Synchronization Train functionality in the BR/EDR Controller.
    
    The Core Spec Addendum 4 adds this command in part B Connectionless
    Slave Broadcast.
    
    Bluetooth Core Specification Addendum 4 - Page 97
    
    "7.3.90 Write Synchronization Train Parameters Command [New Section]
    ...
    Note: The AFH_Channel_Map used in the Synchronization Train packets is
    configured by the Set_AFH_Channel_Classification command and the local
    channel classification in the BR/EDR Controller.
    
    Interval_Min and Interval_Max specify the allowed range of
    Sync_Train_Interval. Refer to [Vol. 2], Part B, section 2.7.2 for
    a detailed description of Sync_Train_Interval. The BR/EDR Controller shall
    select an interval from this range and return it in Sync_Train_Interval.
    If the Controller is unable to select a value from this range, it shall
    return the Invalid HCI Command Parameters (0x12) error code.
    
    Once started (via the Start_Synchronization_Train Command) the
    Synchronization Train will continue until synchronization_trainTO slots have
    passed or Connectionless Slave Broadcast has been disabled."
    Signed-off-by: default avatarDohyun Pyun <dh79.pyun@samsung.com>
    Signed-off-by: default avatarC S Bhargava <cs.bhargava@samsung.com>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    a9b07a64
hci.h 37.7 KB