leaudio: Improve finding max CISes count needed
Previous patch introduced function which allows to find maximum number of CISes we need to cover given context type. This is in order prepare CIG already as big so the late connected devices can be joined to the group without changing CIG. This patch improves a bit calculation of the CISes by limiting searching the configuration only to the ones with specific strategy. Strategy is related to the device topology e.g. earbuds using TWS topology (only one device is connected), earbuds using new Le Audio style (two earbuds connected to phone independly), banded headphones. This strategy can be found by looking into device allocation, channel count and group size. This will help to save controller resources, as combining all those scenarios could produce lot of CIS requirements. Bug: 231084798 Bug: 238961038 Bug: 239651157 Sponsor: @siyuanh Test: atest BluetoothInstrumentationTests Tag: #feature Change-Id: I52f671e7fa39f91cc562de2501c5d68665e5b4c8
Loading
Please register or sign in to comment