]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iplink_can: add CAN XL transceiver mode setting (TMS) support
authorVincent Mailhol <mailhol@kernel.org>
Wed, 3 Dec 2025 18:24:33 +0000 (19:24 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 14 Jan 2026 18:51:08 +0000 (10:51 -0800)
commitabb0e0fe3b0db294a69257f814c513f86c8a97d3
tree3b0c8a319627d4ea0a047236530a0e1b29f2e08b
parent4369891bf3548853a6b9d939fa23da521f062999
iplink_can: add CAN XL transceiver mode setting (TMS) support

This is the iproute2 counterpart of Linux kernel's commit 233134af2086
("can: netlink: add CAN_CTRLMODE_XL_TMS flag").

The Transceiver Mode Switching (TMS) indicates whether the CAN XL
controller shall use the PWM or NRZ encoding during the data phase.

The term "transceiver mode switching" is used in both ISO 11898-1 and CiA
612-2 (although only the latter one uses the abbreviation TMS). We adopt
the same naming convention here for consistency.

Add the "tms" option to iplink_can which controls the CAN_CTRLMODE_XL_TMS
flag of the CAN netlink interface.

Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/iplink_can.c