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>
Wed, 10 May 2017 23:54:28 +0000 (23:54 +0000)
commit57f6508cf7b22788fa2e7a739cec241b785718fb
treeb6663d7caca81fc288f94013c69d0d595bebf2a7
parent840f4f3de98c7d6c83abae89f0b41990bc56fef4
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
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