summaryrefslogtreecommitdiffstats
path: root/stack/include
diff options
context:
space:
mode:
authorRavi Nagarajan <nravi@broadcom.com>2012-05-02 17:21:37 +0530
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:19 -0700
commitdefb69c3b383ad0f9b5d6329be625fafc2e3c931 (patch)
tree1d13985bb9ca12b943aa70474a9a42243e6040a4 /stack/include
parentcff2b2b29bd9083f0b92e628b225a72a7ef52332 (diff)
downloadexternal_bluetooth_bluedroid-defb69c3b383ad0f9b5d6329be625fafc2e3c931.zip
external_bluetooth_bluedroid-defb69c3b383ad0f9b5d6329be625fafc2e3c931.tar.gz
external_bluetooth_bluedroid-defb69c3b383ad0f9b5d6329be625fafc2e3c931.tar.bz2
Resolve JustWorks related pairing issues
1. Per the spec, if both sides are using "No Bonding" for auth requirements, then the key could be considered a session key. Updated the pairing logic to handle this 2. If incoming JustWorks pairing is initiated, prompt the user for consent if the peer's io capabilities reflects DisplayOnly or NoInputNoOutput Change-Id: If592c96203e7a4b25af3d87056d534131b606e58
Diffstat (limited to 'stack/include')
-rw-r--r--stack/include/btm_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stack/include/btm_api.h b/stack/include/btm_api.h
index e27fcb1..76b6e03 100644
--- a/stack/include/btm_api.h
+++ b/stack/include/btm_api.h
@@ -1412,6 +1412,8 @@ typedef struct
BOOLEAN just_works; /* TRUE, if "Just Works" association model */
tBTM_AUTH_REQ loc_auth_req; /* Authentication required for local device */
tBTM_AUTH_REQ rmt_auth_req; /* Authentication required for peer device */
+ tBTM_IO_CAP loc_io_caps; /* IO Capabilities of the local device */
+ tBTM_IO_CAP rmt_io_caps; /* IO Capabilities of the remot device */
} tBTM_SP_CFM_REQ;
/* data type for BTM_SP_KEY_REQ_EVT */