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

Commit 6f0d3685 authored by Patty Huang's avatar Patty Huang Committed by Gerrit Code Review
Browse files

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

parents 5e5ddd8c d544b255
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;