can: netlink: Add CAN_CTRLMODE_PRESUME_ACK flag
authorNikita Edward Baruzdin <nebaruzdin@gmail.com>
Fri, 11 Jul 2014 12:13:22 +0000 (16:13 +0400)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 15 Jul 2014 07:34:19 +0000 (09:34 +0200)
commit4b9e1bab12c9b6de965268c2fbe6ebbb35dddd89
treedd95e97fca21898ae45f19aa693993ab65a11ede
parentf736d9985e69e72d9a2ebfd131a72ee8f870c6f3
can: netlink: Add CAN_CTRLMODE_PRESUME_ACK flag

Most CAN controllers have a support for ignoring ACK absence. Some of
them refer to this feature as a self test mode (e. g. SJA1000) and some
include it as a part of a loopback mode (e. g. MCP2510).

Setting the introduced flag via netlink should make CAN controller
perform a successful transmission, even if there is no acknowledgement
(dominant ACK bit) received.

Signed-off-by: Nikita Edward Baruzdin <nebaruzdin@gmail.com>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
include/uapi/linux/can/netlink.h