New call-in/-back functions for Controller to do vendor-specific shutdown (2/2)

A pair of asynchronous call-in and call-back API are added into the Host
Controller Vendor Lib interface (bt_vendor_lib.h). The caller calls this new
call-in function to inform the vendor module to perform vendor-specific
shutdown process (e.g. send HCI_RESET to BT Controller) before the caller calls
for interface cleanup() function. The vendor module is responsible for calling
call-back function to notify the caller completion of vendor-specific shutdown
process.

Sample codes of sending a HCI_RESET command in the vendor-specific shutdown
process.
bug 7390787

Change-Id: I817c0a7dd57e750d38884746edeb3436cfc9cfd8
3 files changed
tree: f8752c528220e46d622c48e0540b5e3bb6da3f8d
  1. Android.mk
  2. conf/
  3. include/
  4. src/
  5. vnd_buildcfg.mk