Commit Graph

12 Commits

Author SHA1 Message Date
Loic Poulain
8366eae6d7 tools: add bcm43xx specific init in hciattach
Add a bcm43xx specific init sequence in hciattach
in order to initialize bcm43xx controllers.
2014-04-04 20:10:08 +03:00
Anderson Lizardo
78889501f8 Fix trivial coding style issues on pointer declarations and casting
Avoid using C++ style pointer declarations like "char* ptr", as most
BlueZ code uses "char *ptr".
2012-08-26 09:37:06 +01:00
Tedd Ho-Jeong An
8d25f9528b hciattach: Add support for Intel Bluetooth device
This patch enables the Intel Bluetooth device (UART sku) over the H4
protocol.  It is responsible for bring up the device into known state by
configuring the baudrate and applying the patches, if required.
2012-05-16 10:36:20 +03:00
Marcel Holtmann
061a23ca74 hciattach: Add new HCI UART flags 2012-02-26 18:40:25 -08:00
Yegor Yefremov
2f440ad7b5 hciattach: fix serial speed setting for wl1271
override speed setting if firmware script issues serial settings command,
otherwise the value given in the firmware script will be overridden.

Example:

hciattach /dev/ttyO1 texas 115200

will fail, because /dev/ttyO1 will be opened with 115200 b/s, then
the firmware script will set the buadrate to 3000000 b/s, after UART init
hciattach.c will set the baudrate to 115200, so communication is broken.

The only correct way is to set both speeds:

hciattach -s 115200 /dev/ttyO1 texas 3000000

With this patch only initial speed must be specified. The former semantic
will be preserved in case the firmware script doesn't provide serial
settings action.

Tested with wl1271 and firmware TIInit_7.2.31.bts
2011-09-22 20:19:11 +09:00
Suraj Sumangala
4e0e44626d hciattach: download configuration at user requested baud rate
This patch support downloading configuration for Atheros AR300x HCI UART
chip at user requested baud rate instead of the initial baud rate.
2010-11-23 12:09:20 +01:00
Matthew Wilson
c6be8dcf9e Firmware download for Qualcomm Bluetooth devices
Configures device address from hciattach parameter.
UART speed limited to 115200.
Requires separate device specific firmware.
2010-08-23 23:39:01 +03:00
Suraj Sumangala
848b12d537 Add host level support for Atheros AR300x device
This patch implements support for the Atheros AR300x Bluetooth chip in
hciattach. It supports configuration download and power management
configure feature.
2010-08-18 13:23:20 +03:00
Johan Hedberg
6e6252937e Add hciattach support for initializing a device into raw mode
This patch adds a -r switch to hciattach that can be used to initialize
a device into raw mode. This is accomplished with the help of the new
HCIUARTSETFLAGS ioctl.
2010-07-12 11:52:27 -03:00
Marcel Holtmann
9184e2eeb7 Update copyright information 2010-01-01 17:08:17 -08:00
Marcel Holtmann
fb333f1c88 Update copyright information 2009-01-01 19:33:20 +01:00
Marcel Holtmann
290427f21e Fix broken forward declarations 2008-12-23 05:39:54 +01:00