1. 19 Dec, 2018 3 commits
    • Jonathan Bakker's avatar
      Bluetooth: hci_bcm: Handle specific unknown packets after firmware loading · 22bba805
      Jonathan Bakker authored
      The Broadcom controller on aries S5PV210 boards sends out a couple of
      unknown packets after the firmware is loaded.  This will cause
      logging of errors such as:
      	Bluetooth: hci0: Frame reassembly failed (-84)
      
      This is probably also the case with other boards, as there are related
      Android userspace patches for custom ROMs such as
      https://review.lineageos.org/#/c/LineageOS/android_system_bt/+/142721/
      Since this appears to be intended behaviour, treated them as diagnostic
      packets.
      
      Note that this is another variant of commit 01d5e44a
      ("Bluetooth: hci_bcm: Handle empty packet after firmware loading")
      Signed-off-by: default avatarJonathan Bakker <xc-racer2@live.ca>
      Signed-off-by: default avatarPaweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      22bba805
    • Paweł Chmiel's avatar
      Bluetooth: btbcm: Add entry for BCM4329B1 UART bluetooth · e3ca60d0
      Paweł Chmiel authored
      This patch adds the device ID for the BCM 4329 combo module used
      in the Samsung Aries based phones (Galaxy S and it's variants).
      
      ```
      [   11.508980] Bluetooth: hci0: BCM: chip id 41
      [   11.518975] Bluetooth: hci0: BCM: features 0x04
      [   11.550132] Bluetooth: hci0: BCM4329B1
      [   11.557046] Bluetooth: hci0: BCM4329B1 (002.002.023) build 0000
      [   13.737071] Bluetooth: hci0: BCM4329B1 (002.002.023) build 0744
      ```
      
      Output from hciconfig
      
      ```
      hci0:   Type: Primary  Bus: UART
              BD Address: 43:29:B1:55:00:00  ACL MTU: 1021:6  SCO MTU: 64:1
              UP RUNNING
              RX bytes:1675 acl:0 sco:0 events:145 errors:0
              TX bytes:20426 acl:0 sco:0 commands:146 errors:0
              Features: 0xbf 0xfe 0x8f 0xfe 0x9b 0xff 0x79 0x83
              Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
              Link policy: RSWITCH SNIFF
              Link mode: SLAVE ACCEPT
              Name: 'aries'
              Class: 0x000000
              Service Classes: Unspecified
              Device Class: Miscellaneous,
              HCI Version: 2.1 (0x4)  Revision: 0x2e8
              LMP Version: 2.1 (0x4)  Subversion: 0x4217
              Manufacturer: Broadcom Corporation (15)
      ```
      Signed-off-by: default avatarPaweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      e3ca60d0
    • Raghuram Hegde's avatar
      Bluetooth: btusb: Add support for Intel bluetooth device 8087:0029 · 2da711bc
      Raghuram Hegde authored
      Include the new USB product ID for Intel Bluetooth device 22260
      family(CcPeak)
      
      The /sys/kernel/debug/usb/devices portion for this device is:
      
      T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#=  2 Spd=12   MxCh= 0
      D:  Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
      P:  Vendor=8087 ProdID=0029 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=  64 Ivl=1ms
      E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      E:  Ad=82(I) 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=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
      E:  Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
      E:  Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
      E:  Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
      E:  Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
      E:  Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
      I:  If#= 1 Alt= 6 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  63 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  63 Ivl=1ms
      Signed-off-by: default avatarRaghuram Hegde <raghuram.hegde@intel.com>
      Signed-off-by: default avatarChethan T N <chethan.tumkur.narayan@intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      2da711bc
  2. 18 Dec, 2018 37 commits