summaryrefslogtreecommitdiffstats
path: root/libbt/include
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-08-06 22:34:12 -0700
committerEthan Chen <intervigil@gmail.com>2013-08-07 11:43:21 -0700
commita37aa43aa596796f9d535f41092c14742761eb0d (patch)
treede8fa3b3be79f76ff9f7d5a905c2a65869b86670 /libbt/include
parent94e39fa0c9a78d302e03461df5c31dee6dccf251 (diff)
downloaddevice_common-a37aa43aa596796f9d535f41092c14742761eb0d.zip
device_common-a37aa43aa596796f9d535f41092c14742761eb0d.tar.gz
device_common-a37aa43aa596796f9d535f41092c14742761eb0d.tar.bz2
libbt: Add support for using two stop bits
* This improves reliability on chips such as BCM4335. * Also externalize some configuration. Change-Id: I1271f0c1c3e602c8bfe9f816f57c9cb6add04b3a
Diffstat (limited to 'libbt/include')
-rw-r--r--libbt/include/bt_vendor_brcm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbt/include/bt_vendor_brcm.h b/libbt/include/bt_vendor_brcm.h
index 58feda0..9531df5 100644
--- a/libbt/include/bt_vendor_brcm.h
+++ b/libbt/include/bt_vendor_brcm.h
@@ -76,6 +76,11 @@
#define FW_PRE_PATCH ""
#endif
+/* Force use of two stop bits */
+#ifndef UART_FORCE_TWO_STOPBITS
+#define UART_FORCE_TWO_STOPBITS FALSE
+#endif
+
/* The millisecond delay pauses on HCI transport after firmware patches
* were downloaded. This gives some time for firmware to restart with
* patches before host attempts to send down any HCI commands.