Find a file
Tomasz Bursztyka 85a22063a8 Merge net branch into master
Main changes:

- Bluetooth L2 exposing net mgmt API and a dedicated shell module
- mbedtls DTLS client/server samples
- Bug fixes (mostly TCP, more to come soon)

----------------------------------------------------------------
Andy Ross (2):
      net: tcp: Signal EOF with a NULL buffer in the callback
      net: tcp: Don't leak net_conn_handles

Flavio Santes (6):
      samples/net: Remove legacy reference in Makefile
      samples/net: Update DNS logging info
      samples/net: Update zperf Makefile
      samples/net: Rename prj conf files to avoid breaking the build
      samples/net: Update the zperf/README.rst file
      samples/net: Update DNS client README file to RST format

Johann Fischer (4):
      ieee802154: conf: add common log level
      samples: ieee802154: rename cc2520 to hw
      net: ieee802154: fix validate_mac_command_cfi_to_mhr
      net: ieee802154: inform about unsupported frames

Kumar Gala (1):
      net: Remove NET_SLIP choice from Kconfig

Luiz Augusto von Dentz (13):
      net: mgmt: Make NET_MGMT_GET_* macros return meaningful values
      net: mgmt: Decode event fields
      net: echo_client: Fix using CONFIG_NETWORKING_WITH_BT
      net: echo_client: Don't start sending packets if interface is not UP
      net: bt: Fix not showing any logs
      net: bt: Add connect management command
      net: bt: Add shell support
      net: bt: Add scan management command
      net: bt: Add scan shell command
      net: bt: Add disconnect management command
      net: bt: Add disconnect shell command
      net: echo_client: Enable CONFIG_NET_L2_BLUETOOTH_SHELL in prj_bt.conf
      net: zoap_server: Enable connecting with bluetooth

Michael Scott (7):
      net: net_context: state setting is a value not individual bits
      net: tcp: replace seq/ack/wnd value shifts with system calls
      net: ip: on synack copy local/remote data prior to net_tcp_register
      net: ip: set local address family during TCP connect
      net: ip: set context state to NET_CONTEXT_CONNECTED on synack success
      net: ip: reword appdata debug message in packet_received
      net: ip: save TCP seq/ack values in tcp_synack_received

Sergio Rodriguez (5):
      samples/mbedtls_dtlsclient: Using printk instead of printf
      samples/mbedtls_dtlsclient: Change Readme files to rst format
      samples/mbedtls_dtlsclient: Remove hardcoded IP adresses
      samples/mbedtls_dtlsclient: IPv6 client version
      samples/mbedtls_dtlsserver DTLS server example app using mbedTLS

Tomasz Bursztyka (3):
      samples: net: Echo apps need different IP to be able to work
      net: mgmt: Silently ignore net_mgmt_event functions if not enabled
      samples: net: Fix dhcpv4 building with net mgmt event support

