1. 27 12月, 2014 1 次提交
  2. 20 12月, 2014 1 次提交
  3. 06 12月, 2014 3 次提交
  4. 05 12月, 2014 1 次提交
  5. 03 12月, 2014 1 次提交
  6. 18 11月, 2014 1 次提交
  7. 03 11月, 2014 2 次提交
  8. 02 11月, 2014 1 次提交
  9. 24 9月, 2014 1 次提交
    • J
      Bluetooth: Fix reason code used for rejecting SCO connections · d41c15cf
      Johan Hedberg 提交于
      The core specification defines valid values for the
      HCI_Reject_Synchronous_Connection_Request command to be 0x0D-0x0F. So
      far the code has been using HCI_ERROR_REMOTE_USER_TERM (0x13) which is
      not a valid value and is therefore being rejected by some controllers:
      
       > HCI Event: Connect Request (0x04) plen 10
      	bdaddr 40:6F:2A:6A:E5:E0 class 0x000000 type eSCO
       < HCI Command: Reject Synchronous Connection (0x01|0x002a) plen 7
      	bdaddr 40:6F:2A:6A:E5:E0 reason 0x13
      	Reason: Remote User Terminated Connection
       > HCI Event: Command Status (0x0f) plen 4
      	Reject Synchronous Connection (0x01|0x002a) status 0x12 ncmd 1
      	Error: Invalid HCI Command Parameters
      
      This patch introduces a new define for a value from the valid range
      (0x0d == Connection Rejected Due To Limited Resources) and uses it
      instead for rejecting incoming connections.
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      d41c15cf
  10. 31 7月, 2014 1 次提交
  11. 24 7月, 2014 2 次提交
  12. 16 7月, 2014 1 次提交
  13. 13 7月, 2014 1 次提交
  14. 11 7月, 2014 1 次提交
  15. 09 7月, 2014 1 次提交
  16. 08 7月, 2014 1 次提交
  17. 06 7月, 2014 2 次提交
    • 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: 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
  18. 05 7月, 2014 2 次提交
  19. 04 7月, 2014 2 次提交
  20. 03 7月, 2014 13 次提交
  21. 10 5月, 2014 1 次提交