Skip to content

Commit 72977fd

Browse files
committed
doc: release-notes: Add 4.0.0 release notes for networking
Add 4.0.0 release notes for networking. Signed-off-by: Robert Lubos <[email protected]>
1 parent 6798064 commit 72977fd

File tree

1 file changed

+196
-9
lines changed

1 file changed

+196
-9
lines changed

doc/releases/release-notes-4.0.rst

Lines changed: 196 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -537,59 +537,246 @@ Drivers and Sensors
537537
Networking
538538
**********
539539

540+
* 802.15.4:
541+
542+
* Implemented support for beacons without association bit.
543+
* Implemented support for beacons payload.
544+
* Fixed a bug where LL address endianness was swapped twice when deciphering a frame.
545+
* Fixed missing context lock release when checking destination address.
546+
* Improved error logging in 6LoWPAN fragmentation.
547+
* Improved error logging in 802.15.4 management commands.
548+
540549
* ARP:
541550

551+
* Fixed ARP probe verification during IPv4 address conflict detection.
552+
542553
* CoAP:
543554

544-
* Connection manager:
555+
* Added new API :c:func:`coap_rst_init` to simplify creating RST replies.
556+
* Implemented replying with CoAP RST response for unknown queries in CoAP client.
557+
* Added support for runtime configuration of ACK random factor parameter.
558+
* Added support for No Response CoAP option.
559+
* Added a new sample demonstrating downloading a resource with GET request.
560+
* Fixed handling of received CoAP RST reply in CoAP client.
561+
* Fixed socket error reporting to the application in CoAP client.
562+
* Fixed handling of response retransmissions in CoAP client.
563+
* Fixed a bug where CoAP block numbers were limited to ``uint8_t``.
564+
* Various fixes in the block transfer support in CoAP client.
565+
* Improved handling of truncated datagrams in CoAP client.
566+
* Improved thread safety of CoAP client.
567+
* Fixed missing ``static`` keyword in some internal functions.
568+
* Various other minor fixes in CoAP client.
545569

546570
* DHCPv4:
547571

572+
* Added support for parsing multiple DNS servers received from DHCP server.
573+
* Added support for DNS Server option in DHCPv4 server.
574+
* Added support for Router option in DHCPv4 server.
575+
* Added support for application callback which allows to assign custom addresses
576+
in DHCPv4 server.
577+
* Fixed DNS server list allocation in DHCPv4 client.
578+
* Fixed a bug where system workqueue could be blocked indefinitely by DHCPv4 client.
579+
548580
* DHCPv6:
549581

582+
* Fixed a bug where system workqueue could be blocked indefinitely by DHCPv6 client.
583+
550584
* DNS/mDNS/LLMNR:
551585

586+
* Added support for collecting DNS statistics.
587+
* Added support for more error codes in :c:func:`zsock_gai_strerror`.
588+
* Fixed handling of DNS responses encoded with capital letters.
589+
* Fixed DNS dispatcher operation on multiple network interfaces.
590+
* Fixed error being reported for mDNS queries with query count equal to 0.
591+
* Various other minor fixes in DNS/mDNS implementations.
592+
593+
* Ethernet:
594+
552595
* gPTP/PTP:
553596

597+
* Fixed handling of second overflow/underflow.
598+
* Fixed PTP clock adjusting with offset.
599+
554600
* HTTP:
555601

556-
* IPSP:
602+
* Added support for specifying response headers and response code by the application.
603+
* Added support for netusb in the HTTP server sample.
604+
* Added support for accessing HTTP request headers from the application callback.
605+
* Added support for handling IPv4 connections over IPv6 socket in HTTP server.
606+
* Added support for creating HTTP server instances without specifying local host.
607+
* Added overlays to support HTTP over IEEE 802.15.4 for HTTP client and server
608+
samples.
609+
* Added support for static filesystem resources in HTTP server.
610+
* Fixed assertion in HTTP server sample when resource upload was aborted.
611+
* Refactored dynamic resource callback format for easier handling of short
612+
requests/replies.
613+
* Fixed possible busy-looping in case of errors in the HTTP server sample.
614+
* Fixed possible incorrect HTTP headers matching in HTTP server.
615+
* Refactored HTTP server sample to better demonstrate server use cases.
616+
* Fixed processing of multiple HTTP/1 requests over the same connection.
617+
* Improved HTTP server test coverage.
618+
* Various other minor fixes in HTTP server.
557619

558620
* IPv4:
559621

622+
* Improved IGMP test coverage.
623+
* Fixed IGMPv2 queries processing when IGMPv3 is enabled.
624+
* Fixed :kconfig:option:`CONFIG_NET_NATIVE_IPV4` dependency for native IPv4 options.
625+
* Fix net_pkt leak in :c:func:`send_ipv4_fragment`.`
626+
560627
* IPv6:
561628

629+
* Added a public header for Multicast Listener Discovery APIs.
630+
* Added new :c:func:`net_ipv6_addr_prefix_mask` API function.
631+
* Made IPv6 Router Solicitation timeout configurable.
632+
* Fixed endless IPv6 packet looping with both routing and VLAN support enabled.
633+
* Fixed unneeded error logging in case of dropped NS packets.
634+
* Fixed accepting of incoming DAD NS messages.
635+
* Various fixes improving IPv6 routing.
636+
562637
* LwM2M:
563-
* Location object: optional resources altitude, radius, and speed can now be
564-
used optionally as per the location object's specification. Users of these
565-
resources will now need to provide a read buffer.
566638

567-
* lwm2m_senml_cbor: Regenerated generated code files using zcbor 0.9.0
639+
* Added TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 to DTLS cipher list.
640+
* Added LwM2M shell command for listing resources.
641+
* Added LwM2M shell command to list observations.
642+
* Added support for accepting SenML-CBOR floats decoded as integers.
643+
* Added support for X509 hostname verification if using certificates, when
644+
URI contains valid name.
645+
* Regenerated generated code files using zcbor 0.9.0 for lwm2m_senml_cbor.
646+
* Improved thread safety of the LwM2M engine.
647+
* Fixed block transfer issues for composite operations.
648+
* Fixed enabler version reporting during bootstrap discovery.
649+
* Removed unneeded Security object instance from the LwM2M client sample.
650+
* Fixed buffer size check for U16 resource.
651+
* Removed deprecated APIs and configs.
652+
* Optional Location object resources altitude, radius, and speed can now be
653+
used optionally as per the location object's specification. Users of these
654+
resources will now need to provide a read buffer.
655+
* Fixed the retry counter not being reset on successful Registration update.
656+
* Fixed REGISTRATION_TIMEOUT event not always being emitted on registration
657+
errors.
658+
* Fixed c++ support in LwM2M public header.
659+
* Fixed a bug where DISCONNECTED event was not always emitted when needed.
568660

569661
* Misc:
570662

663+
* Added support for network packet allocation statistics.
664+
* Added a new library implementing Prometheus monitoring support.
665+
* Added USB CDC NCM support for Echo Server sample.
666+
* Added packet drop statistics for capture interfaces.
667+
* Added new :c:func:`net_hostname_set_postfix_str` API function to set hostname
668+
postfix in non-hexadecimal format.
669+
* Added API version information to public networking headers.
670+
* Implemented optional periodic SNTP time resynchronization.
671+
* Improved error reporting when starting/stopping virtual interfaces.
672+
* Fixed build error of packet capture library when variable sized buffers are used.
673+
* Fixed build error of packet capture library when either IPv4 or IPv6 is disabled.
674+
* Fixed CMake complaint about missing sources in net library in certain
675+
configurations.
676+
* Fixed compilation issues with networking and SystemView Tracing enabled.
677+
* Removed redundant DHCPv4 code from telnet sample.
678+
* Fixed build warnings in Echo Client sample with IPv6 disabled.
679+
* Removed deprecated net_pkt functions.
680+
* Extended network tracing support and added documentation page
681+
(:ref:`network_tracing`).
682+
* Moved network buffers implementation out of net subsystem into lib directory
683+
and renamed public header to :zephyr_file:`include/zephyr/net_buf.h`.
684+
* Deprecated the :c:func:`net_buf_put` and :c:func:`net_buf_get` API functions.
685+
* Removed ``wpansub`` sample.
686+
571687
* MQTT:
572688

689+
* Updated information in the mqtt_publisher sample about Mosquitto broker
690+
configuration.
691+
* Updated MQTT tests to be self-contained, no longer requiring external broker.
692+
* Optimized buffer handling in MQTT encoder/decoder.
693+
694+
* Network contexts:
695+
696+
* Fixed IPv4 destination address setting when using :c:func:`sendmsg` with
697+
:kconfig:option:`CONFIG_NET_IPV4_MAPPING_TO_IPV6` option enabled.
698+
* Fixed possible unaligned memory access when in :c:func:`net_context_bind`.
699+
* Fixed missing NULL pointer check for V6ONLY option read.
700+
573701
* Network Interface:
574702

575-
* OpenThread
703+
* Added new :c:func:`net_if_ipv4_get_gw` API function.
704+
* Fixed checksum offloading checks for VLAN interfaces.
705+
* Fixed native IP support being required to register IP addresses on an
706+
interface.
707+
* Fixed missing mutex locks in a few net_if functions.
708+
* Fixed rejoining of IPv6 multicast groups.
709+
* Fixed :c:func:`net_if_send_data` operation for offloaded interfaces.
710+
* Fixed needless IPv6 multicast groups joining if IPv6 is disabled.
711+
* Fixed compiler warnings when building with ``-Wtype-limits``.
712+
713+
* OpenThread:
714+
715+
* Added support for :kconfig:option:`CONFIG_IEEE802154_SELECTIVE_TXCHANNEL`
716+
option in OpenThread radio platform.
717+
* Added NAT64 send and receive callbacks.
718+
* Added new Kconfig options:
576719

577-
* PPP
720+
* :kconfig:option:`CONFIG_OPENTHREAD_NAT64_CIDR`
721+
* :kconfig:option:`CONFIG_OPENTHREAD_STORE_FRAME_COUNTER_AHEAD`
722+
* :kconfig:option:`CONFIG_OPENTHREAD_DEFAULT_RX_SENSITIVITY`
723+
* :kconfig:option:`CONFIG_OPENTHREAD_CSL_REQUEST_TIME_AHEAD`
724+
725+
* Fixed deprecated/preferred IPv6 address state transitions.
726+
* Fixed handling of deprecated IPv6 addresses.
727+
* Other various minor fixes in Zephyr's OpenThread port.
578728

579729
* Shell:
580730

731+
* Added support for enabling/disabling individual network shell commands with
732+
Kconfig.
733+
* Added new ``net dhcpv4/6 client`` commands for DHCPv4/6 client management.
734+
* Added new ``net virtual`` commands for virtual interface management.
735+
* ``net ipv4/6`` commands are now available even if native IP stack is disabled.
736+
* Added new ``net cm`` commands exposing Connection Manager functionality.
737+
* Fixed possible assertion if telnet shell backend connection is terminated.
738+
* Event monitor thread stack size is now configurable with Kconfig.
739+
* Relocated ``bridge`` command under ``net`` command, i. e. ``net bridge``.
740+
* Multiple minor improvements in various command outputs.
741+
581742
* Sockets:
582743

583-
* Syslog:
744+
* Added dedicated ``net_socket_service_handler_t`` callback function type for
745+
socket services.
746+
* Added TLS 1.3 support for TLS sockets.
747+
* Fixed socket leak when closing NSOS socket.
748+
* Moved socket service library out of experimental.
749+
* Deprecated ``CONFIG_NET_SOCKETS_POLL_MAX``.
750+
* Moved ``zsock_poll()`` and ``zsock_select`` implementations into ``zvfs``
751+
library.
752+
* Removed ``work_q`` parameter from socket service macros as it was no longer
753+
used.
754+
* Separated native INET sockets implementation from socket syscalls so that
755+
it doesn't have to be built when offloaded sockets are used.
756+
* Fixed possible infinite block inside TLS socket :c:func:`zsock_connect` when
757+
peer goes down silently.
758+
* Fixed ``msg_controllen`` not being set correctly in :c:func:`zsock_recvmsg`.
759+
* Fixed possible busy-looping when polling TLS socket for POLLOUT event.
584760

585761
* TCP:
586762

763+
* Fixed propagating connection errors to the socket layer.
764+
* Improved ACK reply logic when peer does not send PSH flag with data.
765+
587766
* Websocket:
588767

768+
* Added support for Websocket console in the Echo Server sample.
769+
* Fixed undefined reference to ``MSG_DONTWAIT`` while building websockets
770+
without POSIX.
771+
589772
* Wi-Fi:
590773

591774
* zperf:
592775

776+
* Added support for USB CDC NCM in the zperf sample.
777+
* Fixed DHCPv4 client not being started in the zperf sample in certain
778+
configurations.
779+
593780
USB
594781
***
595782

0 commit comments

Comments
 (0)