OSDN Git Service

Increase max remote ext feature pages to 3
authorVenkata Jagadeesh Garaga <vgaraga@codeaurora.org>
Wed, 9 Nov 2016 05:10:20 +0000 (10:40 +0530)
committerAndre Eisenbach <eisenbach@google.com>
Tue, 28 Feb 2017 19:01:52 +0000 (19:01 +0000)
commitf6ac424a81bad038bbf9a90c7c569dba81978f51
tree53cb9c76a17c15bd7ecb766abc3d64beb9318609
parent03aae0f5fb4c1f12104f3299dadeeaf262e71e15
Increase max remote ext feature pages to 3

Use Case: DUT unable to pair with Xbox HID device

Steps:
1. Turn on BT
2. Start Inquiry
3. Pair with device with three extended feature pages

Failure: Unable to pair with HID device

Root Cause: DUT not responding for btm_read_remote_ext_features_complete
as we are not supporting three extended pages. So Security procedure also
not getting started.

Fix: Increase max remote ext feature pages to three from
2 as some latest remotes supporting three extended pages.
As per spec we can support 255 extended pages.

Test: Pair with device with three extended feature pages

Bug: 32999575

Change-Id: I061c78a7aaa1ab58a2fc554d026305a0124eee77
stack/btm/btm_acl.cc
stack/btm/btm_dev.cc
stack/btm/btm_devctl.cc
stack/btm/btm_int_types.h
stack/btm/btm_sco.cc
stack/btm/btm_sec.cc
stack/include/hcidefs.h