zephyr/tests/net
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
..
6lo tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
all tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
arp tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
bridge tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
buf tests: net: buf: add tests for data matching 2024-01-16 09:40:04 -06:00
buf_simple tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
checksum_offload tests: net: checksum_offload: Add tests involving IP fragmentation 2023-11-08 15:09:37 +00:00
conn_mgr_conn tests: fix various test identifiers 2023-11-17 09:27:40 +01:00
conn_mgr_monitor tests: fix various test identifiers 2023-11-17 09:27:40 +01:00
context tests: fix thread function signatures 2023-10-30 12:24:34 +01:00
dhcpv4 tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
dhcpv6 tests: net: dhcpv6: Adjust the source address of test pkt 2024-01-03 19:00:33 +00:00
ethernet_mgmt tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
hostname tests: net: hostname: add test for net_hostname_set 2024-01-17 14:42:58 +01:00
icmp net: context: Add support for adjusting IPv4 multicast ttl 2023-12-04 15:07:43 +01:00
icmpv4 net: ipv4: Check localhost for incoming packet 2023-12-21 09:18:24 +01:00
icmpv6 tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
ieee802154 tests ieee802154: Enable for native_sim 2023-11-20 09:21:13 +01:00
iface tests: net: if: Add test to check device readiness 2023-12-14 14:21:31 +01:00
igmp tests: net: igmp: Add socket based join/leave tests 2023-12-04 16:38:49 +00:00
ip-addr tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
ipv4_fragment net: ip: Add option to force checksum calculation 2023-11-08 15:09:37 +00:00
ipv6 tests: net: ipv6: Adjust the source address of test pkt 2024-01-03 19:00:33 +00:00
ipv6_fragment net: ip: Add option to force checksum calculation 2023-11-08 15:09:37 +00:00
lib tests: lwm2m: Update lwm2m_engine tests 2024-01-19 09:48:46 +01:00
mgmt tests: net: mgmt: Add test cases new worker options 2023-12-07 16:15:53 +00:00
mld tests: net: mld: Add socket based join/leave tests 2023-12-04 16:38:49 +00:00
mocks test: net: buf_simple: Add unit tests for simple buffers 2023-03-15 10:50:16 +01:00
neighbor tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
net_pkt tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
npf tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
offloaded_netdev tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
pm tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
ppp/driver tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
promiscuous tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
ptp/clock tests net/ptp/clock: Enable for native_sim 2023-11-20 09:21:13 +01:00
route tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
route_mcast tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
shell tests: net: shell: Increase number of IP address structs 2023-12-04 09:57:35 +01:00
socket drivers: can: remove run-time RTR filtering, add build-time RTR filter 2024-01-21 11:00:31 +01:00
tcp tests: net: tcp: Add tests for last FIN handling 2024-01-09 10:03:08 +01:00
traffic_class tests/net/traffic_class: Enable for native_sim 2023-11-20 09:21:13 +01:00
trickle tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
tx_timestamp tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
udp tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
utils tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
virtual net: ipv4: Check localhost for incoming packet 2023-12-21 09:18:24 +01:00
vlan tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
wifi/wifi_nm tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00