OSDN Git Service

PTS: Avoid BR SDP after LE pairing
authorNitin Arora <niarora@codeaurora.org>
Fri, 11 Mar 2016 02:27:24 +0000 (18:27 -0800)
committerMyles Watson <mylesgw@google.com>
Wed, 11 May 2016 15:57:16 +0000 (08:57 -0700)
commitf4cb73aeb0878b7b49c7e60298ec004150cc3b91
tree2c63e4d424d0e57604e6d9b3b92414ecae6f83eb
parentd129b9430042a81c20cb21ad54657695b77dfb9e
PTS: Avoid BR SDP after LE pairing

Use Case: Certification test case requiring LE secure pairing
with PTS.

Test Case: TP/SCJW/BV-01-C

Failure:
While pairing with PTS for certification test cases, LE secure
pairing followed by BR/EDR cross key derivation results in the
host initiating the SDP to gather the remote BR/EDR services.
PTS considers it as a test failure.

Fix: Added run time flag in bt_stack.conf file
"PTS_DisableSDPOnLEPair" to disable the SDP immidiately after
LE pairing followed by cross key derivation.

Bug: 27852645
Change-Id: Ib5a05c47b99c2ef8256967a608ae9ebbdfba60ee
btif/src/btif_dm.c
conf/bt_stack.conf
include/stack_config.h
main/stack_config.c