-
Notifications
You must be signed in to change notification settings - Fork 15
Update openthread-br packages #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ksperling-apple
merged 4 commits into
project-chip:main
from
ksperling-apple:openthread-br-2026-05-22
Jun 8, 2026
+3,736
−1,541
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
third_party/openthread-br/patches/040-settings-ifname.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| From 30d0ddf4ffd021207b9ca9428f8031e2f8ee7df6 Mon Sep 17 00:00:00 2001 | ||
| From: Karsten Sperling <ksperling@apple.com> | ||
| Date: Wed, 27 May 2026 13:02:17 +1200 | ||
| Subject: [PATCH] Add OTBR_SETTINGS_FILE_USE_INTERFACE_NAME build setting | ||
|
|
||
| When enabled, this names the posix settings file based on the Thread interface | ||
| name (e.g. wpan0) instead of the default <port offset>_<eui> naming. This | ||
| allows the settings file to remain stable when replacing the RCP dongle. | ||
| --- | ||
| etc/cmake/options.cmake | 5 +++++ | ||
| src/host/rcp_host.cpp | 3 +++ | ||
| 2 files changed, 8 insertions(+) | ||
|
|
||
| diff --git a/etc/cmake/options.cmake b/etc/cmake/options.cmake | ||
| index 8183bb19..ce8b7961 100644 | ||
| --- a/etc/cmake/options.cmake | ||
| +++ b/etc/cmake/options.cmake | ||
| @@ -253,6 +253,11 @@ else() | ||
| target_compile_definitions(otbr-config INTERFACE OTBR_ENABLE_LINK_METRICS_TELEMETRY=0) | ||
| endif() | ||
|
|
||
| +option(OTBR_SETTINGS_FILE_USE_INTERFACE_NAME "Name the settings file after the Thread interface instead of the RCP EUI64" OFF) | ||
| +if(OTBR_SETTINGS_FILE_USE_INTERFACE_NAME) | ||
| + target_compile_definitions(otbr-config INTERFACE OTBR_ENABLE_SETTINGS_FILE_USE_INTERFACE_NAME=1) | ||
| +endif() | ||
| + | ||
| option(OTBR_POWER_CALIBRATION "Enable Power Calibration" ON) | ||
| if (OTBR_POWER_CALIBRATION) | ||
| target_compile_definitions(otbr-config INTERFACE OTBR_ENABLE_POWER_CALIBRATION=1) | ||
| diff --git a/src/host/rcp_host.cpp b/src/host/rcp_host.cpp | ||
| index b99de3cf..9eb78c59 100644 | ||
| --- a/src/host/rcp_host.cpp | ||
| +++ b/src/host/rcp_host.cpp | ||
| @@ -153,6 +153,9 @@ RcpHost::RcpHost(const char *aInterfaceName, | ||
| mConfig.mCoprocessorUrls.mUrls[mConfig.mCoprocessorUrls.mNum++] = url; | ||
| } | ||
| mConfig.mSpeedUpFactor = 1; | ||
| +#if OTBR_ENABLE_SETTINGS_FILE_USE_INTERFACE_NAME | ||
| + mConfig.mSettingsFile = aInterfaceName; | ||
| +#endif | ||
| } | ||
|
|
||
| RcpHost::~RcpHost(void) | ||
| -- | ||
| 2.50.1 (Apple Git-155) | ||
|
|
58 changes: 0 additions & 58 deletions
58
third_party/openthread-br/patches/040-uart-exclusive.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.