All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Fix missing HFP WBS callback
@ 2015-08-28 10:40 Will Wang
  2015-08-28 10:40 ` [PATCH v2 1/3] android/hal-ipc-api: " Will Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Will Wang @ 2015-08-28 10:40 UTC (permalink / raw)
  To: marcel, gustavo, johan.hedberg; +Cc: linux-bluetooth, Will Wang

Hi,

This set of patches:
- Add HFP Wideband speech(WBS) callback function for Android.
- Add a new opcode 0x91 for WBS Command notification.

v1->v2:
- Move #if into function to avoid breaking compilation
  on Android KitKat.

The patches has been tested on Nexus 5 with Android 5.0.1 Lollipop,
and passed the PTS test "TC_AG_ACC_BI_12_I", the Android framework
outputs log such as:

08-20 18:29:39.932 E/BluetoothHeadsetServiceJni( 1442): mozzz: wbs_callback
...
08-20 18:29:39.933 D/HeadsetStateMachine( 1442): EVENT_TYPE_WBS codec is 1
08-20 18:29:39.935 D/HeadsetStateMachine( 1442): AudioManager.setParameters bt_wbs=off for PTS-HFP-MOZILLA-TPE-PC - 00:1B:DC:07:2F:9A
08-20 18:29:39.936 D/audio_hw_primary(  215): adev_set_parameters: enter: bt_wbs=off

Thanks Szymon Janc(:sjanc)'s speedy reply of the patch process questions
on IRC, and Shawn Huang(:shawnjohnjr)'s technical support.


Will Wang (3):
  android/hal-ipc-api: Fix missing HFP WBS callback
  android/hal-handsfree: Fix missing HFP WBS callback
  android/handsfree: Fix missing HFP WBS callback

 android/hal-handsfree.c | 12 ++++++++++++
 android/hal-ipc-api.txt |  8 ++++++++
 android/hal-msg.h       |  6 ++++++
 android/handsfree.c     |  8 ++++++++
 4 files changed, 34 insertions(+)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-01 19:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28 10:40 [PATCH v2 0/3] Fix missing HFP WBS callback Will Wang
2015-08-28 10:40 ` [PATCH v2 1/3] android/hal-ipc-api: " Will Wang
2015-08-28 10:40 ` [PATCH v2 2/3] android/hal-handsfree: " Will Wang
2015-08-28 10:40 ` [PATCH v2 3/3] android/handsfree: " Will Wang
2015-09-01 19:05 ` [PATCH v2 0/3] " Szymon Janc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.