1. 01 4月, 2011 4 次提交
  2. 22 2月, 2011 2 次提交
  3. 18 2月, 2011 1 次提交
  4. 17 2月, 2011 5 次提交
  5. 08 2月, 2011 13 次提交
  6. 20 1月, 2011 1 次提交
  7. 23 12月, 2010 1 次提交
  8. 02 12月, 2010 5 次提交
  9. 09 11月, 2010 1 次提交
    • J
      Bluetooth: Fix non-SSP auth request for HIGH security level sockets · bdb7524a
      Johan Hedberg 提交于
      When initiating dedicated bonding a L2CAP raw socket with HIGH security
      level is used. The kernel is supposed to trigger the authentication
      request in this case but this doesn't happen currently for non-SSP
      (pre-2.1) devices. The reason is that the authentication request happens
      in the remote extended features callback which never gets called for
      non-SSP devices. This patch fixes the issue by requesting also
      authentiation in the (normal) remote features callback in the case of
      non-SSP devices.
      
      This rule is applied only for HIGH security level which might at first
      seem unintuitive since on the server socket side MEDIUM is already
      enough for authentication. However, for the clients we really want to
      prefer the server side to decide the authentication requrement in most
      cases, and since most client sockets use MEDIUM it's better to be
      avoided on the kernel side for these sockets. The important socket to
      request it for is the dedicated bonding one and that socket uses HIGH
      security level.
      
      The patch is based on the initial investigation and patch proposal from
      Andrei Emeltchenko <endrei.emeltchenko@nokia.com>.
      Signed-off-by: NJohan Hedberg <johan.hedberg@nokia.com>
      Acked-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
      bdb7524a
  10. 28 7月, 2010 1 次提交
    • M
      Bluetooth: Defer SCO setup if mode change is pending · e73439d8
      Marcel Holtmann 提交于
      Certain headsets such as the Motorola H350 will reject SCO and eSCO
      connection requests while the ACL is transitioning from sniff mode
      to active mode. Add synchronization so that SCO and eSCO connection
      requests will wait until the ACL has fully transitioned to active mode.
      
      < HCI Command: Exit Sniff Mode (0x02|0x0004) plen 2
          handle 12
      > HCI Event: Command Status (0x0f) plen 4
          Exit Sniff Mode (0x02|0x0004) status 0x00 ncmd 1
      < HCI Command:  Setup Synchronous Connection (0x01|0x0028) plen 17
          handle 12 voice setting 0x0040
      > HCI Event: Command Status (0x0f) plen 4
          Setup Synchronous Connection (0x01|0x0028) status 0x00 ncmd 1
      > HCI Event: Number of Completed Packets (0x13) plen 5
          handle 12 packets 1
      > HCI Event: Mode Change (0x14) plen 6
          status 0x00 handle 12 mode 0x00 interval 0
          Mode: Active
      > HCI Event: Synchronous Connect Complete (0x2c) plen 17
          status 0x10 handle 14 bdaddr 00:1A:0E:50:28:A4 type SCO
          Error: Connection Accept Timeout Exceeded
      Signed-off-by: NRon Shaffer <rshaffer@codeaurora.org>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      e73439d8
  11. 22 7月, 2010 3 次提交
  12. 09 7月, 2010 1 次提交
  13. 27 2月, 2010 1 次提交
    • S
      Bluetooth: Add SCO fallback for unsupported feature error · 705e5711
      Stephen Coe 提交于
      The Bluetooth SIG PTS test case: TC_AG_ACS_BV_10_I, rejects eSCO with
      "Unsupported Feature or Parameter Value" (0x11).  This patch adds case
      for SCO fallback.
      
      2007-09-20 12:20:37.787747 > HCI Event: Number of Completed Packets (0x13) plen 5
         handle 38 packets 1
      2007-09-20 12:20:37.842154 < HCI Command: Setup Synchronous Connection (0x01|0x0028) plen 17
         handle 38 voice setting 0x0060
      2007-09-20 12:20:37.847037 > HCI Event: Command Status (0x0f) plen 4
         Setup Synchronous Connection (0x01|0x0028) status 0x00 ncmd 1
      2007-09-20 12:20:37.855233 > HCI Event: Max Slots Change (0x1b) plen 3
         handle 38 slots 1
      2007-09-20 12:20:39.913354 > HCI Event: Synchronous Connect Complete (0x2c) plen 17
         status 0x11 handle 38 bdaddr 00:16:93:01:01:7A type eSCO
         Error: Unsupported Feature or Parameter Value
      2007-09-20 12:20:39.922629 > HCI Event: Max Slots Change (0x1b) plen 3
         handle 38 slots 5
      2007-09-20 12:20:58.126886 < ACL data: handle 38 flags 0x02 dlen 8
         L2CAP(d): cid 0x0041 len 4 [psm 0]
           0000: 0b 53 01 b8                                       .S..
      2007-09-20 12:20:58.130138 > HCI Event: Number of Completed Packets (0x13) plen 5
         handle 38 packets 1
      Signed-off-by: NStephen Coe <smcoe1@gmail.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      705e5711
  14. 04 2月, 2010 1 次提交