Files
kernel_arpi/include/uapi/linux
Oliver Hartkopp 6f3b911d5f can: bcm: add support for CAN FD frames
The programming API of the CAN_BCM depends on struct can_frame which is
given as array directly behind the bcm_msg_head structure. To follow this
schema for the CAN FD frames a new flag 'CAN_FD_FRAME' in the bcm_msg_head
flags indicates that the concatenated CAN frame structures behind the
bcm_msg_head are defined as struct canfd_frame.

This patch adds the support to handle CAN and CAN FD frames on a per BCM-op
base. Main changes:

- generally use struct canfd_frames instead if struct can_frames
- use canfd_frame.flags instead of can_frame.can_dlc for private BCM flags
- make all CAN frame sizes depending on the new CAN_FD_FRAME flags
- separate between CAN and CAN FD when sending/receiving frames

Due to the dependence of the CAN_FD_FRAME flag the former binary interface
for classic CAN frames remains stable.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2016-06-17 15:39:46 +02:00
..
2016-04-03 11:14:01 +01:00
2016-04-19 04:33:15 +09:00
2015-10-05 03:16:46 -07:00
2016-03-15 16:55:16 -07:00
2016-05-06 16:01:53 -04:00
2016-01-20 17:09:18 -08:00
2016-06-08 11:36:02 -07:00
2015-12-14 12:19:37 -06:00
2016-03-10 16:02:52 +07:00
2016-04-15 17:06:48 -04:00
2016-03-22 15:36:02 -07:00
2016-04-12 19:54:58 +01:00
2016-05-11 22:37:54 +02:00
2016-04-25 15:09:10 -04:00
2016-01-12 08:21:18 -07:00
2015-11-23 15:06:38 -05:00
2016-05-17 17:14:21 -06:00
2015-09-04 16:54:41 -07:00
2016-05-08 23:46:14 -04:00
2016-04-26 12:00:48 -04:00
2016-04-04 22:11:20 -04:00
2015-12-18 17:48:51 -08:00
2015-10-27 18:55:31 -07:00
2016-05-20 17:58:30 -07:00
2016-03-11 02:18:53 +02:00
2016-04-30 09:26:55 -07:00
2016-04-23 20:13:25 -04:00