1. 09 Nov, 2012 4 commits
    • Marcos Chaparro's avatar
      Bluetooth: ath3k: Add support for VAIO VPCEH [0489:e027] · acd94544
      Marcos Chaparro authored
      Added Atheros AR3011 internal bluetooth device found in Sony VAIO VPCEH to the
      devices list.
      Before this, the bluetooth module was identified as an Foxconn / Hai bluetooth
      device [0489:e027], now it claims to be an AtherosAR3011 Bluetooth
      [0cf3:3005].
      
      T:  Bus=01 Lev=02 Prnt=02 Port=04 Cnt=02 Dev#=  4 Spd=12   MxCh= 0
      D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
      P:  Vendor=0489 ProdID=e027 Rev= 0.01
      C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
      I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
      E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
      I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
      I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
      I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
      I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
      I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
      Signed-off-by: default avatarMarcos Chaparro <marcos@mrkindustries.com.ar>
      Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
      acd94544
    • Marcel Holtmann's avatar
      Bluetooth: Notify about device registration before power on · fbe96d6f
      Marcel Holtmann authored
      It is important that the monitor interface gets notified about
      a new device before its power on procedure has been started.
      
      For some reason that is no longer working as expected and the power
      on procedure runs first. It is safe to just notify about device
      registration and trigger the power on procedure afterwards.
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      Acked-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
      Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
      fbe96d6f
    • Paulo Sérgio's avatar
      Bluetooth: Fix error status when pairing fails · 896ea28e
      Paulo Sérgio authored
      When pairing fails due to wrong confirm value, the management layer
      doesn't report a proper error status. It sends
      MGMT_STATUS_CONNECT_FAILED instead of MGMT_STATUS_AUTH_FAILED.
      
      Most of management functions that receive a status as a parameter
      expects for it to be encoded as a HCI status. But when a SMP pairing
      fails, the SMP layer sends the SMP reason as the error status to the
      management layer.
      
      This commit maps all SMP reasons to HCI_ERROR_AUTH_FAILURE, which will
      be converted to MGMT_STATUS_AUTH_FAILED in the management layer.
      Reported-by: default avatarClaudio Takahasi <claudio.takahasi@openbossa.org>
      Reviewed-by: default avatarJoão Paulo Rechi Vita <jprvita@openbossa.org>
      Signed-off-by: default avatarPaulo Sérgio <paulo.sergio@openbossa.org>
      Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
      896ea28e
    • Johan Hedberg's avatar
      Bluetooth: Fix having bogus entries in mgmt_read_index_list reply · 476e44cb
      Johan Hedberg authored
      The mgmt_read_index_list uses one loop to calculate the max needed size
      of its response with the help of an upper-bound of the controller count.
      The second loop is more strict as it checks for HCI_SETUP (which might
      have gotten set after the first loop) and could result in some indexes
      being skipped. Because of this the function needs to readjust the event
      length and index count after filling in the response array.
      Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
      Cc: stable@vger.kernel.org
      Acked-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
      476e44cb
  2. 30 Oct, 2012 2 commits
  3. 29 Oct, 2012 2 commits
  4. 26 Oct, 2012 5 commits
  5. 25 Oct, 2012 3 commits
  6. 24 Oct, 2012 9 commits
  7. 18 Oct, 2012 2 commits
  8. 17 Oct, 2012 2 commits
  9. 16 Oct, 2012 1 commit
  10. 15 Oct, 2012 10 commits