Hi! See comments inline.
> -----Original Message-----i! > From: Greg KH [mailto:[EMAIL PROTECTED]] > Sent: den 28 januari 2002 22:32 > To: Johan Brodin > Cc: '[EMAIL PROTECTED]' > Subject: Re: [linux-usb-devel] Error in bluetooth device driver! > > > On Mon, Jan 28, 2002 at 09:39:33AM +0100, Johan Brodin wrote: > > Hi!<?xml:namespace prefix = o ns = > "urn:schemas-microsoft-com:office:office" > > /> > > > > There should be two changes in bluetooth.c! > > > > 1. According to the Bluetooth specification each HCI packet must be > > contained in one bulk_out_urb! > > > > Solution: Set bluetooth->bulk_out_buffer_size in > usb_bluetooth_probe to > > 1000! (line 1155) > > In looking at the Bluetooth spec (version 1.1) I don't see this > requirement. Can you point me to where this is stated? Look at the middle section in page 786 of HCI USB transport layer. > > > 2. The bulk_in_urb buffer must be larger then one HCI packet! > > > > Solution: Set bluetooth->bulk_in_buffer_size in > usb_bluetooth_probe to 1000! > > (line 1127) > > > > The maximum size of the HCI packet is determined during > initialisation and > > is soft and hardware dependent. There should however not be > any HCI packet > > bigger the 1000 byte! > > Again, why is this necessary? I don't see anything in the spec that > states this. This is not stated in the specification! But when the bulk_in_buffer_size not is increased I occasionally loose the first bytes of my inpacket to the Bluetooth device driver. This error is not entirely removed when raising the bulk_buffer_in_size but is now seems to occur only at maximum speed (570 kbit/s). The error of loosing bytes under heavy load has previous been reported to this list! > > Are you using the Axis OpenBT stack, or some other stack? If another > stack, can you point me to where I can get it from? I have used a commercial stack when testing the device driver. > > thanks, > > greg k-h > > > _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
