1. 02 10月, 2013 4 次提交
  2. 26 9月, 2013 5 次提交
  3. 17 9月, 2013 1 次提交
    • M
      Bluetooth: Introduce user channel flag for HCI devices · 0736cfa8
      Marcel Holtmann 提交于
      This patch introduces a new user channel flag that allows to give full
      control of a HCI device to a user application. The kernel will stay away
      from the device and does not allow any further modifications of the
      device states.
      
      The existing raw flag is not used since it has a bit of unclear meaning
      due to its legacy. Using a new flag makes the code clearer.
      
      A device with the user channel flag set can still be enumerate using the
      legacy API, but it does not longer enumerate using the new management
      interface used by BlueZ 5 and beyond. This is intentional to not confuse
      users of modern systems.
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      0736cfa8
  4. 23 6月, 2013 8 次提交
  5. 12 6月, 2013 2 次提交
  6. 24 4月, 2013 1 次提交
    • J
      Bluetooth: Fix sending write_le_host_supporte for LE-only controllers · c73eee91
      Johan Hedberg 提交于
      The Bluetooth Core Specification (4.0) defines the Write LE Host
      Supported HCI command as only available for controllers supporting
      BR/EDR. This is further reflected in the Read Local Extended Features
      HCI command also not being available for LE-only controllers. In other
      words, host-side LE support is implicit for single-mode LE controllers
      and doesn't have explicit HCI-level enablement.
      
      This patch ensures that the LE setting is always exposed as enabled
      through mgmt and returns a "rejected" response if user space tries to
      toggle the setting. The patch also ensures that Write LE Host Supported
      is never sent for LE-only controllers.
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      c73eee91
  7. 18 4月, 2013 2 次提交
  8. 12 4月, 2013 1 次提交
    • D
      Bluetooth: rename hci_conn_put to hci_conn_drop · 76a68ba0
      David Herrmann 提交于
      We use _get() and _put() for device ref-counting in the kernel. However,
      hci_conn_put() is _not_ used for ref-counting, hence, rename it to
      hci_conn_drop() so we can later fix ref-counting and introduce
      hci_conn_put().
      
      hci_conn_hold() and hci_conn_put() are currently used to manage how long a
      connection should be held alive. When the last user drops the connection,
      we spawn a delayed work that performs the disconnect. Obviously, this has
      nothing to do with ref-counting for the _object_ but rather for the
      keep-alive of the connection.
      
      But we really _need_ proper ref-counting for the _object_ to allow
      connection-users like rfcomm-tty, HIDP or others.
      Signed-off-by: NDavid Herrmann <dh.herrmann@gmail.com>
      Acked-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      76a68ba0
  9. 19 3月, 2013 16 次提交