Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Main changes: - HTTP sample application Basic Auth support - DNS parsing fixes - SLIP MAC address can be set from Kconfig - SLIP driver memory corruption fix - IPv6 neighbor unreachability detection (NUD) fixes - ICMPv6 fixes - Compiler warning fixes - IEEE 802.15.4 CC2520 MAC address can be set from Kconfig - Multiple k_delayed_work_init() call fixes in network stack - 6lo (IPv6 header compression) fix - Atmel SAM family GMAC ethernet driver update - RPL protocol header fixes - mbedtls CoAP fixes - Management API supports now synchronous event waiting - RX and TX thread startup fix - net_buf leak fixes in error cases ---------------------------------------------------------------- Flavio Santes (6): samples/http: Match header field ctr with Kconfig variable net/http: Move some statements to the right place samples/net/http: Add the HTTP Basic Authentication routine net/dns: Fix wrong name in DNS answer type routine net/dns: Fix DNS answer RR computation tests/net/dns: Add routines to evaluate DNS responses Inaky Perez-Gonzalez (1): drivers: slip: Allow specifying the MAC address from config file Jukka Rissanen (32): net: ipv6: Add debug function to convert nbr state to string net: ipv6: Print IPv6 neighbor state changes net: ipv6: Send NS when neighbor is added net: ipv6: Return the prefix lifetime in seconds net: shell: Print more detailed neighbor information net: ipv6: Wrong timer was used when reachability timer expired net: ipv6: Add more debugging to reachability timer net: ipv6: Properly enter DELAY state in NUD net: utils: Byte to hex converter had wrong prototype samples: net: zperf: Fix compiler warnings net: tests: nbuf: Fix compiler warnings net: shell: Add cmd to remove IPv6 neighbor from cache net: shell: Pretty print the neighbor cache info net: tests: Fix the default MAC address net: Synchronize TX and RX threads startup net: Ignore everything in RX if interface is not up net: ipv6: Use net_nbuf_unref() to get better debug prints net: ipv6: Make sure there is data to be sent net: ipv6: Clear pending buf if NS cannot be sent net: ipv6: Enhance debug print when handling pending packet drivers: slip: Use always the initialized network interface net: Print error if buf or interface are NULL when receiving pkt net: ipv6: Make config options more fine grained drivers: slip: Fix memory corruption when receiving packet net: ipv6: Cancel the prefix timer before setting it again net: ipv6: Prefix length was incorrectly set net: icmp: Gracefully timeout net_buf get in RX path net: icmp: Update ICMP statistics for every ICMP packet net: icmp: Fix return values of ICMP error send function net: tcp: Print TCP trace in one line samples: net: coaps_client: Fix the parameters when setting callbacks drivers: ieee802154: cc2520: User can set the MAC address Luiz Augusto von Dentz (5): net: if: Don't check NET_IF_UP in net_if_prepare_events net: bt: Fix warnings when debug is enabled net: if: Make sure k_delayed_work_init is only called once net: ipv6: Make sure k_delayed_work_init is only called once net: rpl: Make sure k_delayed_work_init is only called once Michael Scott (2): net: 6lo: Fix typo in compress bit calculation net/http: let HTTP_SERVER, HTTP_CLIENT and HTTP_PARSER select HTTP Paul Sokolovsky (2): net: connection: Move proto2str() to utils.c, rename to net_proto2str() net: context: For bind debug logging, include context protocol. Piotr Mienkowski (1): drivers: Update Atmel SAM family GMAC Ethernet driver Ravi kumar Veeramally (9): net: core: Fix IPv6 RPL extension parsing net: rpl: Add RPL header revert utility net: ipv6: Fix handling of RA 6CO options net: icmpv6: Add support for HBH and RPL option handling net: context: Fix setting of appdata ptr and length net: rpl: Fix compilation warnings about format specifier net: rpl: Add API to access default rpl instance net: Modify IPv4/6 packet finalize API's net: samples: leds_demo: Fix memory leak Sergio Rodriguez (2): samples: mbedtls coap: Fixing entropy source samples: mbedTLS coap: Cleaning prj.conf for QEMU Tomasz Bursztyka (7): net/ieee802154: Add missing line breaks in the shell module net/ieee802154: Fix net mgmt request to get core settings net/mgmt: Add a function to wait on a event synchronously net/mgmt: Add a network interface based synchronous event listener tests/net/mgmt: Add 2 unit tests around synchronous event listeners. net/mgmt: Remove a useless k_sem_init() and use K_SEM_DEFINE instead net/mgmt: Remove the list node before unlocking the semaphore .known-issues/doc/networking.conf | 12 + drivers/ethernet/Kconfig.sam_gmac | 16 +- drivers/ethernet/eth_sam_gmac.c | 82 +++++- drivers/ethernet/eth_sam_gmac_priv.h | 6 +- drivers/ieee802154/Kconfig.cc2520 | 37 +++ drivers/ieee802154/ieee802154_cc2520.c | 15 +- drivers/slip/Kconfig | 11 + drivers/slip/slip.c | 64 ++++- include/net/net_mgmt.h | 92 ++++++- samples/net/coaps_client/src/coaps_client.c | 17 +- samples/net/coaps_server/prj_qemu_x86.conf | 5 +- samples/net/coaps_server/src/coaps_server.c | 13 +- samples/net/echo_server/prj_sam_e70_xplained.conf | 3 - samples/net/http_client/prj_frdm_k64f.conf | 1 - samples/net/http_client/prj_qemu_x86.conf | 1 - samples/net/http_server/README.rst | 21 ++ samples/net/http_server/prj_frdm_k64f.conf | 1 - samples/net/http_server/prj_qemu_x86.conf | 1 - samples/net/http_server/src/config.h | 9 + samples/net/http_server/src/http_server.c | 19 +- samples/net/http_server/src/http_server.h | 2 + samples/net/http_server/src/http_types.h | 4 +- samples/net/http_server/src/http_write_utils.c | 18 ++ samples/net/http_server/src/http_write_utils.h | 4 + samples/net/http_server/src/main.c | 1 + samples/net/leds_demo/src/leds-demo.c | 36 ++- samples/net/zperf/src/zperf_udp_receiver.c | 2 +- samples/net/zperf/src/zperf_udp_uploader.c | 24 +- subsys/net/ip/6lo.c | 2 +- subsys/net/ip/Kconfig.ipv6 | 10 +- subsys/net/ip/connection.c | 24 +- subsys/net/ip/icmpv4.c | 28 +- subsys/net/ip/icmpv6.c | 78 ++++-- subsys/net/ip/ipv4.c | 8 +- subsys/net/ip/ipv4.h | 10 +- subsys/net/ip/ipv6.c | 305 +++++++++++++++------- subsys/net/ip/ipv6.h | 65 +++-- subsys/net/ip/l2/bluetooth.c | 8 +- subsys/net/ip/l2/ieee802154/ieee802154_mgmt.c | 2 +- subsys/net/ip/l2/ieee802154/ieee802154_shell.c | 8 +- subsys/net/ip/net_context.c | 98 +++---- subsys/net/ip/net_core.c | 30 ++- subsys/net/ip/net_if.c | 189 ++++++++------ subsys/net/ip/net_mgmt.c | 108 +++++++- subsys/net/ip/net_private.h | 6 +- subsys/net/ip/net_shell.c | 68 +++-- subsys/net/ip/rpl.c | 223 +++++++++++----- subsys/net/ip/rpl.h | 30 ++- subsys/net/ip/tcp.c | 85 +++--- subsys/net/ip/utils.c | 18 ++ subsys/net/lib/dns/dns_pack.c | 4 +- subsys/net/lib/dns/dns_pack.h | 11 +- subsys/net/lib/http/Kconfig | 6 +- subsys/net/lib/http/http_server.c | 10 +- tests/net/6lo/src/main.c | 4 +- tests/net/arp/src/main.c | 10 +- tests/net/context/prj.conf | 3 + tests/net/context/src/main.c | 10 +- tests/net/dhcpv4/prj.conf | 1 + tests/net/dhcpv4/src/main.c | 24 +- tests/net/iface/src/main.c | 10 +- tests/net/ip-addr/src/main.c | 10 +- tests/net/ipv6/src/main.c | 10 +- tests/net/lib/dns_packet/src/dns_packet.c | 266 ++++++++++++++++++- tests/net/lib/http_header_fields/prj.conf | 1 - tests/net/mgmt/src/mgmt.c | 57 +++- tests/net/mld/src/main.c | 12 +- tests/net/nbuf/src/main.c | 28 +- tests/net/route/src/main.c | 14 +- tests/net/rpl/src/main.c | 10 +- tests/net/tcp/src/main.c | 10 +- tests/net/udp/src/main.c | 10 +- 72 files changed, 1780 insertions(+), 661 deletions(-) Change-Id: I6f911be46eec8ae760fc5077d473aca6c47e91ae Signed-off-by: Jukka Rissanen <[email protected]>
- Loading branch information