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

Skip to content
Commit 3ed23cb3 authored by Yun-Hao Chung's avatar Yun-Hao Chung
Browse files

Floss: Only enable page scan when necessary

Currently we always enable page scan upon adapter is on. This causes
some chipset, ex. QCA6174A5, to have performance drop on inquiry
compairing to BlueZ.

Since page scan is used to allow classic device to reconnect, this
CL make Floss to only enable page scan when
1. there is at least 1 non-connected, bonded classic device, or
2. there is at least 1 l2cap or rfcomm socket listening.
This aligns with BlueZ.

Bug: 321519705
Test: manual test
Test: m -j
Tag: #floss
Flag: EXEMPT, Floss only change
Change-Id: I4c42f2e1a4e040b91e94539b5453a3f96f49e5f0
parent af5f6707
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