zephyr/samples/net/sockets
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
..
big_http_download samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
can drivers: can: remove run-time RTR filtering, add build-time RTR filter 2024-01-21 11:00:31 +01:00
coap_client docs: networing: Replace references to native_posix w native_sim 2023-11-15 10:03:17 +01:00
coap_server net: lib: coap: Use coap_transmission_parameters in coap_server 2023-12-18 09:28:25 +01:00
dumb_http_server samples: net: dumb_http_server: Sleep after accept error 2024-01-09 10:03:08 +01:00
dumb_http_server_mt samples: net: dumb_http_server_mt: Sleep after accept error 2024-01-09 10:03:08 +01:00
echo samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
echo_async samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
echo_async_select samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
echo_client samples: sockets: echo_client: assume connected without connmgr 2023-11-13 09:52:12 +01:00
echo_server samples: fix thread function signatures 2023-10-30 12:24:34 +01:00
echo_service samples: net: sockets: Add echo-service sample 2024-01-16 10:00:45 +01:00
http_client samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
http_get samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
net_mgmt samples: disable usermode for ip_k66f 2023-11-28 11:59:00 -06:00
packet samples coap_server: Move from native_posix to native_sim 2023-11-15 10:03:17 +01:00
sntp_client samples sntp_client: Move from native_posix to native_sim 2023-11-15 10:03:17 +01:00
socketpair samples net/posix: Rename old Makefiles and clarify READMEs 2023-10-20 15:01:42 +02:00
tcp samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
txtime samples/net: Move from native_posix to native_sim 2023-11-15 10:03:17 +01:00
websocket_client random: Rename random header 2023-10-10 14:23:50 +03:00