[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220929114426.4413-1-hildawu@realtek.com>
Date: Thu, 29 Sep 2022 19:44:23 +0800
From: <hildawu@...ltek.com>
To: <marcel@...tmann.org>
CC: <johan.hedberg@...il.com>, <luiz.dentz@...il.com>,
<linux-bluetooth@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<apusaka@...omium.org>, <yinghsu@...omium.org>,
<max.chou@...ltek.com>, <alex_lu@...lsil.com.cn>,
<kidman@...ltek.com>
Subject: [PATCH v3 0/3] Bluetooth: Add btrealtek data struct and improve SCO sound quality of RTK chips
From: Hilda Wu <hildawu@...ltek.com>
Add btrealtek data struct and use definition of vendor flags to manage the
specific chip.
The Bluetooth: btusb: Workaround for spotty SCO quality patch is for
filter out duplicate packet for avoiding spotty SCO quality.
- The comparison of btrtl_usb_recv_isoc here is for invalid handle,
the invalid handle shouldn't appear.
So we try to find out the rule and filter out this.
The Bluetooth: btsub: Ignore zero length of USB packets on ALT 6 patch is
for some Realtek chips need to transmit mSBC data continuously without the
zero length of USB packets.
---
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 (3):
Bluetooth: btrtl: Add btrealtek data struct
Bluetooth: btusb: Workaround for spotty SCO quality
Bluetooth:btsub:Ignore zero length of USB packets on ALT 6 for
specific chip
drivers/bluetooth/btrtl.c | 34 ++++++++++++
drivers/bluetooth/btrtl.h | 29 +++++++++++
drivers/bluetooth/btusb.c | 105 ++++++++++++++++++++++++++++++++++++--
3 files changed, 165 insertions(+), 3 deletions(-)
--
2.17.1
Powered by blists - more mailing lists