]> git.feebdaed.xyz Git - 0xmirror/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>
Sun, 7 Dec 2025 17:38:56 +0000 (09:38 -0800)
commitfea1a11ec3ee472fc98a6485273421ac38069429
tree3b0c8a319627d4ea0a047236530a0e1b29f2e08b
parenta52858b06f1ac43b2e97c53e46eb82b6863a34e0
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>
ip/iplink_can.c