li zj (2):
      net: dhcpv4 : set ciaddr 0.0.0.0 when send DHCPV4_MSG_TYPE_REQUEST
      net: icmpv4 : calculate ipv4 header chksum

 drivers/ieee802154/Kconfig                                         |  57 ++--
 drivers/ieee802154/ieee802154_cc2520.c                             |   6 +-
 drivers/ieee802154/ieee802154_uart_pipe.c                          |   2 +-
 include/net/bt.h                                                   |  64 +++++
 include/net/net_context.h                                          |   9 +-
 include/net/net_mgmt.h                                             |   8 +-
 samples/net/README                                                 |  19 --
 samples/net/dhcpv4_client/prj_arduino_101.conf                     |   3 +
 samples/net/dhcpv4_client/prj_qemu_x86.conf                        |   1 -
 samples/net/dns_client/README.rst                                  | 231 ++++++++++++++++
 samples/net/dns_client/README_IPv4                                 | 187 -------------
 samples/net/dns_client/README_IPv6                                 |  74 ------
 samples/net/dns_client/README_arduino_101                          |  51 ----
 samples/net/dns_client/prj_qemu_x86.conf                           |   1 -
 samples/net/dns_client/sample_output_IPv4.txt                      |  46 ++++
 samples/net/dns_client/sample_output_IPv6.txt                      |  39 +++
 samples/net/dns_client/src/main.c                                  |   2 +-
 samples/net/echo_client/prj_arduino_101_cc2520.conf                |   2 +-
 samples/net/echo_client/prj_bt.conf                                |   3 +
 samples/net/echo_client/prj_cc2520.conf                            |   2 +-
 samples/net/echo_client/prj_frdm_k64f_cc2520.conf                  |   2 +-
 samples/net/echo_client/prj_qemu_802154.conf                       |   2 +-
 samples/net/echo_client/prj_qemu_x86.conf                          |   9 +-
 samples/net/echo_client/prj_slip.conf                              |   9 +-
 samples/net/echo_client/src/echo-client.c                          |  47 +++-
 samples/net/echo_server/prj_arduino_101_cc2520.conf                |   2 +-
 samples/net/echo_server/prj_cc2520.conf                            |   2 +-
 samples/net/echo_server/prj_frdm_k64f_cc2520.conf                  |   2 +-
 samples/net/echo_server/prj_qemu_802154.conf                       |   2 +-
 samples/net/echo_server/prj_qemu_x86.conf                          |   1 -
 samples/net/echo_server/prj_slip.conf                              |   1 -
 samples/net/echo_server/src/echo-server.c                          |   5 +
 samples/net/ieee802154/{cc2520 => hw}/Makefile                     |   0
 samples/net/ieee802154/{cc2520 => hw}/prj.conf                     |   2 +-
 samples/net/ieee802154/{cc2520 => hw}/src/Makefile                 |   0
 samples/net/ieee802154/{cc2520 => hw}/src/ieee802154_test.c        |   0
 samples/net/ieee802154/qemu/prj.conf                               |   2 +-
 samples/net/mbedtls_dtlsclient/README                              | 121 ---------
 samples/net/mbedtls_dtlsclient/README.rst                          | 136 ++++++++++
 .../{README_arduino_101 => README_arduino_101.rst}                 |  25 +-
 samples/net/mbedtls_dtlsclient/prj_qemu_x86.conf                   |   6 +-
 samples/net/mbedtls_dtlsclient/src/Makefile                        |   2 -
 samples/net/mbedtls_dtlsclient/src/dtls_client.c                   |  52 +++-
 samples/net/mbedtls_dtlsclient/src/udp.c                           | 125 ++++++++-
 samples/net/mbedtls_dtlsclient/src/udp_cfg.h                       |  30 +--
 samples/net/mbedtls_dtlsserver/Makefile                            |  24 ++
 samples/net/mbedtls_dtlsserver/README.rst                          | 144 ++++++++++
 samples/net/mbedtls_dtlsserver/prj_qemu_x86.conf                   |  22 ++
 samples/net/mbedtls_dtlsserver/src/Makefile                        |  17 ++
 samples/net/mbedtls_dtlsserver/src/dtls_server.c                   | 428 ++++++++++++++++++++++++++++++
 samples/net/mbedtls_dtlsserver/src/udp.c                           | 253 ++++++++++++++++++
 samples/net/mbedtls_dtlsserver/src/udp.h                           |  34 +++
 samples/net/mbedtls_dtlsserver/src/udp_cfg.h                       |  37 +++
 samples/net/mbedtls_dtlsserver/testcase.ini                        |   4 +
 samples/net/wpan_serial/prj.conf                                   |   2 +-
 samples/net/wpanusb/prj.conf                                       |   2 +-
 samples/net/zoap_client/prj.conf                                   |   1 -
 samples/net/zoap_server/Makefile                                   |   9 +-
 samples/net/zoap_server/prj.conf                                   |   1 -
 samples/net/zoap_server/prj_bt.conf                                |  18 ++
 samples/net/zoap_server/src/Makefile                               |   5 +
 samples/net/zoap_server/src/zoap-server.c                          |  22 +-
 samples/net/zoap_server/testcase.ini                               |   6 +
 samples/net/zperf/Makefile                                         |   1 -
 samples/net/zperf/README.rst                                       |  47 +++-
 samples/net/zperf/{prj_galileo_ethernet.conf => prj_galileo.conf}  |   0
 .../{prj_galileo_ethernet_prof.conf => prj_galileo_prof.conf}      |   0
 samples/net/zperf/prj_qemu_x86.conf                                |   1 -
 subsys/net/ip/Kconfig                                              |   2 +-
 subsys/net/ip/dhcpv4.c                                             |   7 +-
 subsys/net/ip/icmpv4.c                                             |   3 +
 subsys/net/ip/l2/Kconfig                                           |  21 +-
 subsys/net/ip/l2/Makefile                                          |   1 +
 subsys/net/ip/l2/bluetooth.c                                       | 247 ++++++++++++++++-
 subsys/net/ip/l2/bluetooth_shell.c                                 | 151 +++++++++++
 subsys/net/ip/l2/ieee802154/ieee802154_frame.c                     |   4 +-
 subsys/net/ip/l2/ieee802154/ieee802154_mgmt.c                      |   3 +
 subsys/net/ip/net_context.c                                        |  39 ++-
 subsys/net/ip/net_mgmt.c                                           |  10 +-
 subsys/net/ip/tcp.c                                                |  13 +-
 80 files changed, 2326 insertions(+), 645 deletions(-)
 create mode 100644 include/net/bt.h
 create mode 100644 samples/net/dns_client/README.rst
 delete mode 100644 samples/net/dns_client/README_IPv4
 delete mode 100644 samples/net/dns_client/README_IPv6
 delete mode 100644 samples/net/dns_client/README_arduino_101
 create mode 100644 samples/net/dns_client/sample_output_IPv4.txt
 create mode 100644 samples/net/dns_client/sample_output_IPv6.txt
 rename samples/net/ieee802154/{cc2520 => hw}/Makefile (100%)
 rename samples/net/ieee802154/{cc2520 => hw}/prj.conf (95%)
 rename samples/net/ieee802154/{cc2520 => hw}/src/Makefile (100%)
 rename samples/net/ieee802154/{cc2520 => hw}/src/ieee802154_test.c (100%)
 delete mode 100644 samples/net/mbedtls_dtlsclient/README
 create mode 100644 samples/net/mbedtls_dtlsclient/README.rst
 rename samples/net/mbedtls_dtlsclient/{README_arduino_101 => README_arduino_101.rst} (72%)
 create mode 100644 samples/net/mbedtls_dtlsserver/Makefile
 create mode 100644 samples/net/mbedtls_dtlsserver/README.rst
 create mode 100644 samples/net/mbedtls_dtlsserver/prj_qemu_x86.conf
 create mode 100644 samples/net/mbedtls_dtlsserver/src/Makefile
 create mode 100644 samples/net/mbedtls_dtlsserver/src/dtls_server.c
 create mode 100644 samples/net/mbedtls_dtlsserver/src/udp.c
 create mode 100644 samples/net/mbedtls_dtlsserver/src/udp.h
 create mode 100644 samples/net/mbedtls_dtlsserver/src/udp_cfg.h
 create mode 100644 samples/net/mbedtls_dtlsserver/testcase.ini
 create mode 100644 samples/net/zoap_server/prj_bt.conf
 rename samples/net/zperf/{prj_galileo_ethernet.conf => prj_galileo.conf} (100%)
 rename samples/net/zperf/{prj_galileo_ethernet_prof.conf => prj_galileo_prof.conf} (100%)
 create mode 100644 subsys/net/ip/l2/bluetooth_shell.c

