Skip to content

Conversation

@martinjaeger
Copy link
Member

Align the struct socketcan_frame to most recent Linux kernel.

Compatibility with legacy can frames is maintained because the DLC is equal to payload length for up to 8 bytes. Only the data buffer is extended, resulting in larger size when CAN FD is enabled.

Align the struct socketcan_frame to most recent Linux kernel.

Compatibility with legacy can frames is maintained because the DLC is
equal to payload length for up to 8 bytes. Only the data buffer is
extended, resulting in larger size when CAN FD is enabled.

Signed-off-by: Martin Jäger <martin@libre.solar>
@fabiobaltieri fabiobaltieri merged commit c05e71e into zephyrproject-rtos:main Sep 5, 2022
@martinjaeger martinjaeger deleted the socketcan-fd-support branch September 13, 2022 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants