-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[WIP] drivers/kw2xrf: CSMA support #12589
Conversation
This is WIP and still has to be tested and further developed. |
{ | ||
rnd = 1; //Wait at least ONE unit time, so timer target doesn't pass | ||
} | ||
|
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.
Shouldn't this rather be the statement of the sort rnd = max(rnd,1) ?
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.
Wouldn't that describe the same logic? Or am I missing something?
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. |
Contribution description
CSMA support for kw2xrf board.
kw2xrf does not support CSMA in hardware, but it can be emulated by performing CCAs, combined with exponential backoff.
This implementation is based on #12277, but some things were handled differently.
Issues/PRs references
Original issue: #10364