linux-IllusionX/net/can
Oliver Hartkopp 456a8a646b can: gw: add support for CAN FD frames
Introduce CAN FD support which needs an extension of the netlink API to
pass CAN FD type content to the kernel which has a different size to
Classic CAN. Additionally the struct canfd_frame has a new 'flags' element
that can now be modified with can-gw.

The new CGW_FLAGS_CAN_FD option flag defines whether the routing job
handles Classic CAN or CAN FD frames. This setting is very strict at
reception time and enables the new possibilities, e.g. CGW_FDMOD_* and
modifying the flags element of struct canfd_frame, only when
CGW_FLAGS_CAN_FD is set.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2019-08-13 17:32:21 +02:00
..
af_can.c can: af_can: can_pernet_init(): Use preferred style kzalloc(sizeof()) usage 2019-08-13 17:32:20 +02:00
af_can.h can: af_can: add missing identifiers to struct receiver::func 2019-08-13 17:32:20 +02:00
bcm.c can: bcm: switch timer to HRTIMER_MODE_SOFT and remove hrtimer_tasklet 2019-08-13 17:32:20 +02:00
gw.c can: gw: add support for CAN FD frames 2019-08-13 17:32:21 +02:00
Kconfig can: Kconfig: correct history of the CAN protocol 2019-07-24 10:31:55 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
proc.c can: Add SPDX license identifiers for CAN subsystem 2019-07-24 10:31:55 +02:00
raw.c can: raw: raw_sock_no_ioctlcmd(): mark function as static 2019-08-13 17:32:20 +02:00