summaryrefslogtreecommitdiff
path: root/tools/hciattach.h
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@intel.com>2014-04-04 18:26:08 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-04-04 20:10:08 +0300
commit8366eae6d730304bc0a3d2ab822905c2d20e473c (patch)
tree108e32bd14b0864e7ad6b2706fcce0e2ffe90a85 /tools/hciattach.h
parentf30869c35c76377de8e4ab858a2b771c187865f5 (diff)
downloadbluez-8366eae6d730304bc0a3d2ab822905c2d20e473c.tar.gz
tools: add bcm43xx specific init in hciattach
Add a bcm43xx specific init sequence in hciattach in order to initialize bcm43xx controllers.
Diffstat (limited to 'tools/hciattach.h')
-rw-r--r--tools/hciattach.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/hciattach.h b/tools/hciattach.h
index 1b23ad75e..4810a092e 100644
--- a/tools/hciattach.h
+++ b/tools/hciattach.h
@@ -46,6 +46,7 @@
int read_hci_event(int fd, unsigned char *buf, int size);
int set_speed(int fd, struct termios *ti, int speed);
+int uart_speed(int speed);
int texas_init(int fd, int *speed, struct termios *ti);
int texas_post(int fd, struct termios *ti);
@@ -57,3 +58,4 @@ int ath3k_init(int fd, int speed, int init_speed, char *bdaddr,
int ath3k_post(int fd, int pm);
int qualcomm_init(int fd, int speed, struct termios *ti, const char *bdaddr);
int intel_init(int fd, int init_speed, int *speed, struct termios *ti);
+int bcm43xx_init(int fd, int speed, struct termios *ti, const char *bdaddr);