mirror-linux/include/uapi/linux/can
Vincent Mailhol 3f9c26210c can: error: add definitions for the different CAN error thresholds
Currently, drivers are using magic numbers to derive the CAN error
states from the error counter. Add three macro declarations to
remediate this.

For reference, the error-active, error-passive and bus-off are defined
in ISO 11898, section 12.1.4.2 "Error counting". Although ISO 11898
does not define error-warning state, this extra value is also commonly
used and is thus also added.

Link: https://lore.kernel.org/all/20220719143550.3681-13-mailhol.vincent@wanadoo.fr
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2022-07-20 09:27:51 +02:00
..
bcm.h
error.h can: error: add definitions for the different CAN error thresholds 2022-07-20 09:27:51 +02:00
gw.h can: gw: support modification of Classical CAN DLCs 2020-11-20 12:05:14 +01:00
isotp.h can: isotp: add support for transmission without flow control 2022-05-16 22:03:45 +02:00
j1939.h can: j1939: extend UAPI to notify about RX status 2021-08-04 12:11:52 +02:00
netlink.h can: netlink: report the CAN controller mode supported flags 2022-01-05 12:09:06 +01:00
raw.h can: raw: add missing error queue support 2020-10-06 22:44:27 +02:00
vxcan.h