summaryrefslogtreecommitdiffstats
path: root/hci
Commit message (Collapse)AuthorAgeFilesLines
* Set thread names for debuggingRavi Nagarajan2012-08-222-0/+4
| | | | | | Set thread names for easier debugging Change-Id: I1beeaae24a7782ab97be22db57060c773721bc46
* Add support for per device bluetooth configuration.Wink Saville2012-08-161-1/+0
| | | | | | | | Rather than using a text file and generating each buildcfg.h file per device bdroid_buildcfg.h which supplies device specific values and then bt_target.h will supply common values. Change-Id: I12cb5408729c3e076562a292204f07a0c4b52628
* Add HCI Multi-Channel Transport support (1/2)YK Jeffrey Chao2012-08-1410-136/+1991
| | | | | | Revise BT Vendor Lib interface and add support of HCI multi-channel transport. Change-Id: I5a7a7b64798bb30be60ed29bd564bc499bd5b5bc
* Revise BT vendor lib interface (1/2)YK Jeffrey Chao2012-08-096-103/+202
| | | | | | | | | 1. Move UART port configuration into vendor lib to respect the fact that each vendor might have different UART port settings for its own chipsets. 2. Detail bt_vendor_lib.h header file with usage instructions. Change-Id: I10dc44afd9b3cc1985769166a717089728281296
* HCI/Vendor lib: revise the way of making baud rate change (1/2)YK Jeffrey Chao2012-07-264-69/+14
| | | | | | | | | | | | | | | | The original baud rate change was done through closing the existing UART port then reopening UART port at new baud rate. It was reported that this approach would cause trouble on some platforms which spits out false start-bit signal on UART bus during port close and open process. Revise the way of doing baud rate change to use terminal I/O (termios) control functions. Change-Id: I18ab5a234576147dd9185eafd1e57d3b4e3fa2bd Conflicts: hci/src/userial.c
* Get the vendor interface as a structure pointer instead of functionMatthew Xie2012-07-201-12/+4
| | | | | | | We donnot need the extra function to return the interface. bug 6853945 Change-Id: I693aa9f068a64ee5a5e9bc5ff3cc82ecf59d5de1
* Use dlopen to avoid compile time linking against libbt-vendor.soColin Cross2012-07-172-3/+20
| | | | | | | libbt-vendor.so is in vendor/, and shouldn't be compile-time linked against from external/. Use dlopen instead. Change-Id: Iefc2d5232506ce8e60a6e5dd93328332549daa1e
* replace logx with alogxMatthew Xie2012-07-147-51/+49
| | | | | | | | | | | | | | | | | Conflicts: btif/src/btif_core.c btif/src/btif_dm.c btif/src/btif_hh.c btif/src/btif_sock.c gki/ulinux/gki_ulinux.c hci/include/bt_hci_bdroid.h hci/src/bt_hci_bdroid.c hci/src/btsnoop.c hci/src/hci_h4.c hci/src/userial.c vendor/libvendor/src/hardware.c vendor/libvendor/src/upio.c
* Split and restructure the original BT vendor lib (I - ↵YK Jeffrey Chao2012-07-1413-0/+4960
external/bluetooth/bluedroid). 1. Split the original external/bluetooth/bluedroid/vendor directory to two parts: external/bluetooth/bluedroid/hci and vendor/broadcom/libbt-vendor. Each part produces a .so library (libbt-hci.so and libbt-vendor.so). 2. libbt-hci.so contains: + HCI H4 send & receive functions + Userial read & write functions + LPM common logic operations + btsnoop functions. 3. No build-time (.txt) and run-time (.conf) configuration for libbt-hci.so. 4. libbt-vendor.so contains: + firmware patch download function + SCO configuration + LPM VSC and BT_WAKE control + UART port open + upio control for BT chip power on/off. 5. libbt-vendor.so has build-time and run-time configuration support. Change-Id: I61d55c75c66d25459d80893a5f72bccce2b54770