public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Bluetooth: btusb: MediaTek ISO data transmission
@ 2024-06-06 11:43 Chris Lu
  2024-06-06 11:43 ` [PATCH v4 1/4] Bluetooth: net: add hci_iso_hdr function for iso data Chris Lu
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Chris Lu @ 2024-06-06 11:43 UTC (permalink / raw)
  To: Marcel Holtmann, Johan Hedberg, Luiz Von Dentz
  Cc: Sean Wang, Deren Wu, Aaron Hou, Steve Lee, linux-bluetooth,
	linux-kernel, linux-mediatek, Chris Lu

Since SIG has not yet clearly defined the specification for ISO data
transmission over USB, MediaTek has adopted a method of adding an
additional interrupt endpoint for ISO data transmission. This approach
differs from the current method used in the Bluetooth upstream driver,
which utilizes existing bulk endpoints. The interrupt endpoint provides
guaranteed bandwidth, sufficient maximum data length for ISO packets
and error checking.

Certain new functions related to USB transportation, such as urb
allocation and submission, are implemented in btusb.c to leverage
existing functions and data structures defined therein. Meanwhile,
vendor-specific functions unrelated to transportation have been moved
to btmtk.c to streamline btusb.c.

---
Change in v4:
-Fix warning report from bluez.test.bot in btmtk.c.

Change in v3:
-Refactor ISO data transmission flow, keeping the parts related to USB
transmission in btusb.c and moving the rest to btmtk.c

Change in v2:
-Fix warning report from bluez.test.bot in btusb.c, align with other
packet type to parsing dlen when getting iso data.
---

Chris Lu (4):
  Bluetooth: net: add hci_iso_hdr function for iso data
  Bluetooth: btusb: add callback function in btusb suspend/resume
  Bluetooth: btmtk: add macro to get/set/clear MediaTek defined flags
  Bluetooth: btusb: mediatek: add ISO data transmission functions

 drivers/bluetooth/btmtk.c   |  94 ++++++++++++
 drivers/bluetooth/btmtk.h   |  61 ++++++++
 drivers/bluetooth/btusb.c   | 276 ++++++++++++++++++++++++++++++++++++
 include/net/bluetooth/hci.h |   5 +
 4 files changed, 436 insertions(+)

-- 
2.18.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-06-08  6:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06 11:43 [PATCH v4 0/4] Bluetooth: btusb: MediaTek ISO data transmission Chris Lu
2024-06-06 11:43 ` [PATCH v4 1/4] Bluetooth: net: add hci_iso_hdr function for iso data Chris Lu
2024-06-06 12:42   ` Bluetooth: btusb: MediaTek ISO data transmission bluez.test.bot
2024-06-06 20:10   ` [PATCH v4 1/4] Bluetooth: net: add hci_iso_hdr function for iso data Luiz Augusto von Dentz
2024-06-06 11:43 ` [PATCH v4 2/4] Bluetooth: btusb: add callback function in btusb suspend/resume Chris Lu
2024-06-06 20:53   ` Luiz Augusto von Dentz
2024-06-06 11:43 ` [PATCH v4 3/4] Bluetooth: btmtk: add macro to get/set/clear MediaTek defined flags Chris Lu
2024-06-06 11:43 ` [PATCH v4 4/4] Bluetooth: btusb: mediatek: add ISO data transmission functions Chris Lu
2024-06-06 21:06   ` Luiz Augusto von Dentz
2024-06-06 23:52   ` kernel test robot
2024-06-08  6:40   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox