Skip to content
Permalink
Dmitry-Baryshk…
Switch branches/tags

Commits on Jun 21, 2021

  1. arm64: dts: qcom: qrb5165-rb5: add QCA6391 WiFi+BT SoC

    Describe the onboard WiFi+BT SoC QCA6391. It is connected to uart6 to
    provide Bluetooth functionality (QCA) and to PCIe to provide WiFi
    (ath11k). A separate power sequencer device node is used to describe
    on-SoC power management unit common to both WiFi and BT parts.
    
    Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
    lumag authored and intel-lab-lkp committed Jun 21, 2021
  2. Bluetooth: hci_qca: add power sequencer support to qca6390

    QCA6390 uses on-chip power sequencer (and power management unit) to
    supply power to both WiFi and BT parts. Since this sequencer is
    supported by a separate driver, use it as a single "vin" regulator.
    
    Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
    lumag authored and intel-lab-lkp committed Jun 21, 2021
  3. Bluetooth: hci_qca: merge wcn & non-wcn code paths

    In preparation to add power sequencer support to qca6390, merge wcnxxxx
    and non-wcn codepaths.
    
    Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
    lumag authored and intel-lab-lkp committed Jun 21, 2021
  4. Bluetooth: hci_qca: merge qca_power into qca_serdev

    There is no need to allocate separate structure for handling regulators
    used by QCA chips, we gain nothing from it. Move all used data fields
    directly to struct qca_serdev.
    
    Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
    lumag authored and intel-lab-lkp committed Jun 21, 2021
  5. Bluetooth: hci_qca: provide default device data

    In order to simplify probe function provide default device data. This
    removes the rest of if (data) checks.
    
    Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
    lumag authored and intel-lab-lkp committed Jun 21, 2021
  6. regulator: qca6390: add support for QCA639x powerup sequence

    Qualcomm QCA6390/1 is a family of WiFi + Bluetooth SoCs, with BT part
    being controlled through the UART and WiFi being present on PCIe
    bus. Both blocks share common power sources. Add device driver handling
    power sequencing of QCA6390/1.
    
    Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
    lumag authored and intel-lab-lkp committed Jun 21, 2021
  7. dt-bindings: regulator: qcom,qca6390: add binding for QCA6390 device

    Qualcomm QCA6390/1 is a family of WiFi + Bluetooth SoCs, with BT part
    being controlled through the UART and WiFi being present on PCIe bus.
    Both blocks share common power sources. Add binding to describe power
    sequencing required to power up this device.
    
    Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
    lumag authored and intel-lab-lkp committed Jun 21, 2021

Commits on Jun 16, 2021

  1. Bluetooth: btmrvl: remove redundant continue statement

    The continue statement in the for-loop has no effect,
    remove it.
    
    Addresses-Coverity: ("Continue has no effect")
    Signed-off-by: Colin Ian King <colin.king@canonical.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Colin Ian King authored and holtmann committed Jun 16, 2021

Commits on Jun 10, 2021

  1. Bluetooth: Fix Set Extended (Scan Response) Data

    These command do have variable length and the length can go up to 251,
    so this changes the struct to not use a fixed size and then when
    creating the PDU only the actual length of the data send to the
    controller.
    
    Fixes: a0fb372 ("Bluetooth: Use Set ext adv/scan rsp data if controller supports")
    Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Vudentz authored and holtmann committed Jun 10, 2021

Commits on Jun 4, 2021

  1. Bluetooth: use inclusive language when filtering devices

    This patch replaces some non-inclusive terms based on the appropriate
    language mapping table compiled by the Bluetooth SIG:
    https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf
    
    Specifically, these terms are replaced:
    blacklist -> reject list
    whitelist -> accept list
    
    Signed-off-by: Archie Pusaka <apusaka@chromium.org>
    Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    apusaka authored and holtmann committed Jun 4, 2021
  2. Bluetooth: use inclusive language when tracking connections

    This patch replaces some non-inclusive terms based on the appropriate
    language mapping table compiled by the Bluetooth SIG:
    https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf
    
    Specifically, these terms are replaced:
    master -> central
    slave  -> peripheral
    
    Signed-off-by: Archie Pusaka <apusaka@chromium.org>
    Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    apusaka authored and holtmann committed Jun 4, 2021
  3. Bluetooth: use inclusive language in HCI role comments

    This patch replaces some non-inclusive terms based on the appropriate
    language mapping table compiled by the Bluetooth SIG:
    https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf
    
    Specifically, these terms are replaced:
    master -> initiator (for smp) or central (everything else)
    slave  -> responder (for smp) or peripheral (everything else)
    
    The #define preprocessor terms are unchanged for now to not disturb
    dependent APIs.
    
    Signed-off-by: Archie Pusaka <apusaka@chromium.org>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    apusaka authored and holtmann committed Jun 4, 2021

