zephyr/tests/subsys
Henrik Brix Andersen 3436c93387 drivers: can: remove run-time RTR filtering, add build-time RTR filter
A growing number of CAN controllers do not have support for individual RX
hardware filters based on the Remote Transmission Request (RTR) bit. This
leads to various work-arounds on the driver level mixing hardware and
software filtering.

As the use of RTR frames is discouraged by CAN in Automation (CiA) - and
not even supported by newer standards, e.g. CAN FD - this often leads to
unnecessary overhead, added complexity, and worst-case to non-portable
behavior between various CAN controller drivers.

Instead, move to a simpler approach where the ability to accept/reject RTR
frames is globally configured via Kconfig. By default, all incoming RTR
frames are rejected at the driver level, a setting which can be supported
in hardware by most in-tree CAN controllers drivers.

Legacy applications or protocol implementations, where RTR reception is
required, can now select CONFIG_CAN_ACCEPT_RTR to accept incoming RTR
frames matching added CAN filters. These applications or protocols will
need to distinguish between RTR and data frames in their respective CAN RX
frame handling routines.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-21 11:00:31 +01:00
..
bindesc/definition tests/subsys/bindesc/definition: Enable for native_sim 2023-11-30 09:42:25 -05:00
canbus/isotp drivers: can: remove run-time RTR filtering, add build-time RTR filter 2024-01-21 11:00:31 +01:00
debug samples: debug: Add support for qemu_cortex_a9 in GDB stub sample 2023-12-18 09:31:42 +01:00
dfu tests/subsys/dfu/*: Switch to native_sim 2023-11-22 09:53:20 +01:00
dsp tests/subsys/*: Switch integration platform to native_sim 2023-11-30 09:42:25 -05:00
edac tests: fix thread function signatures 2023-10-30 12:24:34 +01:00
emul tests/subsys/emul: Enable for native_sim 2023-11-27 16:06:42 +00:00
fs tests: exclude renode from tests requiring unsimulated peripherals 2024-01-08 16:17:43 +00:00
input test: add a test for the kbd_matrix_state command 2023-12-08 20:16:39 +00:00
ipc tests/subsys/*: Switch integration platform to native_sim 2023-11-30 09:42:25 -05:00
jwt modules: mbedtls: Add a mbedtls_ms_time implementation 2024-01-17 16:52:52 +01:00
llext llext: define add_llext_target() for llext compilation 2024-01-21 10:59:49 +01:00
logging tests: logging: log_api: Extend to cover frontend runtime filtering 2024-01-15 09:57:54 +01:00
mem_mgmt tests: move shared_multi_heap to tests/lib 2023-12-13 17:27:54 -05:00
mgmt soc: esp32: refactor esp32_net 2024-01-13 00:22:24 +00:00
modbus tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
modem tests: modem: cmux: Implement TRANSMIT_IDLE into test suite 2024-01-17 09:20:50 -06:00
openthread tests/subsys/openthread: Enable for native_sim 2023-11-27 16:06:42 +00:00
pm PM: Add testing pm_device_state_str function. 2024-01-05 14:47:14 -05:00
portability tests/subsys/*: Switch integration platform to native_sim 2023-11-30 09:42:25 -05:00
rtio/rtio_api tests/subsys/*: Switch integration platform to native_sim 2023-11-30 09:42:25 -05:00
sd tests: add test for SDIO subsystem 2023-11-06 19:01:08 -05:00
settings tests/subsys/settings/functional/*: Switch to native_sim 2023-11-22 09:53:20 +01:00
shell tests: shell: shell_uart: add test for multi-instance 2023-12-06 11:27:20 -08:00
sip_svc tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
storage tests/subsys/storage/*: Switch to native_sim 2023-11-22 09:54:03 +01:00
testsuite/fff_fake_contexts tests/subsys/testsuite/fff_fake_contexts: Enable for native_sim 2023-11-27 16:06:42 +00:00
tracing/tracing_api tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
usb usb: device_next: uac2: interface descriptor macros 2023-12-15 14:24:44 +01:00
zbus tests: zbus: add HLP priority boost tests 2024-01-04 09:41:54 +01:00