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

Skip to content
Commit c715827b authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Improve counting number of required CISes

After delivering patch:
b43a2d3e Add more configuration for single device with 2 ASEs

Media scenario allows also only 2 source ASEs.
Function get_cis_count in this case would combine Sink and Source ASEs
as a maximum required scenarion and would request from the controller 4
CISes.

This patch prevents this by taking into account
	* number of sink/source ASEs in the group
	* priority of the configurations.

Bug: 231084798
Test: atest BluetoothInstrumentationTests
Tag: #feature

Merged-In: I9dbf0a2f5ced51cf1e190ae76fe2e8ccbbe5688d
Change-Id: I9dbf0a2f5ced51cf1e190ae76fe2e8ccbbe5688d
(cherry picked from commit a4936bfa)
parent 5b0ccc5b
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