1. 08 10月, 2015 2 次提交
  2. 05 10月, 2015 2 次提交
  3. 29 9月, 2015 1 次提交
  4. 24 9月, 2015 1 次提交
  5. 18 9月, 2015 1 次提交
  6. 17 9月, 2015 2 次提交
  7. 11 8月, 2015 3 次提交
    • J
      Bluetooth: add hci_connect_le_scan · f75113a2
      Jakub Pawlowski 提交于
      Currently, when trying to connect to already paired device that just
      rotated its RPA MAC address, old address would be used and connection
      would fail. In order to fix that, kernel must scan and receive
      advertisement with fresh RPA before connecting.
      
      This patch adds hci_connect_le_scan with dependencies, new method that
      will be used to connect to remote LE devices. Instead of just sending
      connect request, it adds a device to whitelist. Later patches will make
      use of this whitelist to send conenct request when advertisement is
      received, and properly handle timeouts.
      Signed-off-by: NJakub Pawlowski <jpawlowski@google.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      f75113a2
    • J
      Bluetooth: add hci_lookup_le_connect · e7d9ab73
      Jakub Pawlowski 提交于
      This patch adds hci_lookup_le_connect method, that will be used to check
      wether outgoing le connection attempt is in progress.
      Signed-off-by: NJakub Pawlowski <jpawlowski@google.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      e7d9ab73
    • J
      Bluetooth: preparation for new connect procedure · 158e9218
      Jakub Pawlowski 提交于
      Currently, when trying to connect to already paired device that just
      rotated its RPA MAC address, old address would be used and connection
      would fail. In order to fix that, kernel must scan and receive
      advertisement with fresh RPA before connecting.
      
      This patch adds some fields to hci_conn_params, in preparation to new
      connect procedure.
      
      explicit_connect will be used to override any current auto_connect action,
      and connect to device when ad is received.
      
      HCI_AUTO_CONN_EXPLICIT was added to auto_connect enum. When this value
      will be used, explicit connect is the only action, and params can be
      removed after successful connection.
      
      HCI_CONN_SCANNING is added to hci_conn flags. When it's set, connect is
      scan phase. It gets cleared when advertisement is received, and
      HCI_OP_LE_CREATE_CONN is sent.
      Signed-off-by: NJakub Pawlowski <jpawlowski@google.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      158e9218
  8. 23 7月, 2015 3 次提交
  9. 19 6月, 2015 5 次提交
  10. 12 6月, 2015 1 次提交
  11. 09 6月, 2015 3 次提交
  12. 09 4月, 2015 1 次提交
    • M
      Bluetooth: Read LE remote features during connection establishment · 0fe29fd1
      Marcel Holtmann 提交于
      When establishing a Bluetooth LE connection, read the remote used
      features mask to determine which features are supported. This was
      not really needed with Bluetooth 4.0, but since Bluetooth 4.1 and
      also 4.2 have introduced new optional features, this becomes more
      important.
      
      This works the same as with BR/EDR where the connection enters the
      BT_CONFIG stage and hci_connect_cfm call is delayed until the remote
      features have been retrieved. Only after successfully receiving the
      remote features, the connection enters the BT_CONNECTED state.
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      0fe29fd1
  13. 08 4月, 2015 3 次提交
  14. 02 4月, 2015 5 次提交
  15. 31 3月, 2015 2 次提交
  16. 26 3月, 2015 1 次提交
  17. 24 3月, 2015 4 次提交