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

Commit 2f872257 authored by Grzegorz Kołodziejczyk's avatar Grzegorz Kołodziejczyk
Browse files

le_audio: Add dual device source ASE only scenario

Patch extends possibility to set up dual device with microphone only scenario.

Test: atest bluetooth_le_audio_client_test
Sponsor: @jpawlowski
Bug: 229802353
Change-Id: I4a8365b179cf6f1cc6101ab68960a428fb82f2a9
Merged-In: I4a8365b179cf6f1cc6101ab68960a428fb82f2a9
(cherry picked from commit c84305f2)
parent cbaf6655
Loading
Loading
Loading
Loading
+71 −0
Original line number Diff line number Diff line
@@ -362,6 +362,11 @@
            "codec_config_name": "SingleDev_OneChanMonoSnk_OneChanMonoSrc_16_1",
            "qos_config_name": ["QoS_Config_16_1_1"]
        },
        {
            "name": "DualDev_OneChanMonoSrc_16_2_Server_Preferred",
            "codec_config_name": "DualDev_OneChanMonoSrc_16_2",
            "qos_config_name": ["QoS_Config_Server_Preferred"]
        },
        {
            "name": "SingleDev_OneChanStereoSrc_16_2_Server_Preferred",
            "codec_config_name": "SingleDev_OneChanStereoSrc_16_2",
@@ -3425,6 +3430,72 @@
                }
            ]
        },
        {
            "name": "DualDev_OneChanMonoSrc_16_2",
            "subconfigurations": [
                {
                    "device_cnt": 2,
                    "ase_cnt": 2,
                    "direction": "SOURCE",
                    "codec_id": {
                        "coding_format": 6,
                        "vendor_company_id": 0,
                        "vendor_codec_id": 0
                    },
                    "codec_configuration": [
                        {
                            "name": "sampling_frequency",
                            "type": 1,
                            "compound_value": {
                                "value": [
                                    3
                                ]
                            }
                        },
                        {
                            "name": "frame_duration",
                            "type": 2,
                            "compound_value": {
                                "value": [
                                    1
                                ]
                            }
                        },
                        {
                            "name": "audio_channel_allocation",
                            "type": 3,
                            "compound_value": {
                                "value": [
                                    1,
                                    0,
                                    0,
                                    0
                                ]
                            }
                        },
                        {
                            "name": "octets_per_codec_frame",
                            "type": 4,
                            "compound_value": {
                                "value": [
                                    40,
                                    0
                                ]
                            }
                        },
                        {
                            "name": "codec_frame_blocks_per_sdu",
                            "type": 5,
                            "compound_value": {
                                "value": [
                                    1
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "SingleDev_OneChanMonoSrc_16_2",
            "subconfigurations": [
+1 −0
Original line number Diff line number Diff line
@@ -75,6 +75,7 @@
                "SingleDev_OneChanMonoSnk_OneChanMonoSrc_16_2_1",
                "SingleDev_OneChanMonoSnk_OneChanMonoSrc_16_1_Server_Preferred",
                "SingleDev_OneChanMonoSnk_OneChanMonoSrc_16_1_1",
                "DualDev_OneChanMonoSrc_16_2_Server_Preferred",
                "SingleDev_OneChanStereoSrc_16_2_Server_Preferred",
                "SingleDev_OneChanMonoSrc_24_2_Server_Preferred",
                "SingleDev_OneChanMonoSrc_16_2_Server_Preferred",