History log of /system/bt/stack/include/btm_api.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c83ad356a65f7d639d628e2feec927619b07683e 04-Mar-2016 Jakub Pawlowski <jpawlowski@google.com> Remove btla-specific comments

Change-Id: I91a19b2cfbc96d7567e0e0914058619ea364c1d4
/system/bt/stack/include/btm_api.h
310d5c7ada40cca70b352e12a9cfddc44dffdc36 25-Aug-2015 Srinu Jella <sjella@codeaurora.org> Increase the number of security slots for other new profiles

Use case: MAP Sanity Test fail in multi-profile scenario.

Steps:
1. Connect to Instance 1 - Email Sanity Test Case
2. Connect to Instance 0&1 - Email & SMS Sanity Test Case

Failure: MAP sanity fail in multi-profile scenario.

Root Cause: some profile coonnection may fail in multi
profile scenario due to non availability of security id.

Fix: Increased the security slots to 75 to accomadate new
profiles introduced.

Bug: 27852645
Change-Id: Ic7c0268aea654cba2dee0c323ca0342e71ebc577
/system/bt/stack/include/btm_api.h
f40b136e7b943d7e25224817fc47bb5b171479d5 26-Jan-2016 Andre Eisenbach <eisenbach@google.com> Add explicit sec_act parameter to encryption requests

This avoids de-referencing a potentially NULL pointer (p_ref_data) and
also makes the use of the parameter more obvious.

Also added NULL check before invoking security callback.

Bug: 26792899
Change-Id: I6613c9c2706f1d460ab39421a967d79c59ad0fde
/system/bt/stack/include/btm_api.h
175da70b6d60349dffdee3a9cd13182b293edf4c 13-Nov-2015 Jakub Pawlowski <jpawlowski@google.com> Remove BTM_OOB_INCLUDED

Bug: 22932952
Change-Id: I35dbcd1881a8bd627d1b1c6759761a356d07bcb2
/system/bt/stack/include/btm_api.h
76356aee883af67898ddc1aa3b628195f396d42a 21-Apr-2015 VenkatRaghavan VijayaRaghavan <venkatrv@broadcom.com> Bug fix PM changes and LE connectivity mode fixes

Allow PM to support multiple delay timer for different profiles and
power mode requests. And set correct connectivity mode.

Bug: 22040710
Change-Id: Idabd9ea944f0c5a89ce542d85db9f103fa7d1816
/system/bt/stack/include/btm_api.h
818d0f2afb10c75125b0df9ea2bce6108268a269 21-May-2015 Casper Bonde <c.bonde@samsung.com> SAP: Make it possible to enforce a 16-digit pin code (1/5)

This change enable the posibility to enforce using a
16-digit pin or MITM for a RFCOMM or L2CAP connection.

This is needed for the SIM access profile.

Change-Id: I02886ce284f27295205def3c66fb76372f5dab4f
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
/system/bt/stack/include/btm_api.h
877123f5b9df90e7a71ea7b15997c521229decc1 24-Apr-2015 Satya Calloji <satyac@broadcom.com> Static address is seen on scanner after unpairing

Fix for bonded devices that cannot be removed from resolving list when
scanning, advertising or when a connection is being initiated.
Suspend all active adv, scanning or connection initiation upon
completion of any resolving list operation.

Original author: Chaojing Sun <cjsun@broadcom.com>
Change-Id: Id104dace2944b1878eaf65b93aba3d01e477191d
/system/bt/stack/include/btm_api.h
5725fc6d2c639a8c22a08b9b6629309eeda3715e 31-Mar-2015 Satya Calloji <satyac@broadcom.com> LE low power scan feature

LE low power extended scan feature stack changes
based on Google BLE spec v0.95

Bug: 20029342
Change-Id: I1db2d9bb648295340d0e93ca89d27e1b938d33d3
/system/bt/stack/include/btm_api.h
e28055315f96c0d06e73a66a9bb06df85247b5a7 22-Apr-2015 Chaojing Sun <cjsun@broadcom.com> Cross transport key mapping fixes

Change-Id: I22d97303054eccc876c4a9c7c0a50e369ff4fa62
/system/bt/stack/include/btm_api.h
899b77140675a157dba034e98527ab546bc9ac35 30-Jan-2015 Mudumba Ananth <ananthm@broadcom.com> BR/EDR secure connections support

