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

Commit af6e3bd7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "[LE Audio] Correct the value of BIG parameter Max_SDU" am: 9f820183...

Merge "[LE Audio] Correct the value of BIG parameter Max_SDU" am: 9f820183 am: 1262f860 am: 5e5a0ee8 am: 29e38296

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2158956



Change-Id: I5d1af7d79fd184dbfb1fa704261ad0d3b67d5c7c
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents dba5e931 29e38296
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ struct BroadcastCodecWrapper {
  }

  uint16_t GetMaxSduSize() const {
    return GetNumChannels() * GetMaxSduSizePerChannel();
    return GetNumChannelsPerBis() * GetMaxSduSizePerChannel();
  }

  const LeAudioCodecConfiguration& GetLeAudioCodecConfiguration() const {
@@ -112,6 +112,11 @@ struct BroadcastCodecWrapper {
    return source_codec_config.data_interval_us;
  }

  uint8_t GetNumChannelsPerBis() const {
    // TODO: Need to handle each BIS has more than one channel case
    return 1;
  }

 private:
  types::LeAudioCodecId codec_id;
  LeAudioCodecConfiguration source_codec_config;