summaryrefslogtreecommitdiffstats
path: root/bta/include
diff options
context:
space:
mode:
authorMudumba Ananth <ananthm@broadcom.com>2015-01-30 02:33:02 -0800
committerAndre Eisenbach <eisenbach@google.com>2015-04-13 14:09:06 -0700
commit899b77140675a157dba034e98527ab546bc9ac35 (patch)
tree998eb1873ed2ac4c14795b095e9b8b7516d2d6ec /bta/include
parent7fb0da6c0df9491f06c61ab0ba4183129502a065 (diff)
downloadandroid_system_bt-899b77140675a157dba034e98527ab546bc9ac35.tar.gz
android_system_bt-899b77140675a157dba034e98527ab546bc9ac35.tar.bz2
android_system_bt-899b77140675a157dba034e98527ab546bc9ac35.zip
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
Diffstat (limited to 'bta/include')
-rw-r--r--bta/include/bta_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bta/include/bta_api.h b/bta/include/bta_api.h
index a3410c1fc..772f081d7 100644
--- a/bta/include/bta_api.h
+++ b/bta/include/bta_api.h
@@ -169,6 +169,7 @@ typedef struct
#define BTA_SEC_AUTHORIZE (BTM_SEC_IN_AUTHORIZE ) /* Authorization required (only needed for out going connection )*/
#define BTA_SEC_AUTHENTICATE (BTM_SEC_IN_AUTHENTICATE | BTM_SEC_OUT_AUTHENTICATE) /* Authentication required. */
#define BTA_SEC_ENCRYPT (BTM_SEC_IN_ENCRYPT | BTM_SEC_OUT_ENCRYPT) /* Encryption required. */
+#define BTA_SEC_MODE4_LEVEL4 (BTM_SEC_MODE4_LEVEL4) /* Mode 4 level 4 service, i.e. incoming/outgoing MITM and P-256 encryption */
typedef UINT8 tBTA_SEC;