1. 06 Oct, 2013 18 commits
  2. 05 Oct, 2013 3 commits
  3. 04 Oct, 2013 2 commits
  4. 03 Oct, 2013 12 commits
  5. 02 Oct, 2013 5 commits
    • Marcel Holtmann's avatar
      Bluetooth: Fix memory leak with L2CAP signal channels · 3b166295
      Marcel Holtmann authored
      The wrong type of L2CAP signalling packets on the wrong type of
      either BR/EDR or LE links need to be dropped. When that happens
      the packet is dropped, but the memory not freed. So actually
      free the memory as well.
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
      3b166295
    • DoHyun Pyun's avatar
      Bluetooth: Add the definition for Slave Page Response Timeout · 2ed01805
      DoHyun Pyun authored
      The Slave Page Response Timeout event indicates to the Host that a
      slave page response timeout has occurred 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 110
      
      "7.7.72 Slave Page Response Timeout Event [New Section]
      ...
      Note: this event will be generated if the slave BR/EDR Controller
      responds to a page but does not receive the master FHS packet
      (see Baseband, Section 8.3.3) within pagerespTO.
      
      Event Parameters: NONE"
      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>
      2ed01805
    • DoHyun Pyun's avatar
      Bluetooth: Add the definition and stcuture for Sync Train Complete · 2b359445
      DoHyun Pyun authored
      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: 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>
      2b359445
    • DoHyun Pyun's avatar
      Bluetooth: Add the definition for Start Synchronization Train · cefded98
      DoHyun Pyun authored
      The Start_Synchronization_Train command controls 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 86
      
      "7.1.51 Start Synchronization Train Command [New Section]
      ...
      If connectionless slave broadcast mode is not enabled, the Command
      Disallowed (0x0C) error code shall be returned. After receiving this
      command and returning a Command Status event, the Baseband starts
      attempting to send synchronization train packets containing information
      related to the enabled Connectionless Slave Broadcast packet timing.
      
      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.
      
      The synchronization train packets will be sent using the parameters
      specified by the latest Write_Synchronization_Train_Parameters command.
      The Synchronization Train will continue until synchronization_trainTO
      slots (as specified in the last Write_Synchronization_Train command)
      have passed or until the Host disables the Connectionless Slave Broadcast
      logical transport."
      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>
      cefded98
    • DoHyun Pyun's avatar
      Bluetooth: Add the definition and structure for Set CSB · 8c9a041b
      DoHyun Pyun authored
      he Set_Connectionless_Slave_Broadcast command controls the
      Connectionless Slave Broadcast 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 78
      
      "7.1.49 Set Connectionless Slave Broadcast Command [New Section]
      ...
      The LT_ADDR indicated in the Set_Connectionless_Slave_Broadcast shall be
      pre-allocated using the HCI_Set_Reserved_LT_ADDR command. If the
      LT_ADDR has not been reserved, the Unknown Connection Identifier (0x02)
      error code shall be returned. If the controller is unable to reserve
      sufficient bandwidth for the requested activity, the Connection Rejected
      Due to Limited Resources (0x0D) error code shall be returned.
      
      The LPO_Allowed parameter informs the BR/EDR Controller whether it is
      allowed to sleep.
      
      The Packet_Type parameter specifies which packet types are allowed. The
      Host shall either enable BR packet types only, or shall enable EDR and DM1
      packet types only.
      
      The Interval_Min and Interval_Max parameters specify the range from which
      the BR/EDR Controller must select the Connectionless Slave Broadcast
      Interval. The selected Interval is returned."
      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>
      8c9a041b