Change-Id: Ia8dd7ec706dd128ba6af61390323554d5b7dc183
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2017-01-13 18:12:22 +01:00
.known-issues doc: move documetnation context to root directory 2017-01-06 22:51:31 +00:00
arch arc: fix unaligned variables resulting in unaligned k_cpu_sleep_mode 2017-01-13 01:36:08 +00:00
boards frdm_k64f: hexiwear_k64: Remove defaults for the k64 gpio driver 2017-01-12 09:46:27 -06:00
doc ksdk: mcux: Rename ksdk to mcux 2017-01-12 09:46:26 -06:00
drivers ieee802154: conf: add common log level 2017-01-13 10:29:00 +01:00
ext ksdk: mcux: Remove config HAS_KSDK 2017-01-12 09:46:27 -06:00
include net: bt: Add disconnect management command 2017-01-13 14:37:30 +00:00
kernel kernel: have boot banner depend on console existing 2017-01-12 01:00:14 +00:00
lib net: Restructure network protocols 2017-01-02 10:03:19 +01:00
misc kernel: replace all remaining nanokernel occurances 2016-12-25 14:34:43 -05:00
samples net: zoap_server: Enable connecting with bluetooth 2017-01-13 17:05:53 +00:00
scripts Merge "Merge arm branch into master" 2017-01-12 18:23:39 +00:00
subsys net: ieee802154: inform about unsupported frames 2017-01-13 14:38:59 +00:00
tests tests: add timer test case with unified kernel 2017-01-13 02:46:24 +00:00
.checkpatch.conf checkpatch: ignore CONST_STRUCT warnings 2016-11-11 22:12:22 +00:00
.gitattributes First commit 2015-04-10 16:44:37 -07:00
.gitignore testcases: instruct git to ignore *log and outdir-* 2016-06-14 22:01:34 +00:00
.gitreview Add a .gitreview file 2016-02-20 14:25:01 +00:00
.mailmap mailmap: added axy (for Anas Nashif) 2016-12-21 13:49:59 +00:00
defaults.tc testcases: catch more fatal kernel error messages 2016-11-11 13:21:16 +00:00
index.rst boards: prepare for integration of board documentation 2017-01-10 02:45:54 +00:00
Kbuild kernel: move kernel code to kernel/ directly 2016-12-19 14:59:35 -05:00
Kconfig kconfig: Do not put architecture in the title 2016-03-14 16:50:51 -04:00
Kconfig.zephyr usb: move usb subsystem to subsys/usb and cleanup header inclusion 2016-10-31 19:21:42 +00:00
LICENSE add top level Apache 2.0 license file 2016-02-05 20:24:37 -05:00
MAINTAINERS MAINTAINERS: update sensor drivers section 2017-01-13 01:59:21 +02:00
Makefile build: abstract emulation and replace qemu goal with run 2017-01-10 20:20:47 +00:00
Makefile.inc build: abstract emulation and replace qemu goal with run 2017-01-10 20:20:47 +00:00
Makefile.test tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
zephyr-env.sh zephyr-env: don't fail unnecesarily when 'set -e' 2017-01-07 02:40:04 +00:00