aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2023-12-08 17:57:29 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2024-02-12 16:55:40 +0100
commite1aa35e16399d600215470411dfb56e1d6f8e017 (patch)
tree0bb5b5b1152dd08e7693c489f3418df57f4d3e63 /include/uapi
parentfec846fa7eddf7bb651bf88bd78c7db1410ae3b1 (diff)
downloadlinux-e1aa35e16399d600215470411dfb56e1d6f8e017.tar.gz
can: isotp: support dynamic flow control parameters
The ISO15765-2 standard supports to take the PDUs communication parameters blocksize (BS) and Separation Time minimum (STmin) either from the first received flow control (FC) "static" or from every received FC "dynamic". Add a new CAN_ISOTP_DYN_FC_PARMS flag to support dynamic FC parameters. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Link: https://lore.kernel.org/all/20231208165729.3011-1-socketcan@hartkopp.net Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/can/isotp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/can/isotp.h b/include/uapi/linux/can/isotp.h
index 439c982f7e811..6cde62371b6fb 100644
--- a/include/uapi/linux/can/isotp.h
+++ b/include/uapi/linux/can/isotp.h
@@ -137,6 +137,7 @@ struct can_isotp_ll_options {
#define CAN_ISOTP_WAIT_TX_DONE 0x0400 /* wait for tx completion */
#define CAN_ISOTP_SF_BROADCAST 0x0800 /* 1-to-N functional addressing */
#define CAN_ISOTP_CF_BROADCAST 0x1000 /* 1-to-N transmission w/o FC */
+#define CAN_ISOTP_DYN_FC_PARMS 0x2000 /* dynamic FC parameters BS/STmin */
/* protocol machine default values */