As a part of BT 4.1 stack upgrade, added host support for BR/EDR
secure connections to be able to interact with controllers that
support secure connections and upgrade the SSP mechanism to use
secure connection rules.

This change checks for controller support in the extended_features
(LMP page 2) and then declares the host support (extended_features
LMP page 1) using WRITE SECURE CONNECTIONS HOST SUPPORT.
If both the sides support secure connections, the simple pairing
process utilizes the link key generated using P-256 elliptic curve
(in the controller) and both the sides will be
in a secure connection.

Bug: 19289699
Change-Id: Idb3c41f439973bea137f5a4a69468c1f55aecbd7
/system/bt/stack/include/btm_api.h
444a8da807abaf5f9e813ce70c56a79160495fb3 06-Mar-2015 Satya Calloji <satyac@broadcom.com> LE Privacy 1.2 and LE secure connections

Bug: 19816438
Original author: Chaojing Sun <cjsun@broadcom.com>
Change-Id: I5951f4d4e038f8348a62aa6d19b2111bae0b3ecc
/system/bt/stack/include/btm_api.h
6afb248849399cfba59fb1e683a06e31d88e5d1d 25-Mar-2015 Mudumba Ananth <ananthm@broadcom.com> Resolved hardware error observed during SCO Connection setup

Hardware error was caused due to a faulty HCI command formed in the
process of vendor specific pre-SCO setup in the stack(set_audio_state)

Fixed the above problem and also added back the vendor (interface)
mapping for the set_audio_state functionality to facilitate the
sending of the pre-SCO vendor specific commands.

Made common vendor library audio setting by moving to hci subsystem.

General cleanup around this functionality.

Bug: 19923226
Change-Id: I4a743f6725459f360bd2a90e0a46f08fcca2292d
/system/bt/stack/include/btm_api.h
d429feda780e97e802d4dd19aca5ec5bcc52d229 24-Mar-2015 Andre Eisenbach <eisenbach@google.com> Remove unused remote_name_* variables

Change-Id: Ib0db95646564439a9458542db9b1891ea818c5d7
/system/bt/stack/include/btm_api.h
6b88521cada9486d3a2a3ad5bda55ed431505926 07-Jan-2015 Zach Johnson <zachoverflow@google.com> Remove some more unused functions in btm_acl
/system/bt/stack/include/btm_api.h
de35e095aa0a97ec4687aebec188205d41444a3e 07-Jan-2015 Zach Johnson <zachoverflow@google.com> Remove unused read link policy + friends

Was never called, and the removal of which obviated
a lot of other code.
/system/bt/stack/include/btm_api.h
e53504e10abe3079c39a8a865dfb5c293ca23c01 27-Dec-2014 Zach Johnson <zachoverflow@google.com> Clean up unused functions in btm_sec
/system/bt/stack/include/btm_api.h
272a075cfe5e795d3cf3d764af3df7d468c5f38b 25-Dec-2014 Zach Johnson <zachoverflow@google.com> Remove unused security abort callback

The callback in BTA was null, so it never was actually
used.
/system/bt/stack/include/btm_api.h
978de5cefb02f4e8c20d3654a73ab9dab586d13e 25-Dec-2014 Zach Johnson <zachoverflow@google.com> Remove link key request callback

The core security manager stores whether we have link keys
for each peer. This other call up to the bta device manager
to see if it has link keys is a dead end and does nothing.
/system/bt/stack/include/btm_api.h
6a8c80eae89a4ba9d842ae68798081df725e787c 01-Nov-2014 Zach Johnson <zachoverflow@google.com> Remove unused link key functions from devctl

The security manager looks for the link key notification event,
so it doesn't use these read/write link key functions at all.
/system/bt/stack/include/btm_api.h
2a1f4e2121f7ffd9bbbd868c4bd5307356adb054 31-Oct-2014 Zach Johnson <zachoverflow@google.com> Remove the afh functions from btm_devctl

The callers were removed in a previous CL, so these
are no longer necessary.
/system/bt/stack/include/btm_api.h
de4214b946f5b7ff35b55c90e1437c9a17449849 31-Oct-2014 Zach Johnson <zachoverflow@google.com> Remove some functionredefinitions from bta dm

