Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8a66f448 authored by Himanshu Rawat's avatar Himanshu Rawat Committed by Android Build Coastguard Worker
Browse files

Skip ATT Read Blob request for name discovery before MTU exchange

Some LE devices cannot handle the ATT Read Blob request. They expect that ATT MTU should be large enough to avoid ATT Read Blob request. Their companion apps are expected to send their MTU preferences.
However, LE name discovery may happen earlier than MTU exchange is performed. In such case, ATT Read Blob request is used if the remote device is larger than 20 octets.

This change introduces an intermediary IOP fix for such devices by skipping ATT Read Blob request for LE name discovery if their companion app had request MTU exchange but it was not performed yet.

Test: mmm packages/modules/Bluetooth
Flag: EXEMPT IOP fix
Bug: 369329192
(cherry picked from https://android-review.googlesource.com/q/commit:cc53561d4ec107b0d1ed354ccdda8270c542b0ee)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6fe01049bea49ba10ef7c581d6f49a32c9d6aa4f)
Merged-In: I59021fc5530bbaeffefa3c70f46218276a759bbf
Change-Id: I59021fc5530bbaeffefa3c70f46218276a759bbf
parent 19dd867e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment