Commit Graph

12 Commits

Author SHA1 Message Date
augustss 834327c847 Don't keep the devinfo string on the stack, instead use malloc/free.
This should cure some rare stack overflows.
2005-05-11 10:02:28 +00:00
itojun 300aa0dcd5 use bounded string ops (snprintf, strl*) 2004-04-23 17:25:25 +00:00
dsainty 232d108953 Kill the flow control interface. Bluetooth devices are not equipped to deal
with flow control being applied.  It is simpler and no more problematic to
accept the data and drop it if we hit a resource limit than to expect the
Bluetooth device to do anything about it (which it won't).
2004-01-04 05:47:43 +00:00
dsainty d3a5c746ab Correct a conditional masking error conditions 2004-01-02 02:36:25 +00:00
dsainty 275cfd33b4 Correctly initialise ALL of the attach argument block. Fixes panic on
device open (previously avoided by compiler-dependent luck :)
2004-01-01 16:10:13 +00:00
augustss 5ad4518358 Lower debug level so the match routine isn't so verbose. 2003-01-20 21:14:57 +00:00
dsainty e648b82855 Changed the interface for passing output data between the bthci driver
and the back end Bluetooth device driver.  The device driver now
allocates a suitable buffer on behalf of the bthci driver, and bthci
fills the buffer before despatch.

This saves an ugly temporary allocation (in bthci) and memory copy (in
the USB driver) per write, and also works better with the
sockets-based interface I'm experimenting with.
2003-01-11 06:12:09 +00:00
dsainty 97f7cada0b Make the ubt driver functional. This is an experimental, incomplete, but
actually functional driver.  It provides a local HCI interface to the
HCI-over-USB interface on standards-compliant Bluetooth USB devices.

Currently this device can be attached to the bthci driver for direct user-land
access to the device.
2003-01-05 05:20:20 +00:00
dsainty 6957647e8b Move #define UBT_DEBUG from ubt.c to usb_port.h 2003-01-05 03:48:18 +00:00
augustss ffc3083503 Attach Bluetooth host controller driver (which has not been written) to
ubt device.
2002-08-24 17:31:19 +00:00
augustss 974cba9514 Print a message saying that this is not real driver. 2002-08-22 10:17:46 +00:00
augustss 4b34ae978d A placeholder until we have a real Bluetooth driver. 2002-08-22 10:15:57 +00:00