[PATCH 0/5] android: Update HAL to Android 4.4 API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

It is important to fully implement bt_interface_t (at least with stubs/NULLs)
since Android is not checking size field from HAL and just assume memory
layout of BT HAL. This was causing crashes on 4.4 due to Android trying
to call not existing methods.

BT snoop logs enabling function is a bit special since it will be implemented
only in HAL so no need to extend IPC with that (plan is to have dedicated
service that will dump HCI traffic).

For now 4.2+ API is if-deffed in HAL library - this will be removed when
minimal Android version required will be dropped.

-- 
BR
Szymon Janc

Szymon Janc (5):
  android/hal-bluetooth: Add support for sending LE_TEST_MODE command
  android/hal-bluetooth: Add support for enabling HCI snoop dump
  android/hal-bluetooth: Add support for remote version info property
  android/hal-bluetooth: Add support for device service record property
  android/bluetooth: Add stubs for missing commands

 android/bluetooth.c         |  56 ++++++++++++++++++++++++
 android/cutils/properties.h |   1 +
 android/hal-bluetooth.c     | 104 +++++++++++++++++++++++++++++++++++++++++++-
 android/hal-msg.h           |  13 ++++++
 4 files changed, 172 insertions(+), 2 deletions(-)

-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux