[PATCH v4 0/2] Bluetooth: Add btrealtek data struct and improve SCO sound quality of RTK chips

From: hildawu
Date: Wed Oct 05 2022 - 04:44:00 EST


From: Hilda Wu <hildawu@xxxxxxxxxxx>

Add btrealtek data struct and use definition of vendor flags to manage
the specific chip.

The Bluetooth: btusb: Ignore zero length of USB packets on ALT 6 for
specific chip need to transmit mSBC data continuously without the
zero length of USB packets.

---
Changes in v4:
- Since the original 0002 patch has no dependency with this 0001 patch.
So let the 0002 patch submit independent.

Changes in v3:
- Use the vendor function to replace btus_recv_isoc.
- For ignore_usb_alt6_packet_flow, manage the common flag by the vendor private flag.

Changes in v2:
- Set the proper priv_size to hci_alloc_dev_priv().
- Separate commits for functions.
---
Thank you for your review and suggestions.

Hilda Wu (2):
Bluetooth: btrtl: Add btrealtek data struct
Bluetooth: btsub: Ignore zero length of USB packets on ALT 6 for
specific chip

drivers/bluetooth/btrtl.c | 7 +++++++
drivers/bluetooth/btrtl.h | 21 +++++++++++++++++++++
drivers/bluetooth/btusb.c | 28 ++++++++++++++++++++++++++--
3 files changed, 54 insertions(+), 2 deletions(-)

--
2.17.1