Skip to content
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

ieee802154: add default max frame retransmissions config #18264

Merged

Conversation

jia200x
Copy link
Member

@jia200x jia200x commented Jun 27, 2022

Contribution description

This PR adds a IEEE 802.15.4 configuration for setting the maximum number of frame retransmissions.
Thereby the IEEE802154_SUBMAC_MAX_RETRANSMISSIONS is not needed anymore and the user can simply set the number of retransmissions from Kconfig/CFLAGS.

Testing procedure

Try e.g examples/gnrc_networking with any IEEE 802.15.4 HAL based radio (e.g nrf52840). Try pinging with a stress configuration (e.g ping <addr> -c 50 -s 1024 -i 200.
Then, set CONFIG_IEEE802154_DEFAULT_MAX_FRAME_RETRANS to a low value (e.g 1). Repeat the procedure. Packet losses should increase.

Issues/PRs references

None

@jia200x
Copy link
Member Author

jia200x commented Jun 27, 2022

@Teufelchen1

@github-actions github-actions bot added Area: Kconfig Area: Kconfig integration Area: network Area: Networking Area: sys Area: System labels Jun 27, 2022
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Jun 27, 2022
@benpicco benpicco merged commit 5bb12f3 into RIOT-OS:master Jun 28, 2022
@chrysn chrysn added this to the Release 2022.07 milestone Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Kconfig Area: Kconfig integration Area: network Area: Networking Area: sys Area: System CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants