OSDN Git Service

HCI layer cleanup
authorZach Johnson <zachoverflow@google.com>
Mon, 8 Sep 2014 16:56:35 +0000 (09:56 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Mon, 16 Mar 2015 23:51:33 +0000 (16:51 -0700)
commitbf8193bc81cc077e3acd245cacbe8e3789c4b9ff
tree34fa895524a91b512fe956f692d0fc8030d5d6b8
parent0479703f0e8b215d77d67851d4116ce09a21b09c
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.
31 files changed:
hci/Android.mk
hci/include/btsnoop.h
hci/include/buffer_allocator.h [new file with mode: 0644]
hci/include/controller.h [new file with mode: 0644]
hci/include/hci_hal.h
hci/include/hci_inject.h
hci/include/hci_layer.h
hci/include/hci_packet_factory.h [new file with mode: 0644]
hci/include/hci_packet_parser.h [new file with mode: 0644]
hci/include/low_power_manager.h
hci/include/packet_fragmenter.h
hci/include/vendor.h
hci/src/btsnoop.c
hci/src/buffer_allocator.c [new file with mode: 0644]
hci/src/controller.c [new file with mode: 0644]
hci/src/hci_hal.c
hci/src/hci_hal_h4.c
hci/src/hci_hal_mct.c
hci/src/hci_inject.c
hci/src/hci_layer.c
hci/src/hci_packet_factory.c [new file with mode: 0644]
hci/src/hci_packet_parser.c [new file with mode: 0644]
hci/src/low_power_manager.c
hci/src/packet_fragmenter.c
hci/src/vendor.c
hci/test/hci_hal_h4_test.cpp
hci/test/hci_hal_mct_test.cpp
hci/test/hci_layer_test.cpp
hci/test/low_power_manager_test.cpp
hci/test/packet_fragmenter_test.cpp
main/bte_main.c