These weren't used. And were another layer of indirection
for things that already existed. One reason for the initial
implementation is that they would ensure the actual calls
happen in a known thread.
/system/bt/stack/include/btm_api.h
4c457b5fadd6367c32089b365493966bdcbe3f2a 31-Oct-2014 Chris Manton <cmanton@google.com> Unused function
/system/bt/stack/include/btm_api.h
5b69d6bf4a12cd161756396de47ec6b920c907db 29-Oct-2014 Chris Manton <cmanton@google.com> Remove unused inquiry DB functions

These are not used for the inquiry database.
/system/bt/stack/include/btm_api.h
df7634158b0853bee885cb292dfdd30356615db8 16-Oct-2014 Chris Manton <cmanton@google.com> Remove unused functions BTM_RegForLstoEvt/btm_acl_set_discing
/system/bt/stack/include/btm_api.h
e7ef465c37298c2b64b7e9794659b1b1b50ab877 16-Oct-2014 Chris Manton <cmanton@google.com> Remove always true BTM_PWR_MGR_INCLUDED

There are two code paths to set the chip into the power modes.
The power manager aggregates access to the power modes.
Does not compile when set to false.
/system/bt/stack/include/btm_api.h
59fa0f1923b54c414ad742a4ae3b6f415bfa546c 24-Oct-2014 Chris Manton <cmanton@google.com> Remove always undefined BTM_EIR_UUID_LKUP_TBL
/system/bt/stack/include/btm_api.h
c0b16b1aa7e1880a87e0f408b043914797cd9dd2 24-Oct-2014 Chris Manton <cmanton@google.com> Remove always true definition BTM_EIR_CLIENT_INCLUDED
/system/bt/stack/include/btm_api.h
e7faae66ddb7c4fc318c5e4986f820c92a787307 28-Oct-2014 Zach Johnson <zachoverflow@google.com> Remove unused function BTM_ChangeLinkKey & friends

Not used in the codebase. Removed it along with
all its related code.

According to the spec the change link key event is only
sent in response to the change link key command, so
it should be completely safe to remove that logic.
/system/bt/stack/include/btm_api.h
39110ec88460421618330863807804e03594ef67 06-Oct-2014 Zach Johnson <zachoverflow@google.com> Remove duplicate local bdaddr management functions
/system/bt/stack/include/btm_api.h
30e58068c1adaac7c5ccb3aa9cfb045d41d2a10e 27-Sep-2014 Zach Johnson <zachoverflow@google.com> Refactor btm_devctl reset sequence

* Controller bring up on blockable thread now
* Removed some duplicate and commands during controller bring up
* The code to make commands for controller bring up is smaller and better
/system/bt/stack/include/btm_api.h
cc0ca141ad1e81826b71c0bacdb2e8ab186f9155 01-Oct-2014 Zach Johnson <zachoverflow@google.com> Prune BTM_ReadLocalVersion

It was called once, but the version info read back was
never used. The status returned was used, but that was
implicitly getting whether the device was up or not so
replaced with a call to BTM_IsDeviceUp.
/system/bt/stack/include/btm_api.h
832bc91593813839d4b3d70548841e2ed29fa637 30-Sep-2014 Zach Johnson <zachoverflow@google.com> Prune BTM_SetSecurityMode and GAP_SetSecurityMode

BTM_SetSecurityMode was only used from GAP_SetSecurityMode,
and GAP_SetSecurityMode was never used.
/system/bt/stack/include/btm_api.h
24933b5b1a06274c47133debac5251a97128a267 25-Sep-2014 June R. Tate-Gans <jtgans@google.com> Removing unnecessary BTAPI #defines.
/system/bt/stack/include/btm_api.h
8986635b6c62c430fd7f59fbe8370df479f4e371 02-Sep-2014 Zach Johnson <zachoverflow@google.com> Remove unused function BTM_SecSetConnectFilterCallback
/system/bt/stack/include/btm_api.h
99f2ad1e229eefccb60580ef67f6ca16a644baaf 03-Sep-2014 Zach Johnson <zachoverflow@google.com> Remove BTM_ReadBrcmFeatures because it shouldn't exist and isn't used

