OSDN Git Service

eSCO: BT 4.1 Enhanced SCO command (1/5)
authorMudumba Ananth <ananthm%broadcom.com@gtempaccount.com>
Thu, 9 Feb 2017 17:05:48 +0000 (09:05 -0800)
committerJack He <siyuanh@google.com>
Tue, 23 May 2017 20:24:28 +0000 (20:24 +0000)
commit181863e6c2a5f2575334bef5489d0e2a85132756
tree51cb4f6a1eb84881bafc41a1a784e5cf87390b18
parent844269f4389916f2c02696d0cbc25d0a6e07d2a0
eSCO: BT 4.1 Enhanced SCO command (1/5)

Added support for BT 4.1 enhanced SCO feature on the stack.
This feature allows the stack to create a SCO connection with
remote device by using Hci_Enhanced_Setup_Synchronous_Connection
command after checking the controller (4.1) support for
enhanced SCO command.
Added the command parameters to use the command in both wide band
speech(WBS) and narrow band speech(NBS) scenarios.

Number of Broadcom vendor specific commands(VSCs)that are needed
to be sent to Broadcom controllers along with this command have
also been updated accordingly

NOTE: This change would also need a firmware patch for
the feature to work on Broadcom contollers which will
be delivered to Google in a separate change set.

Bug: 19540029
Test: make, HFP PTS test, testplans/86884, testplans/87103
Change-Id: I1014d81be5cbe91078a4484dd072ac3957bfdfe4
(cherry picked from commit 57f6508cf7b22788fa2e7a739cec241b785718fb)
32 files changed:
bta/ag/bta_ag_cfg.cc
bta/ag/bta_ag_ci.cc
bta/ag/bta_ag_int.h
bta/ag/bta_ag_main.cc
bta/ag/bta_ag_sco.cc
bta/hf_client/bta_hf_client_sco.cc
bta/include/bta_ag_ci.h
bta/include/bta_ag_co.h
bta/include/bta_dm_co.h
btif/Android.bp
btif/BUILD.gn
btif/co/bta_ag_co.cc
btif/co/bta_dm_co.cc
btif/src/btif_sock_sco.cc
device/Android.bp
device/BUILD.gn
device/include/controller.h
device/include/esco_parameters.h [new file with mode: 0644]
device/src/controller.cc
device/src/esco_parameters.cc [new file with mode: 0644]
hci/include/bt_vendor_lib.h
include/bt_target.h
stack/btm/btm_devctl.cc
stack/btm/btm_int.h
stack/btm/btm_int_types.h
stack/btm/btm_sco.cc
stack/btu/btu_hcif.cc
stack/hcic/hcicmds.cc
stack/include/btm_api.h
stack/include/btm_api_types.h
stack/include/hcidefs.h
stack/include/hcimsgs.h