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

Commit 8e2e61ea authored by Patty Huang's avatar Patty Huang Committed by Automerger Merge Worker
Browse files

Merge "Use 1M PHY for the ACK packet from buds to phone direction" into main...

Merge "Use 1M PHY for the ACK packet from buds to phone direction" into main am: 6f0d3685 am: 68e2f1a8

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



Change-Id: I75c217c26fd29c5532b85bdcfaeac92376761dd4
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents e2a2aeb6 68e2f1a8
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1269,6 +1269,14 @@ class LeAudioGroupStateMachineImpl : public LeAudioGroupStateMachine {
        group->GetPhyBitmask(le_audio::types::kLeAudioDirectionSink);
    uint8_t phy_stom =
        group->GetPhyBitmask(le_audio::types::kLeAudioDirectionSource);

    // Use 1M Phy for the ACK packet from remote device to phone for better
    // sensitivity
    if (max_sdu_size_stom == 0 &&
        (phy_stom & bluetooth::hci::kIsoCigPhy1M) != 0) {
      phy_stom = bluetooth::hci::kIsoCigPhy1M;
    }

    uint8_t rtn_mtos = 0;
    uint8_t rtn_stom = 0;