Skip to content

Commit

Permalink
doc: releases: migration-guide: 3.6: removal of run-time CAN RTR filter
Browse files Browse the repository at this point in the history
Add a note about the removal of the CAN_FILTER_DATA and CAN_FILTER_RTR
flags from the CAN controller driver API.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
  • Loading branch information
henrikbrixandersen authored and stephanosio committed Jan 9, 2024
1 parent cd6390e commit a66c30d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/releases/migration-guide-3.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,14 @@ Device Drivers and Device Tree
* The main Kconfig option was renamed from ``CONFIG_CAN_NATIVE_POSIX_LINUX`` to
:kconfig:option:`CONFIG_CAN_NATIVE_LINUX`.

* The ``CAN_FILTER_DATA`` and ``CAN_FILTER_RTR`` flags for filtering between Data and Remote
Transmission Request (RTR) frames were removed since not all CAN controllers implement support for
individual RX filtering based on the RTR bit. Applications can now use
:kconfig:option:`CONFIG_CAN_ACCEPT_RTR` to either accept incoming RTR frames matching CAN filters
or reject all incoming CAN RTR frames (the default). When :kconfig:option:`CONFIG_CAN_ACCEPT_RTR`
is enabled, applications can still filter between Data and RTR frames in their receive callback
functions as needed.

Power Management
================

Expand Down

0 comments on commit a66c30d

Please sign in to comment.