Skip to content

Fix missing HFP WBS callback

Will Wang linux-bluetooth 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Move #if into function to avoid breaking compilation on Android KitKat.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3android/hal-ipc-api: Fix missing HFP WBS callbackandroid/hal-ipc-api.txt+8 -00 replies
2/3android/hal-handsfree: Fix missing HFP WBS callbackandroid/hal-handsfree.c android/hal-msg.h+18 -00 replies
3/3android/handsfree: Fix missing HFP WBS callbackandroid/handsfree.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Fix missing HFP WBS callback

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(+)
Signature · 1 line
1.9.1