Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PW_SID:606699] Bluetooth: btusb: Add one more Bluetooth part for the Realtek RTL8852AE #601

Closed
wants to merge 4 commits into from

Commits on Jan 18, 2022

  1. bluetooth: msft: Handle MSFT Monitor Device Event

    Whenever the controller starts/stops monitoring a bt device, it sends
    MSFT Monitor Device event. Add handler to read this vendor event.
    
    Test performed:
    - Verified by logs that the MSFT Monitor Device event is received from
      the controller whenever it starts/stops monitoring a device.
    
    Signed-off-by: Manish Mandlik <mmandlik@google.com>
    Reviewed-by: Miao-chen Chou <mcchou@google.com>
    Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
    liveusr authored and Vudentz committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    0e81371 View commit details
    Browse the repository at this point in the history
  2. bluetooth: mgmt: Add MGMT Adv Monitor Device Found/Lost events

    This patch introduces two new MGMT events for notifying the bluetoothd
    whenever the controller starts/stops monitoring a device.
    
    Test performed:
    - Verified by logs that the MSFT Monitor Device is received from the
      controller and the bluetoothd is notified whenever the controller
      starts/stops monitoring a device.
    
    Signed-off-by: Manish Mandlik <mmandlik@google.com>
    Reviewed-by: Miao-chen Chou <mcchou@google.com>
    Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
    liveusr authored and Vudentz committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    4fd8a97 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2022

  1. workflow: Add workflow files for ci

    This patch adds workflow files for ci:
    
    [schedule_work.yml]
     - The workflow file for scheduled work
     - Sync the repo with upstream repo and rebase the workflow branch
     - Review the patches in the patchwork and creates the PR if needed
    
    [ci.yml]
     - The workflow file for CI tasks
     - Run CI tests when PR is created
    tedd-an committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    c98e976 View commit details
    Browse the repository at this point in the history
  2. Bluetooth: btusb: Add one more Bluetooth part for the Realtek RTL8852AE

    This Realtek device has both wifi and BT components. The latter reports
    a USB ID of 0bda:2852, which is not in the table.
    
    BT device description in /sys/kernel/debug/usb/devices contains the following entries:
    
    T: Bus=01 Lev=01 Prnt=01 Port=03 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
    D: Ver= 1.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
    P: Vendor=0bda ProdID=2852 Rev= 0.00
    S: Manufacturer=Realtek
    S: Product=Bluetooth Radio
    S: SerialNumber=00e04c000001
    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
    
    The missing USB_ID was reported by user trius65 at lwfinger/rtw89#122
    
    Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
    Cc: stable@vger.kernel.org
    lwfinger authored and tedd-an committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    b8bd02d View commit details
    Browse the repository at this point in the history