Use CAN get/setPAyloadLength in kernel module
Open
Beginner friendly
- Dominant language
- C
- Stars
- 78
- Forks
- 32
- Avg merge
- 19h 33m
- Merged PRs (30d)
- 37
Description
The kernel module in still does its own padding/length calculations in 1722ethernet.c, because the code predates the inline helpers. We should update that,using the "Known-good" functions from the CAN headers instead
Contributor guide
Research direction
Start in 1722ethernet.c and inspect the existing padding and length calculations alongside the CAN headers' get/setPayloadLength helpers. Replace the local calculations with those helpers and confirm the kernel module retains the expected payload lengths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, operating-systems
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 76/100