1. 01 Oct, 2021 4 commits
    • Luiz Augusto von Dentz's avatar
      Bluetooth: Rename driver .prevent_wake to .wakeup · 4539ca67
      Luiz Augusto von Dentz authored
      prevent_wake logic is backward since what it is really checking is
      if the device may wakeup the system or not, not that it will prevent
      the to be awaken.
      
      Also looking on how other subsystems have the entry as power/wakeup
      this also renames the force_prevent_wake to force_wakeup in vhci driver.
      Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      4539ca67
    • Hilda Wu's avatar
      Bluetooth: btrtl: Ask ic_info to drop firmware · cd36742a
      Hilda Wu authored
      Some un-support wakeup platforms keep USB power and suspend signal
      is coming late, this makes Realtek some chip keep its firmware,
      and make it never load new firmware.
      
      So use vendor specific HCI command to ask them drop its firmware after
      system shutdown or resume.
      Signed-off-by: default avatarHilda Wu <hildawu@realtek.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      cd36742a
    • Nicholas Flintham's avatar
      Bluetooth: btusb: Add support for TP-Link UB500 Adapter · 4fd6d490
      Nicholas Flintham authored
      Add support for TP-Link UB500 Adapter (RTL8761B)
      
      * /sys/kernel/debug/usb/devices
      T:  Bus=01 Lev=02 Prnt=05 Port=01 Cnt=01 Dev#= 78 Spd=12   MxCh= 0
      D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
      P:  Vendor=2357 ProdID=0604 Rev= 2.00
      S:  Manufacturer=
      S:  Product=TP-Link UB500 Adapter
      S:  SerialNumber=E848B8C82000
      C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
      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=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
      Signed-off-by: default avatarNicholas Flintham <nick@flinny.org>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      4fd6d490
    • Luiz Augusto von Dentz's avatar
      Bluetooth: hci_sock: Replace use of memcpy_from_msg with bt_skb_sendmsg · 64ba2eb3
      Luiz Augusto von Dentz authored
      This makes use of bt_skb_sendmsg instead of allocating a different
      buffer to be used with memcpy_from_msg which cause one extra copy.
      Tested-by: default avatarTedd Ho-Jeong An <tedd.an@intel.com>
      Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      64ba2eb3
  2. 30 Sep, 2021 1 commit
  3. 29 Sep, 2021 3 commits
  4. 28 Sep, 2021 9 commits
  5. 24 Sep, 2021 2 commits
  6. 22 Sep, 2021 3 commits
  7. 21 Sep, 2021 5 commits
  8. 13 Sep, 2021 4 commits
  9. 10 Sep, 2021 3 commits
  10. 07 Sep, 2021 6 commits