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

Commit 68e2f1a8 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 am: 6f0d3685

parents c03450ca 6f0d3685
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;