public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] question: what does this patch from snd-bt-sco do?
@ 2004-05-18 10:34 Lars Grunewaldt
  2004-05-18 10:44 ` Marcel Holtmann
  2004-05-18 10:53 ` Jonathan Paisley
  0 siblings, 2 replies; 18+ messages in thread
From: Lars Grunewaldt @ 2004-05-18 10:34 UTC (permalink / raw)
  To: bluez-devel; +Cc: linux-usb-users

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

there's a kernel patch in snd-bt-sco, and it would  be great if someone
could explain what it does:

*****
- --- linux-2.6.4-orig/drivers/bluetooth/hci_usb.c	2004-03-11
02:55:44.000000000 +0000
+++ linux-2.6.4/drivers/bluetooth/hci_usb.c	2004-03-13
23:52:27.000000000 +0000
@@ -851,7 +851,12 @@

~ #ifdef CONFIG_BT_HCIUSB_SCO
~ 				case USB_ENDPOINT_XFER_ISOC:
- -					if (ep->desc.wMaxPacketSize < size || a > 2)
+					/* Use only the 9 byte
+					  "One voice channel with 8 bit encoding"
+					  endpoint until there is support for changing
+					  the endpoint dynamically. See
+					   Bluetooth 1.1 Part H:2, section 2.1 */
+					if (ep->desc.wMaxPacketSize != 9)
~ 						break;
~ 					size = ep->desc.wMaxPacketSize;
****

Also, it would be interesting to know if this patch for kernel 2.6.4 is
still nessesary for newer kernels (2.6.6 to be specific), because I want
to "port" snd-bt-sco to alsa 1.0.4 and kernel 2.6.6.

thanks in advance,
~  Lars
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAqebKQWC6DTWkDAoRAsATAJ43Iinhsajz11AA15HWB8jgnXhVXQCfUMkU
nAKI5G5kkz+1dLD9A/+SgPo=
=7SjZ
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2004-06-17 20:28 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-18 10:34 [Bluez-devel] question: what does this patch from snd-bt-sco do? Lars Grunewaldt
2004-05-18 10:44 ` Marcel Holtmann
2004-05-18 10:53 ` Jonathan Paisley
2004-05-18 11:06   ` Lars Grunewaldt
2004-05-18 11:35     ` Lars Grunewaldt
2004-05-18 11:59       ` Marcel Holtmann
2004-05-18 11:57     ` Marcel Holtmann
2004-05-18 13:37       ` Lars Grunewaldt
2004-05-18 14:00         ` Marcel Holtmann
2004-06-16 22:49           ` Lars Grunewaldt
2004-06-16 23:06             ` Marcel Holtmann
2004-06-17  0:04               ` Lars Grunewaldt
2004-06-17  0:24                 ` Marcel Holtmann
2004-06-17 11:24                   ` Jonathan Paisley
2004-06-17 13:35                     ` Lars Grunewaldt
2004-06-17 15:58                       ` Marcel Holtmann
2004-06-17 20:08                         ` Lars Grunewaldt
2004-06-17 20:28                           ` Marcel Holtmann

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