1. 17 7月, 2014 1 次提交
  2. 16 7月, 2014 5 次提交
  3. 14 7月, 2014 1 次提交
  4. 13 7月, 2014 1 次提交
  5. 11 7月, 2014 9 次提交
  6. 10 7月, 2014 3 次提交
  7. 09 7月, 2014 4 次提交
  8. 08 7月, 2014 2 次提交
  9. 07 7月, 2014 2 次提交
  10. 06 7月, 2014 4 次提交
    • J
      Bluetooth: Use lower timeout for LE auto-connections · 09ae260b
      Johan Hedberg 提交于
      When we establish connections as a consequence of receiving an
      advertising report it makes no sense to wait the normal 20 second LE
      connection timeout. This patch modifies the hci_connect_le function to
      take an extra timeout value and uses a lower 2 second timeout for the
      auto-connection case. This timeout is intentionally chosen to be just a
      bit higher than the 1.28 second timeout that High Duty Cycle Advertising
      uses.
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      09ae260b
    • M
      Bluetooth: Add support for changing the public device address · 9713c17b
      Marcel Holtmann 提交于
      This adds support for changing the public device address. This feature
      is required by controllers that do not provide a public address and
      have HCI_QUIRK_INVALID_BDADDR set.
      
      Even if a controller has a public device address, this is useful when
      an embedded system wants to use its own value. As long as the driver
      provides the set_bdaddr callback, this allows changing the device
      address before powering on the controller.
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      9713c17b
    • M
      Bluetooth: Run controller setup after external configuration · d603b76b
      Marcel Holtmann 提交于
      When the external configuration triggers the switch to a configured
      controller, it means the setup needs to be run. Controllers that start
      out unconfigured have only run limited set of HCI commands. This is
      not enough for complete operation and thus run the setup procedure
      before announcing the new controller index.
      
      This introduces HCI_CONFIG flag as companion to HCI_SETUP flag. The
      HCI_SETUP flag is only used once for the initial setup procedure. And
      during that procedure hdev->setup driver callback is called. With the
      new HCI_CONFIG the switch from unconfigured to configured state is
      triggering the same setup procedure just without hdev->setup. This
      is required since bringing a controller back to unconfigured state
      from configured state is possible.
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      d603b76b
    • J
      Bluetooth: Fix sending Device Removed when clearing all parameters · 19de0825
      Johan Hedberg 提交于
      When calling Device Remove with BDADDR_ANY we should in a similar way
      emit Device Removed events as we do when removing a single device. Since
      we have to iterate the list and call device_removed() the dedicated
      hci_conn_params_clear_enabled() is not really useful anymore. This patch
      removes the helper function and does the event emission and list item
      removal in a single loop.
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      19de0825
  11. 05 7月, 2014 4 次提交
  12. 04 7月, 2014 4 次提交