-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
fix(openthread): fix RCP build to pass time sync and CSL options (IDFGH-13113) #14060
Closed
Closed
Changes from all commits
Commits
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 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 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 |
---|---|---|
|
@@ -148,7 +148,7 @@ | |
* `RadioSpinel` platform is used. | ||
* | ||
*/ | ||
#define OPENTHREAD_CONFIG_PLATFORM_RADIO_SPINEL_RX_FRAME_BUFFER_SIZE 1024 | ||
#define OPENTHREAD_LIB_SPINEL_RX_FRAME_BUFFER_SIZE 1024 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's a new definition in OpenThread upsteam repo, but the OT submodule in IDF doesn't have the change yet. Could you please revert this change, and make sure it works with the current OT verion in IDF. We will update the OT submodule in July. |
||
|
||
/** | ||
* @def OPENTHREAD_CONFIG_PLATFORM_USEC_TIMER_ENABLE | ||
|
@@ -242,3 +242,71 @@ | |
#ifndef OPENTHREAD_CONFIG_MAC_MAX_CSMA_BACKOFFS_DIRECT | ||
#define OPENTHREAD_CONFIG_MAC_MAX_CSMA_BACKOFFS_DIRECT CONFIG_OPENTHREAD_MAC_MAX_CSMA_BACKOFFS_DIRECT | ||
#endif | ||
|
||
/** | ||
* @def OPENTHREAD_CONFIG_TIME_SYNC_ENABLE | ||
* | ||
* Define as 1 to enable the time synchronization service feature. | ||
* | ||
*/ | ||
#if CONFIG_OPENTHREAD_TIME_SYNC | ||
#define OPENTHREAD_CONFIG_TIME_SYNC_ENABLE 1 | ||
#endif | ||
|
||
|
||
#if CONFIG_OPENTHREAD_CSL_ENABLE | ||
|
||
/** | ||
* @def OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE | ||
* | ||
* Define as 1 to support Thread 1.2 CSL feature. | ||
* | ||
*/ | ||
#ifndef OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE | ||
#define OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE 1 | ||
#endif | ||
|
||
/** | ||
* @def OPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE | ||
* | ||
* Define as 1 to enable support Thread 1.2 CSL debug. | ||
* | ||
*/ | ||
#ifndef OPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE | ||
#define OPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE CONFIG_OPENTHREAD_CSL_DEBUG_ENABLE | ||
#endif | ||
|
||
#endif // CONFIG_OPENTHREAD_CSL_ENABLE | ||
|
||
/** | ||
* @def OPENTHREAD_CONFIG_MAC_CSL_REQUEST_AHEAD_US | ||
* | ||
* Define as 1 to set the ahead time for CSL transmit timing. | ||
* | ||
*/ | ||
#ifndef OPENTHREAD_CONFIG_MAC_CSL_REQUEST_AHEAD_US | ||
#define OPENTHREAD_CONFIG_MAC_CSL_REQUEST_AHEAD_US 20000 | ||
#endif | ||
|
||
#if CONFIG_OPENTHREAD_LINK_METRICS | ||
|
||
/** | ||
* @def OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE | ||
* | ||
* Define as 1 to support Thread 1.2 Link Metrics Subject feature. | ||
* | ||
*/ | ||
#ifndef OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE | ||
#define OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE 1 | ||
#endif | ||
|
||
/** | ||
* @def OPENTHREAD_CONFIG_MLE_LINK_METRICS_INITIATOR_ENABLE | ||
* | ||
* Define as 1 to support Thread 1.2 Link Metrics feature. | ||
* | ||
*/ | ||
#ifndef OPENTHREAD_CONFIG_MLE_LINK_METRICS_INITIATOR_ENABLE | ||
#define OPENTHREAD_CONFIG_MLE_LINK_METRICS_INITIATOR_ENABLE 1 | ||
#endif | ||
#endif //CONFIG_OPENTHREAD_LINK_METRICS |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's duplicate with previous line.