COVESA / COVESA/Open1722

Use CAN get/setPAyloadLength in kernel module

Open Beginner friendly
#201 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.