Also eliminates some related macros.
/system/bt/stack/include/btm_api.h
4eb14ed2eab174998a86ad245d8163d9f03d3c68 02-Sep-2014 Zach Johnson <zachoverflow@google.com> Remove unused function BTM_SetInquiryFilterCallback
/system/bt/stack/include/btm_api.h
ff2c6ae048d59e2be29339a7c88cf6c97b818358 02-Sep-2014 Zach Johnson <zachoverflow@google.com> Remove unused function BTM_InquiryRegisterForChanges and associated code
/system/bt/stack/include/btm_api.h
53c5eb27d0f933ddc3c23d89a0b7fcf14c906f64 29-Aug-2014 Zach Johnson <zachoverflow@google.com> Removed always false macro BTM_INQ_GET_REMOTE_NAME
/system/bt/stack/include/btm_api.h
76ac6d863e0ef281fa91156aaf3c44ee946db3db 29-Aug-2014 Zach Johnson <zachoverflow@google.com> Remove indirection in the controller reset sequence
/system/bt/stack/include/btm_api.h
e5ba8841cd39e17c05aeb4ab65b5b761d41577da 04-Jul-2014 Satya Calloji <satyac@broadcom.com> LE energy info feature

Stack and BT-IF changes for LE energy feature

Change-Id: I671e63aaead210c6352b45a5e20ad5e4bbbb77b7
/system/bt/stack/include/btm_api.h
7fa4fba6f59f97df00aff07dbe8fb21b114b3c2c 17-Apr-2014 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Merge BT 4.1 features

The features include:
- LE Peripheral Mode
- Link Layer topology (LE Central & Peripheral Concurrency)
- Dual Mode Topology (Ability to choose LE transport when connecting with
other Dual Mode devices)
- Fast advertising Interval
- Limited Discovery Time Changes
- GAP Authentication and Lost Bond
- Dual Mode Addressing
- Common Profile and Service Error Code
- 32 bit UUIDs

Change-Id: Ic6701da4cf6aaa390ff2c8816b43157f36b7fb42

Conflicts:
stack/btu/btu_hcif.c
/system/bt/stack/include/btm_api.h
7f3e42943b834ff0f556cd5c063a896f54d53167 30-Sep-2013 Matthew Xie <mattx@google.com> Interleave br/edr device discovery with BLE device scan for some targets

This change only applies to targets which do not support interleaved scan
in controller.
bug 8508849

Change-Id: Ia99faf92c942b4b33abfde2708eff25ec9cd5468
/system/bt/stack/include/btm_api.h
2e7fa68bfd9723b7ec7b6b0b128d89f31a2e06ee 09-Aug-2013 Andre Eisenbach <andre@broadcom.com> LE: Add support for the HID-over-GATT profile (1/3)

bug:8330048
Change-Id: I5727161b0a87700487bee96cdffa8fd169034204
/system/bt/stack/include/btm_api.h
9d140a9dc432e457a0437920d5f84c22e3baea0d 12-Apr-2013 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Make host side of Read Local/Remote Extended Features more reliable

Issue Ext feature request only if the local controller supports
the command. Fall back to read remote feature command,
if the extended feature request fails
Bug:8591628

Change-Id: I744d9845c04b30d2dca1fd491fea49616adbb2d7
/system/bt/stack/include/btm_api.h
3aa60544585b5fb0f35c1165539a4a859fc0f25c 23-Mar-2013 Andre Eisenbach <andre@broadcom.com> Parse LMP features to enable LE support

Only send LE commands if the local Bluetooth radio supports LE.
Improved remote feature parsing by reading extended features. Before
this change, only the first page of the features was parsed.
bug 8332905

Change-Id: I0b90771dcfc453efea157f463b9df006e0178609
/system/bt/stack/include/btm_api.h
ead3cde4bac0c3e32cd31f149093f004eef8ceeb 06-Feb-2013 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Initial version of BLE support for Bluedroid

Change-Id: I9825a5cef9be2559c34c2a529b211b7d471147cf
/system/bt/stack/include/btm_api.h
5738f83aeb59361a0a2eda2460113f6dc9194271 13-Dec-2012 The Android Open Source Project <initial-contribution@android.com> Snapshot cdeccf6fdd8c2d494ea2867cb37a025bf8879baf

Change-Id: Ia2de32ccb97a9641462c72363b0a8c4288f4f36d
/system/bt/stack/include/btm_api.h