Re: [PATCH] Bluetooth: btqca: Add valid le states quirk

From: Marcel Holtmann
Date: Thu Oct 01 2020 - 03:03:58 EST


Hi Abhishek,

> WCN3991 supports connectable advertisements so we need to add the valid
> le states quirk so the 'central-peripheral' role is exposed in
> userspace.
>
> Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@xxxxxxxxxxxx>
> ---
> Example result showing the central-peripheral role correctly.
>
> localhost # bluetoothctl show
> Controller 3C:28:6D:4F:A0:1F (public)
> Name: BlueZ 5.54
> Alias: Chromebook_63FC
> Class: 0x00480000
> Powered: yes
> Discoverable: no
> DiscoverableTimeout: 0x000000b4
> Pairable: yes
> UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
> UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
> UUID: Handsfree Audio Gateway (0000111f-0000-1000-8000-00805f9b34fb)
> UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
> UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
> UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
> UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
> UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb)
> Modalias: bluetooth:v00E0pC405d0057
> Discovering: no
> Roles: central
> Roles: peripheral
> Roles: central-peripheral
>
> drivers/bluetooth/hci_qca.c | 19 +++++++++++++------
> 1 file changed, 13 insertions(+), 6 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel