[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 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 v3 2/2] Bluetooth: sco: new getsockopt options BT_SNDMTU/BT_RCVMTU

2020-09-09 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_OPTIONS

[PATCH v3 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 v3: - Set hdev->sco_mtu to rp->sco_mtu if the latter is s

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

2020-09-09 Thread Joseph Hwang
O_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 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 in

[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