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
[low-power] resync SSED with its parent after retransmission #6342
[low-power] resync SSED with its parent after retransmission #6342
Conversation
Size Report of OpenThread
|
Codecov Report
@@ Coverage Diff @@
## main #6342 +/- ##
==========================================
- Coverage 86.55% 86.35% -0.21%
==========================================
Files 428 429 +1
Lines 54746 55018 +272
==========================================
+ Hits 47388 47509 +121
- Misses 7358 7509 +151
|
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.
Overall LGTM. Some small issues.
3849885
to
20ea399
Compare
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.
LGTM 👍
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.
Looks great overall. Thanks. 👍
One suggestion below to check and protect if the calculation may roll-over on default period (just to be safe with all config values).
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.
LGTM. 👍
…ead#6342) Per 15.4 spec, transmitter cannot modify frame content in retransmission which will leads to out-of-date CSL IE being sent to CSL transmitter. This commit fixes this issue by, 1. Send a follow up data poll with CSL IE to resync the CSL transmitter. 2. Send periodic data poll with CSL IE to keep SSED's parent in sync. 3. Move PrepareDataRequest to data_poll_sender. 4. Add test cases to cover.
Per 15.4 spec, transmitter cannot modify frame content in retransmission which will leads to out-of-date CSL IE being sent to CSL transmitter. This PR fixes this issue by,
PrepareDataRequest
todata_poll_sender
.IEEE Std 802.15.4 - 6.7.4.3 Retransmission,
Thread Spec V1.2 - 4.6.5.1.1 Communication between Parent and SSED Child