[PATCH v3 2/2] Bluetooth: Support the vendor specific debug events

2021-04-13 Thread Joseph Hwang
, i.e., hdev->set_vs_dbg_evt, a valid controller index is required. For generic Linux machines, the vendor specific debug events are disabled by default. Reviewed-by: Chethan T N Reviewed-by: Kiran Krishnappa Reviewed-by: Miao-chen Chou Signed-off-by: Joseph Hwang --- (no changes since

[PATCH v3 1/2] Bluetooth: btusb: support link statistics telemetry events

2021-04-13 Thread Joseph Hwang
From: Chethan T N This patch supports the link statistics telemetry events for Intel controllers To avoid the overhead, this debug feature is disabled by default. Reviewed-by: Miao-chen Chou Signed-off-by: Chethan T N Signed-off-by: Kiran K Signed-off-by: Joseph Hwang --- Changes in v3

[PATCH v2 1/2] Bluetooth: btusb: support link statistics telemetry events

2021-04-13 Thread Joseph Hwang
From: Chethan T N This patch supports the link statistics telemetry events for Intel controllers To avoid the overhead, this debug feature is disabled by default. Reviewed-by: Miao-chen Chou Signed-off-by: Chethan T N Signed-off-by: Kiran K Signed-off-by: Joseph Hwang --- Changes in v2

[PATCH v2 2/2] Bluetooth: Support the vendor specific debug events

2021-04-13 Thread Joseph Hwang
, i.e., hdev->set_vs_dbg_evt, a valid controller index is required. For generic Linux machines, the vendor specific debug events are disabled by default. Reviewed-by: Chethan Tumkur Narayan Reviewed-by: Kiran Krishnappa Reviewed-by: Miao-chen Chou Signed-off-by: Joseph Hwang --- (no chan

[PATCH v1 2/2] Bluetooth: Support the vendor specific debug events

2021-04-12 Thread Joseph Hwang
, i.e., hdev->set_vs_dbg_evt, a valid controller index is required. For generic Linux machines, the vendor specific debug events are disabled by default. Reviewed-by: Chethan Tumkur Narayan Reviewed-by: Kiran Krishnappa Reviewed-by: Miao-chen Chou Signed-off-by: Joseph Hwang --- driv

[PATCH v1 1/2] Bluetooth: btusb: support link statistics telemetry events

2021-04-12 Thread Joseph Hwang
From: Chethan T N This patch supports the link statistics telemetry events for Intel controllers To avoid the overhead, this debug feature is disabled by default. Reviewed-by: Miao-chen Chou Signed-off-by: Chethan T N Signed-off-by: Kiran K Signed-off-by: Joseph Hwang --- drivers

Re: [PATCH v3 1/2] Bluetooth: btusb: define HCI packet sizes of USB Alts

2020-09-14 Thread Joseph Hwang
On Thu, Sep 10, 2020 at 4:18 PM Pali Rohár wrote: > > On Thursday 10 September 2020 14:04:01 Joseph Hwang wrote: > > It is desirable to define the HCI packet payload sizes of > > USB alternate settings so that they can be exposed to user > > space. > > > > Revi

[PATCH v3 2/2] Bluetooth: sco: new getsockopt options BT_SNDMTU/BT_RCVMTU

2020-09-10 Thread Joseph Hwang
Signed-off-by: Joseph Hwang --- Changes in v3: - Fixed the commit message. Changes in v2: - Used BT_SNDMTU/BT_RCVMTU instead of creating a new opt name. - Used the existing conn->mtu instead of creating a new member in struct sco_pinfo. - Noted that the old SCO_OPTI

[PATCH v3 0/2] To support the HFP WBS, a chip vendor may choose a particular

2020-09-10 Thread Joseph Hwang
SCO_OPTIONS in sco_sock_getsockopt_old() would just work as it uses sco_pi(sk)->conn->mtu. Joseph Hwang (2): Bluetooth: btusb: define HCI packet sizes of USB Alts Bluetooth: sco: new getsockopt options BT_SNDMTU/BT_RCVMTU drivers/bluetooth/btusb.c | 45 +---

[PATCH v3 1/2] Bluetooth: btusb: define HCI packet sizes of USB Alts

2020-09-10 Thread Joseph Hwang
It is desirable to define the HCI packet payload sizes of USB alternate settings so that they can be exposed to user space. Reviewed-by: Alain Michaud Reviewed-by: Abhishek Pandit-Subedi Signed-off-by: Joseph Hwang --- Changes in v3: - Set hdev->sco_mtu to rp->sco_mtu if the latter is s

[PATCH v2 0/2] To support the HFP WBS, a chip vendor may choose a particular

2020-09-09 Thread Joseph Hwang
->conn->mtu. Joseph Hwang (2): Bluetooth: btusb: define HCI packet sizes of USB Alts Bluetooth: sco: expose WBS packet length in socket option drivers/bluetooth/btusb.c | 43 +-- net/bluetooth/hci_event.c | 7 ++- net/bluetooth/sco.c | 6 +++

[PATCH v2 1/2] Bluetooth: btusb: define HCI packet sizes of USB Alts

2020-09-09 Thread Joseph Hwang
It is desirable to define the HCI packet payload sizes of USB alternate settings so that they can be exposed to user space. Reviewed-by: Alain Michaud Reviewed-by: Abhishek Pandit-Subedi Signed-off-by: Joseph Hwang --- Changes in v2: - 1/2: Used sco_mtu instead of a new sco_pkt_len member

[PATCH v2 2/2] Bluetooth: sco: expose WBS packet length in socket option

2020-09-09 Thread Joseph Hwang
It is desirable to expose the wideband speech packet length via a socket option to the user space so that the user space can set the value correctly in configuring the sco connection. Reviewed-by: Alain Michaud Reviewed-by: Abhishek Pandit-Subedi Signed-off-by: Joseph Hwang --- (no changes

[PATCH v1 1/2] Bluetooth: btusb: define HCI packet sizes of USB Alts

2020-08-13 Thread Joseph Hwang
It is desirable to define the HCI packet payload sizes of USB alternate settings so that they can be exposed to user space. Reviewed-by: Alain Michaud Reviewed-by: Abhishek Pandit-Subedi Signed-off-by: Joseph Hwang --- drivers/bluetooth/btusb.c| 43

[PATCH v1 2/2] Bluetooth: sco: expose WBS packet length in socket option

2020-08-13 Thread Joseph Hwang
It is desirable to expose the wideband speech packet length via a socket option to the user space so that the user space can set the value correctly in configuring the sco connection. Reviewed-by: Alain Michaud Reviewed-by: Abhishek Pandit-Subedi Signed-off-by: Joseph Hwang --- include/net

[PATCH v1 0/2] To support the HFP WBS, a chip vendor may choose a particular

2020-08-13 Thread Joseph Hwang
controller with USB alt setting 6 Our user space audio server, cras, can get the correct packet length from the socket option. Joseph Hwang (2): Bluetooth: btusb: define HCI packet sizes of USB Alts Bluetooth: sco: expose WBS packet length in socket option drivers/bluetooth/btusb.c | 43

[PATCH v2] Bluetooth: btusb: add Realtek 8822CE to usb_device_id table

2020-07-13 Thread Joseph Hwang
This patch adds the Realtek 8822CE controller to the usb_device_id table to support the wideband speech capability. Reviewed-by: ala...@chromium.org Signed-off-by: Joseph Hwang --- Changes in v2: - Fixed the commit subject and message body. drivers/bluetooth/btusb.c | 4 1 file changed

[PATCH] Bluetooth: btusb: add Realtek 8822CE to blacklist_table

2020-07-02 Thread Joseph Hwang
This patch adds the Realtek 8822CE controller to the blacklist_table to support the wideband speech capability. Signed-off-by: Joseph Hwang --- drivers/bluetooth/btusb.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index