Skip to content

Commit 80ab84b

Browse files
committed
Apply bbrv3 patch
1 parent b358f0d commit 80ab84b

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/actions/build-kernel/action.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,6 +1422,25 @@ runs:
14221422
CONFIG_NET_SCH_FQ_CODEL=y
14231423
EOF
14241424
1425+
- name: Apply BBRv3
1426+
shell: bash
1427+
run: |
1428+
set -euo pipefail
1429+
echo "::group::Apply BBRv3 patches"
1430+
cd "$COMMON_KERNEL_FOLDER"
1431+
1432+
PATCH_URL="https://raw.githubusercontent.com/fatalcoder524/kernel_patches_additional/refs/heads/main/bbr3/0001-Test-$ANDROID_VER-$KERNEL_VER-bbrv3.patch"
1433+
if curl -f -Ls "$PATCH_URL" -o temp.patch; then
1434+
cat >> "$COMMON_KERNEL_FOLDER/arch/arm64/configs/gki_defconfig" <<EOF
1435+
CONFIG_TCP_CONG_BBR3=y
1436+
EOF
1437+
patch -p1 -F 3 < temp.patch
1438+
rm temp.patch
1439+
fi
1440+
1441+
echo "✅ BBRv3 patches applied"
1442+
echo "::endgroup::"
1443+
14251444
- name: Add TTL Target Support
14261445
if: ${{ env.OP_TTL == 'true' }}
14271446
shell: bash

0 commit comments

Comments
 (0)