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

[SocketCAN] Emulate ACK if IFF_ECHO not set #56

Merged
merged 3 commits into from
Apr 1, 2024
Merged

Conversation

pd0wm
Copy link
Contributor

@pd0wm pd0wm commented Apr 1, 2024

See #52 for more details.

tl;dr: Fake ACKs from the kernel waste space in the RX queue, causing dropped messages if many messages are sent simultaneously. Emulate ACK on rust side to keep space in RX queue for real messages.

@pd0wm pd0wm linked an issue Apr 1, 2024 that may be closed by this pull request
@pd0wm pd0wm merged commit 65e8465 into main Apr 1, 2024
2 checks passed
@pd0wm pd0wm deleted the iff-echo-loopback branch April 1, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SocketCAN] Drivers without IFF_ECHO fail to confirm all messages
1 participant