History log of /system/bt/hci/src/hci_inject.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6efc8233c745717562aa6d21bb395494d5d10a01 04-Jun-2015 Mudumba Ananth <ananthm@broadcom.com> Fix insufficient buffer size allocation in hci_inject

A bug in the hci_inject when requesting a buffer to carry the
injected HCI packet. The allocated size should include the BT_HDR
header size.

Change-Id: Ic1fd41264249103140ce50dff843a99a6bd7dbd8
/system/bt/hci/src/hci_inject.c
3e59b5b6f2ce1295e3e2711afcd2cdf0dd7e22b6 01-Apr-2015 Etan Cohen <etancohen@google.com> Fix build issues in bluedroid on master

Change-Id: I0d3e93ea61dd03505fe9db902ed90bdd4141cab2
/system/bt/hci/src/hci_inject.c
0f9b91e150e153229235c163861198e23600e636 12-Mar-2015 Sharvil Nanavati <sharvil@google.com> Use fully qualified path for OSI includes.
/system/bt/hci/src/hci_inject.c
44802768c447ab480d4227b3a852a97d923b816d 24-Dec-2014 Sharvil Nanavati <sharvil@google.com> Add platform-independent logging macros to OSI.

These macros should replace ALOG* and the various trace macros
used throughout bluedroid. This change eliminates all uses of the
ALOG* macros in favor of the new ones.
/system/bt/hci/src/hci_inject.c
bf8193bc81cc077e3acd245cacbe8e3789c4b9ff 08-Sep-2014 Zach Johnson <zachoverflow@google.com> HCI layer cleanup

- x_interface_t started to get annoyingly verbose, changed to x_t
- buffer_allocator is standalone now, no longer part of bte_main
- new controller_t to handle controller start up and hold controller state
- new hci_packet_factory to make packets, and hci_packet_parser
to read information out of packets.
/system/bt/hci/src/hci_inject.c
1e0ede7f5522a853fc39d4f183e508ed38f01636 28-Aug-2014 Zach Johnson <zachoverflow@google.com> Move HCI over to the osi allocators, and fix the tests accordingly
/system/bt/hci/src/hci_inject.c
fbbd42b1fc1aae7a106f46275ab1fd86452cce78 16-Aug-2014 Zach Johnson <zachoverflow@google.com> Refactor HCI layer

Refactor the HCI layer for better testability.
A future CL will add a HAL implementation for multi channel transport.

Since btsnoop and vendor are modified, it's not easy to incrementally introduce these changes.
/system/bt/hci/src/hci_inject.c
fbf89085bf308a98b00da77d1538539f6dd58604 13-Aug-2014 Sharvil Nanavati <sharvil@google.com> Switch to an epoll-based reactor implementation.

epoll is a much nicer interface that very closely matches the
reactor interface. It's also thread-safe which makes it a more
suitable choice for bluedroid. As a result of this change,
reactor_register and reactor_unregister are both thread-safe without
introducing any synchronization in user-space.
/system/bt/hci/src/hci_inject.c
ed7095be083ffe47f8b9d0d3090b0f2e109b8125 05-Aug-2014 Zach Johnson <zachoverflow@google.com> Fix socket to use safe reactor registration
/system/bt/hci/src/hci_inject.c
09f31c121df79afe045163e0142dec5c09caa072 26-Jul-2014 Sharvil Nanavati <sharvil@google.com> Add a mechanism for debug tools to inject HCI commands into the HCI stream.
/system/bt/hci/src/hci_inject.c