mirror-linux/Documentation
Vincent Mailhol c282993ccd can: remove false statement about 1:1 mapping between DLC and length
The CAN-FD section of can.rst still states that there is a 1:1 mapping
between the Classical CAN DLC and its length. This is only true for
the DLC values up to 8. Beyond that point, the length remains at 8.

For reference, the mapping between the CAN DLC and the length is given
in below table [1]:

	 DLC value	CBFF and CEFF	FBFF and FEFF
	 [decimal]	    [byte]	    [byte]
	----------------------------------------------
		 0		 0		 0
		 1		 1		 1
		 2		 2		 2
		 3		 3		 3
		 4		 4		 4
		 5		 5		 5
		 6		 6		 6
		 7		 7		 7
		 8		 8		 8
		 9		 8		12
		10		 8		16
		11		 8		20
		12		 8		24
		13		 8		32
		14		 8		48
		15		 8		64

Remove the erroneous statement. Instead just state that the length of
a Classical CAN frame ranges from 0 to 8.

[1] ISO 11898-1:2024, Table 5 -- DLC: coding of the four LSB

Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
Link: https://patch.msgid.link/20251013-can-fd-doc-v2-1-5d53bdc8f2ad@kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2025-10-13 21:26:01 +02:00
..
ABI Networking changes for 6.18. 2025-10-02 15:17:01 -07:00
PCI selftests: pci_endpoint: Add doorbell test case 2025-07-24 16:51:47 -05:00
RCU
accel Documentation: accel: amdxdna: Update compiler information 2025-08-21 08:25:31 -07:00
accounting delaytop: enhance error logging and add PSI feature description 2025-08-02 12:01:41 -07:00
admin-guide Networking changes for 6.18. 2025-10-02 15:17:01 -07:00
arch - Make UMIP instruction detection more robust 2025-09-30 13:19:08 -07:00
block
bpf bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
cdrom cdrom: Call cdrom_mrw_exit from cdrom_release function 2025-07-22 19:10:17 -06:00
core-api module: Rename EXPORT_SYMBOL_GPL_FOR_MODULES to EXPORT_SYMBOL_FOR_MODULES 2025-08-11 16:16:36 +02:00
cpu-freq
crypto
dev-tools Documentation: kunit: Document new parameterized test features 2025-08-26 23:36:03 -06:00
devicetree Networking changes for 6.18. 2025-10-02 15:17:01 -07:00
doc-guide
driver-api Networking changes for 6.18. 2025-10-02 15:17:01 -07:00
edac
fault-injection docs: fault-injection: drop reference to md-faulty 2025-07-24 08:31:46 -06:00
fb
features
filesystems for-6.18/block-20250929 2025-10-02 10:16:56 -07:00
firmware-guide Merge branch 'acpi-misc' 2025-07-22 17:12:57 +02:00
firmware_class
fpga
gpu drm next for 6.18-rc1 2025-10-02 12:47:25 -07:00
hid
hwmon hwmon: (cros_ec) register fans into thermal framework cooling devices 2025-09-25 08:08:14 -07:00
i2c i2c: i801: Add support for Intel Wildcat Lake-U 2025-09-28 00:45:53 +02:00
iio
images
infiniband
input Input: Add and document BTN_GRIP* 2025-07-27 01:41:20 -07:00
isdn
kbuild Kbuild updates for 6.18 2025-10-01 20:58:51 -07:00
kernel-hacking
leds
litmus-tests
livepatch
locking
maintainer
mhi
misc-devices
mm Summary of significant series in this pull request: 2025-07-31 14:57:54 -07:00
netlabel
netlink Revert "Documentation: net: add flow control guide and document ethtool API" 2025-10-01 09:48:21 +02:00
networking can: remove false statement about 1:1 mapping between DLC and length 2025-10-13 21:26:01 +02:00
nvdimm
nvme
pcmcia
peci
power regulator: consumer.rst: document bulk operations 2025-08-19 16:52:48 +01:00
process Networking changes for 6.18. 2025-10-02 15:17:01 -07:00
rust
scheduler sched_ext: Changes for v6.17 2025-07-31 16:29:46 -07:00
scsi scsi: switch ->bios_param() to passing gendisk 2025-08-13 02:59:28 -04:00
security hardening updates for v6.17-rc1 2025-07-28 17:16:12 -07:00
sound ALSA: doc: improved docs about quirk_flags in snd-usb-audio 2025-09-28 08:35:29 +02:00
sphinx sphinx: parser_yaml.py: fix line numbers information 2025-08-12 07:47:31 +02:00
sphinx-static
spi
staging Documentation/staging: Fix typo and incorrect citation in crc32.rst 2025-08-20 23:53:32 -04:00
sunrpc/xdr
target
tee Documentation: tee: Add Qualcomm TEE driver 2025-09-15 17:34:06 +02:00
timers
tools tracing tools changes for 6.17: 2025-08-01 10:23:13 -07:00
trace tracing changes for 6.17 2025-08-01 10:29:36 -07:00
translations Documentation: update Hans Verkuil's email address 2025-09-09 15:58:51 +02:00
usb It has been a relatively busy cycle for docs, especially the build system: 2025-07-31 08:36:51 -07:00
userspace-api Networking changes for 6.18. 2025-10-02 15:17:01 -07:00
virt Documentation: KVM: Use unordered list for pre-init VGIC registers 2025-07-29 13:43:50 -04:00
w1
watchdog
wmi
.gitignore
Changes
CodingStyle
Kconfig
Makefile docs: use parser_yaml extension to handle Netlink specs 2025-08-12 07:47:30 +02:00
SubmittingPatches
atomic_bitops.txt
atomic_t.txt
conf.py docs: use parser_yaml extension to handle Netlink specs 2025-08-12 07:47:30 +02:00
docutils.conf
index.rst
memory-barriers.txt
subsystem-apis.rst