diff options
| author | Oliver Hartkopp <socketcan@hartkopp.net> | 2025-11-26 11:16:17 +0100 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2025-11-26 11:20:44 +0100 |
| commit | 1a620a723853a0f49703c317d52dc6b9602cbaa8 (patch) | |
| tree | 00a2eeebb6feaf269b3e00c4a8b6edc70fefbad4 /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | 816cf430e84b4628dba665491e78ce081a468fcb (diff) | |
can: raw: instantly reject unsupported CAN frames
For real CAN interfaces the CAN_CTRLMODE_FD and CAN_CTRLMODE_XL control
modes indicate whether an interface can handle those CAN FD/XL frames.
In the case a CAN XL interface is configured in CANXL-only mode with
disabled error-signalling neither CAN CC nor CAN FD frames can be sent.
The checks are performed on CAN_RAW sockets to give an instant feedback
to the user when writing unsupported CAN frames to the interface.
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://patch.msgid.link/20251126-canxl-v8-16-e7e3eb74f889@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
