Skip to content

Commit ebac6f2

Browse files
rlubosmmahadevan108
authored andcommitted
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 7c5c459 commit ebac6f2

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
@@ -541,59 +541,246 @@ Drivers and Sensors
541541
Networking
542542
**********
543543

544+
* 802.15.4:
545+
546+
* Implemented support for beacons without association bit.
547+
* Implemented support for beacons payload.
548+
* Fixed a bug where LL address endianness was swapped twice when deciphering a frame.
549+
* Fixed missing context lock release when checking destination address.
550+
* Improved error logging in 6LoWPAN fragmentation.
551+
* Improved error logging in 802.15.4 management commands.
552+
544553
* ARP:
545554

555+
* Fixed ARP probe verification during IPv4 address conflict detection.
556+
546557
* CoAP:
547558

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

550574
* DHCPv4:
551575

576+
* Added support for parsing multiple DNS servers received from DHCP server.
577+
* Added support for DNS Server option in DHCPv4 server.
578+
* Added support for Router option in DHCPv4 server.
579+
* Added support for application callback which allows to assign custom addresses
580+
in DHCPv4 server.
581+
* Fixed DNS server list allocation in DHCPv4 client.
582+
* Fixed a bug where system workqueue could be blocked indefinitely by DHCPv4 client.
583+
552584
* DHCPv6:
553585

586+
* Fixed a bug where system workqueue could be blocked indefinitely by DHCPv6 client.
587+
554588
* DNS/mDNS/LLMNR:
555589

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

601+
* Fixed handling of second overflow/underflow.
602+
* Fixed PTP clock adjusting with offset.
603+
558604
* HTTP:
559605

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

562624
* IPv4:
563625

626+
* Improved IGMP test coverage.
627+
* Fixed IGMPv2 queries processing when IGMPv3 is enabled.
628+
* Fixed :kconfig:option:`CONFIG_NET_NATIVE_IPV4` dependency for native IPv4 options.
629+
* Fix net_pkt leak in :c:func:`send_ipv4_fragment`.`
630+
564631
* IPv6:
565632

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

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

573665
* Misc:
574666

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

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

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

581-
* PPP
724+
* :kconfig:option:`CONFIG_OPENTHREAD_NAT64_CIDR`
725+
* :kconfig:option:`CONFIG_OPENTHREAD_STORE_FRAME_COUNTER_AHEAD`
726+
* :kconfig:option:`CONFIG_OPENTHREAD_DEFAULT_RX_SENSITIVITY`
727+
* :kconfig:option:`CONFIG_OPENTHREAD_CSL_REQUEST_TIME_AHEAD`
728+
729+
* Fixed deprecated/preferred IPv6 address state transitions.
730+
* Fixed handling of deprecated IPv6 addresses.
731+
* Other various minor fixes in Zephyr's OpenThread port.
582732

583733
* Shell:
584734

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

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

589765
* TCP:
590766

767+
* Fixed propagating connection errors to the socket layer.
768+
* Improved ACK reply logic when peer does not send PSH flag with data.
769+
591770
* Websocket:
592771

772+
* Added support for Websocket console in the Echo Server sample.
773+
* Fixed undefined reference to ``MSG_DONTWAIT`` while building websockets
774+
without POSIX.
775+
593776
* Wi-Fi:
594777

595778
* zperf:
596779

780+
* Added support for USB CDC NCM in the zperf sample.
781+
* Fixed DHCPv4 client not being started in the zperf sample in certain
782+
configurations.
783+
597784
USB
598785
***
599786

0 commit comments

Comments
 (0)