gnrc_sixlowpan_frag_sfr: provide CongURE support#16156
gnrc_sixlowpan_frag_sfr: provide CongURE support#16156miri64 merged 3 commits intoRIOT-OS:masterfrom
Conversation
208aeea to
669caaa
Compare
|
Rebased and squashed to current master. This PR does not have any dependencies anymore. |
669caaa to
a12b238
Compare
|
Rebased again. |
a12b238 to
e6d0f4d
Compare
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
e6d0f4d to
d4f03f0
Compare
Murdock results✔️ PASSED bc24f9a tests: add test for 6LoWPAN SFR using CongURE
ArtifactsThis only reflects a subset of all builds from https://ci-prod.riot-os.org. Please refer to https://ci.riot-os.org for a complete build for now. |
d4f03f0 to
fe8d824
Compare
|
Rebased to current master. |
benpicco
left a comment
There was a problem hiding this comment.
Open comments still apply 😉
bbef956 to
cbf2b58
Compare
sys/net/gnrc/network_layer/sixlowpan/frag/sfr/gnrc_sixlowpan_frag_sfr.c
Outdated
Show resolved
Hide resolved
sys/net/gnrc/network_layer/sixlowpan/frag/sfr/gnrc_sixlowpan_frag_sfr.c
Outdated
Show resolved
Hide resolved
sys/net/gnrc/network_layer/sixlowpan/frag/sfr/gnrc_sixlowpan_frag_sfr.c
Outdated
Show resolved
Hide resolved
3e616d3 to
bb5e982
Compare
|
Squashed |
bb5e982 to
bc24f9a
Compare
|
Failure of |
|
What was the error? |
|
The test uses randomness so probabilistic failures are possible. |
Yeah, or remove the randomness. ;-). |
|
Yea I mean that's what the seed value would do |
I know. But why is there randomness in a test (that does not test randomness) in the first place ;-). |
|
Because the test uses ZEP dispatcher with a set packet loss probability. |
Contribution description
This provides CongURE support for GNRC's 6LoWPAN SFR implementation and thus a to hook any CongURE congestion control implementation into SFR. The latter will be done in several follow-up PRs, this PR only adds the calling of the functions and tests to if the CongURE state machine is sane.
Testing procedure
Tests are provided in
tests/gnrc_sixlowpan_frag_sfr_congure. They should passThey are based mostly on
tests/gnrc_sixlowpan_frag_sfrwith some cleanup (and tests that do not check sending behavior removed) and additional checks for CongURE. I tried to provide reasoning for the checks in the comments. Please read them carefully.Issues/PRs references
Depends on #16119 and #16133 and their respective dependencies.