leaudio: Yet another optimisation on max CIS needed
With this patch, Android makes use of requested bidirectional CISes to cover scenarios which requires only unicast CISes. This will also help to save controller resources as without this path, CIG was created with much to more CISes than needed. eg: CIG create for conversational: < HCI Command: LE Set Connected Isochronous Group Parameters (0x08|0x0062) plen 51 #29966 155.397783 CIG ID: 0x01 Master to Slave SDU Interval: 10000 us (0x002710) Slave to Master SDU Interval: 10000 us (0x002710) SCA: 201 - 500 ppm (0x00) Packing: Sequential (0x00) Framing: Unframed (0x00) Master to Slave Maximum Latency: 10 ms (0x000a) Slave to Master Maximum Latency: 10 ms (0x000a) Number of CIS: 4 CIS ID: 0x00 Master to Slave Maximum SDU Size: 80 Slave to Master Maximum SDU Size: 80 Master to Slave PHY: 0x02 LE 2M Slave to Master PHY: 0x02 LE 2M Master to Slave Retransmission attempts: 0x02 Slave to Master Retransmission attempts: 0x02 CIS ID: 0x01 Master to Slave Maximum SDU Size: 80 Slave to Master Maximum SDU Size: 80 Master to Slave PHY: 0x02 LE 2M Slave to Master PHY: 0x02 LE 2M Master to Slave Retransmission attempts: 0x02 Slave to Master Retransmission attempts: 0x02 CIS ID: 0x02 Master to Slave Maximum SDU Size: 80 Slave to Master Maximum SDU Size: 0 Master to Slave PHY: 0x02 LE 2M Slave to Master PHY: 0x02 LE 2M Master to Slave Retransmission attempts: 0x02 Slave to Master Retransmission attempts: 0x00 CIS ID: 0x03 Master to Slave Maximum SDU Size: 80 Slave to Master Maximum SDU Size: 0 Master to Slave PHY: 0x02 LE 2M Slave to Master PHY: 0x02 LE 2M Master to Slave Retransmission attempts: 0x02 Slave to Master Retransmission attempts: 0x00 Bug: 231084798 Bug: 238961038 Bug: 239651157 Sponsor: @siyuanh Test: atest BluetoothInstrumentationTests Tag: #feature Merged-In: Ie5389b67684e392f92889d263bbae36d22e6edf4 Change-Id: Ie5389b67684e392f92889d263bbae36d22e6edf4 (cherry picked from commit e986aa28)
Loading
Please register or sign in to comment