OpenCloudOS-Kernel/include/uapi/linux/can
Oleksij Rempel 5b9272e93f can: j1939: extend UAPI to notify about RX status
To be able to create applications with user friendly feedback, we need be
able to provide receive status information.

Typical ETP transfer may take seconds or even hours. To give user some
clue or show a progress bar, the stack should push status updates.
Same as for the TX information, the socket error queue will be used with
following new signals:
- J1939_EE_INFO_RX_RTS   - received and accepted request to send signal.
- J1939_EE_INFO_RX_DPO   - received data package offset signal
- J1939_EE_INFO_RX_ABORT - RX session was aborted

Instead of completion signal, user will get data package.
To activate this signals, application should set
SOF_TIMESTAMPING_RX_SOFTWARE to the SO_TIMESTAMPING socket option. This
will avoid unpredictable application behavior for the old software.

Link: https://lore.kernel.org/r/20210707094854.30781-3-o.rempel@pengutronix.de
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2021-08-04 12:11:52 +02:00
..
bcm.h can: don't use deprecated license identifiers 2019-11-05 12:44:34 +01:00
error.h can: don't use deprecated license identifiers 2019-11-05 12:44:34 +01:00
gw.h can: gw: support modification of Classical CAN DLCs 2020-11-20 12:05:14 +01:00
isotp.h can: isotp: add SF_BROADCAST support for functional addressing 2020-12-10 09:31:40 +01:00
j1939.h can: j1939: extend UAPI to notify about RX status 2021-08-04 12:11:52 +02:00
netlink.h can: add optional DLC element to Classical CAN frame structure 2020-11-20 09:43:29 +01:00
raw.h can: raw: add missing error queue support 2020-10-06 22:44:27 +02:00
vxcan.h can: don't use deprecated license identifiers 2019-11-05 12:44:34 +01:00