Commits on Jun 3, 2021

  1. Bluetooth: smp: Use the correct print format

    According to Documentation/core-api/printk-formats.rst,
    Use the correct print format. Printing an unsigned int value should use %u
    instead of %d. Otherwise printk() might end up displaying negative numbers.
    
    Signed-off-by: Kai Ye <yekai13@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    yekai123123 authored and holtmann committed Jun 3, 2021
  2. Bluetooth: sco: Use the correct print format

    According to Documentation/core-api/printk-formats.rst,
    Use the correct print format. Printing an unsigned int value should use %u
    instead of %d. Otherwise printk() might end up displaying negative numbers.
    
    Signed-off-by: Kai Ye <yekai13@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    yekai123123 authored and holtmann committed Jun 3, 2021
  3. Bluetooth: msft: Use the correct print format

    According to Documentation/core-api/printk-formats.rst,
    Use the correct print format. Printing an unsigned int value should use %u
    instead of %d. Otherwise printk() might end up displaying negative numbers.
    
    Signed-off-by: Kai Ye <yekai13@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    yekai123123 authored and holtmann committed Jun 3, 2021
  4. Bluetooth: mgmt: Use the correct print format

    According to Documentation/core-api/printk-formats.rst,
    Use the correct print format. Printing an unsigned int value should use %u
    instead of %d. Otherwise printk() might end up displaying negative numbers.
    
    Signed-off-by: Kai Ye <yekai13@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    yekai123123 authored and holtmann committed Jun 3, 2021
  5. Bluetooth: amp: Use the correct print format

    According to Documentation/core-api/printk-formats.rst,
    Use the correct print format. Printing an unsigned int value should use %u
    instead of %d. Otherwise printk() might end up displaying negative numbers.
    
    Signed-off-by: Kai Ye <yekai13@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    yekai123123 authored and holtmann committed Jun 3, 2021
  6. Bluetooth: a2mp: Use the correct print format

    According to Documentation/core-api/printk-formats.rst,
    Use the correct print format. Printing an unsigned int value should use %u
    instead of %d. Otherwise printk() might end up displaying negative numbers.
    
    Signed-off-by: Kai Ye <yekai13@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    yekai123123 authored and holtmann committed Jun 3, 2021
  7. Bluetooth: 6lowpan: Use the correct print format

    According to Documentation/core-api/printk-formats.rst,
    Use the correct print format. Printing an unsigned int value should use %u
    instead of %d. Otherwise printk() might end up displaying negative numbers.
    
    Signed-off-by: Kai Ye <yekai13@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    yekai123123 authored and holtmann committed Jun 3, 2021
  8. Bluetooth: hidp: Use the correct print format

    According to Documentation/core-api/printk-formats.rst,
    Use the correct print format. Printing an unsigned int value should use %u
    instead of %d. Otherwise printk() might end up displaying negative numbers.
    
    Signed-off-by: Kai Ye <yekai13@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    yekai123123 authored and holtmann committed Jun 3, 2021
  9. Bluetooth: cmtp: Use the correct print format

    According to Documentation/core-api/printk-formats.rst,
    Use the correct print format. Printing an unsigned int value should use %u
    instead of %d. Otherwise printk() might end up displaying negative numbers.
    
    Signed-off-by: Kai Ye <yekai13@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    yekai123123 authored and holtmann committed Jun 3, 2021
  10. Bluetooth: bnep: Use the correct print format

    According to Documentation/core-api/printk-formats.rst,
    Use the correct print format. Printing an unsigned int value should use %u
    instead of %d. Otherwise printk() might end up displaying negative numbers.
    
    Signed-off-by: Kai Ye <yekai13@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    yekai123123 authored and holtmann committed Jun 3, 2021

Commits on Jun 2, 2021

  1. Bluetooth: Fix spelling mistakes

    Fix some spelling mistakes in comments:
    udpate  ==> update
    retreive  ==> retrieve
    accidentially  ==> accidentally
    correspondig  ==> corresponding
    adddress  ==> address
    estabilish  ==> establish
    commplete  ==> complete
    Unkown  ==> Unknown
    triggerd  ==> triggered
    transtion  ==> transition
    
    Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Zheng Yongjun authored and holtmann committed Jun 2, 2021
  2. Bluetooth: btusb: Add a new USB ID for RTL8822CE

    Some models of the RTL8822ce utilize a different USB ID. Add this
    new one to the Bluetooth driver.
    
    Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    lwfinger authored and holtmann committed Jun 2, 2021
  3. Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca bt…

    …soc.
    
    This is btsoc timing issue, after host start to downloading bt firmware,
    ep2 need time to switch from function acl to function dfu, so host add
    20ms delay as workaround.
    
    Signed-off-by: Tim Jiang <tjiang@codeaurora.org>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    tjiang123 authored and holtmann committed Jun 2, 2021
  4. Bluetooth: btusb: use default nvm if boardID is 0 for wcn6855.

    if boardID is 0, will use the default nvm file without surfix.
    
    Signed-off-by: Tim Jiang <tjiang@codeaurora.org>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    tjiang123 authored and holtmann committed Jun 2, 2021
  5. Bluetooth: btmtkuart: using pm_runtime_resume_and_get instead of pm_r…

    …untime_get_sync
    
    Using pm_runtime_resume_and_get is more appropriate
    for simplifing code
    
    Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Zhang Qilong authored and holtmann committed Jun 2, 2021
  6. Bluetooth: use inclusive language in comments

    This patch replaces some non-inclusive terms based on the appropriate
    language mapping table compiled by the Bluetooth SIG:
    https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf
    
    Specifically, these terms are replaced:
    slave       -> peripheral
    blacklisted -> blocked
    
    Signed-off-by: Archie Pusaka <apusaka@chromium.org>
    Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    apusaka authored and holtmann committed Jun 2, 2021
  7. Bluetooth: use inclusive language in SMP

    This patch replaces some non-inclusive terms based on the appropriate
    language mapping table compiled by the Bluetooth SIG:
    https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf
    
    Specifically, these terms are replaced:
    master -> initiator
    slave  -> responder
    
    Signed-off-by: Archie Pusaka <apusaka@chromium.org>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    apusaka authored and holtmann committed Jun 2, 2021
  8. Bluetooth: use inclusive language in HCI LE features

    This patch replaces some non-inclusive terms based on the appropriate
    language mapping table compiled by the Bluetooth SIG:
    https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf
    
    Specifically, these terms are replaced:
    master -> central
    slave  -> peripheral
    
    Signed-off-by: Archie Pusaka <apusaka@chromium.org>
    Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    apusaka authored and holtmann committed Jun 2, 2021
  9. Bluetooth: use inclusive language to describe CPB

    This patch replaces some non-inclusive terms based on the appropriate
    language mapping table compiled by the Bluetooth SIG:
    https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf
    
    Specifically, these terms are replaced when describing the
    connectionless peripheral broadcast feature:
    master -> central
    slave  -> peripheral
    
    Signed-off-by: Archie Pusaka <apusaka@chromium.org>
    Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    apusaka authored and holtmann committed Jun 2, 2021
  10. Bluetooth: use inclusive language in hci_core.h

    This patch replaces some non-inclusive terms based on the appropriate
    language mapping table compiled by the Bluetooth SIG:
    https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf
    
    Specifically, these terms are replaced:
    master -> central
    slave  -> peripheral
    
    These attributes are not used elsewhere in the code.
    
    Signed-off-by: Archie Pusaka <apusaka@chromium.org>
    Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    apusaka authored and holtmann committed Jun 2, 2021
  11. Bluetooth: mgmt: Fix slab-out-of-bounds in tlv_data_is_valid

    This fixes parsing of LTV entries when the length is 0.
    
    Found with:
    
    tools/mgmt-tester -s "Add Advertising - Success (ScRsp only)"
    
    Add Advertising - Success (ScRsp only) - run
      Sending Add Advertising (0x003e)
      Test condition added, total 1
    [   11.004577] ==================================================================
    [   11.005292] BUG: KASAN: slab-out-of-bounds in tlv_data_is_valid+0x87/0xe0
    [   11.005984] Read of size 1 at addr ffff888002c695b0 by task mgmt-tester/87
    [   11.006711]
    [   11.007176]
    [   11.007429] Allocated by task 87:
    [   11.008151]
    [   11.008438] The buggy address belongs to the object at ffff888002c69580
    [   11.008438]  which belongs to the cache kmalloc-64 of size 64
    [   11.010526] The buggy address is located 48 bytes inside of
    [   11.010526]  64-byte region [ffff888002c69580, ffff888002c695c0)
    [   11.012423] The buggy address belongs to the page:
    [   11.013291]
    [   11.013544] Memory state around the buggy address:
    [   11.014359]  ffff888002c69480: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
    [   11.015453]  ffff888002c69500: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
    [   11.016232] >ffff888002c69580: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc
    [   11.017010]                                      ^
    [   11.017547]  ffff888002c69600: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc
    [   11.018296]  ffff888002c69680: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
    [   11.019116] ==================================================================
    
    Fixes: 2bb3687 ("Bluetooth: Unify advertising instance flags check")
    Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Vudentz authored and holtmann committed Jun 2, 2021
  12. Bluetooth: btrtl: rename USB fw for RTL8761

    According Realteks own BT drivers firmware RTL8761B is for UART
    and RTL8761BU is for USB.
    
    Change existing 8761B to UART and add an 8761BU entry for USB
    
    Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    joakim-tjernlund authored and holtmann committed Jun 2, 2021
  13. Bluetooth: btusb: Add 0x0b05:0x190e Realtek 8761BU (ASUS BT500) device.

    T:  Bus=01 Lev=01 Prnt=01 Port=08 Cnt=04 Dev#= 18 Spd=12   MxCh= 0
    D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=0b05 ProdID=190e Rev= 2.00
    S:  Manufacturer=Realtek
    S:  Product=ASUS USB-BT500
    S:  SerialNumber=xxxxxxxx
    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: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    joakim-tjernlund authored and holtmann committed Jun 2, 2021
Older