Commit Graph

98 Commits (f37b0c485ba59737753d8afb80c492555676bc60)

Author SHA1 Message Date
Martin Kojtal 1849bb55ed
Merge pull request #14817 from artokin/add_nanostack_system_time_callbacks_to_master
Add system time read/write callbacks to mbed-mesh-api
2021-07-08 14:38:18 +02:00
Arto Kinnunen 9913b59901 Update file path in CMakeLists.txt
Folder 'protocols' was missing from the file path.
2021-06-29 17:50:43 +03:00
Arto Kinnunen 2856a885b0 Update CMakeLists and file locations
Move ns_file.c/h to correct location and update CMakeLists to include
ns_file.c
2021-06-29 17:40:07 +03:00
Arto Kinnunen b3cced7d7f Update sal-stack-nanostack CMakeLists
Add new files to CMakeLists.txt
2021-06-28 09:38:49 +03:00
Arto Kinnunen 3b9a9c7fe3 Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 0903b819c5..4a3c5c525b
4a3c5c525b Merge remote-tracking branch 'origin/release_internal' into release_external
2b8d2e1356 Do not reset radio when MAC data request timeouts (#2647)
95c506a276 Frame counters for nw keys are now stored to NVM only after send key is set (#2641)
3b3010a79b Adjusted stagger random to [min,min+max] and for small nw set the stagger value to 10 seconds
02bc33a242 Adjusted security protocol (EAP-TLS,4WH,2WH) retry timers
eb26726020 High Priority timestamp compare overflow support fix.
928723a33e FHSS WS: Initialize broadcast channel count when enabling FHSS (#2642)
6040d703c8 Updated change log
667b191223 Changed initial EAPOL-key retries from trickle to exponential backup
d925145d33 Add RTT calculation for DHCP Time calculation
0b82953567 Traceroute bug fix.
04de6e26d8 Merge pull request #2638 from PelionIoT/mbed_os_fix_ufsi_calculation
20123477c6 Fixed FHSS UFSI calculation unit tests
436f16e84f Handle timer rollover in calculate_ufsi
411cf5c7a4 coding style
d6f44218d6 Correct ufsi timing calculation
560619d85d Add network time vendor data element to DHCPv6 reply message
6d290dc3c1 System time read/write callbacks (#2637)
7905df666d Restart or remove transmission when MAC data request timeouts (#2636)
c97695cfc6 Bug fix: EAPOL parent compare fix
e283e6285c Fixed channel mask usage with OFDM configurations (#2633)
24168f891b Do not send too old packets (#2632)
dbd83be16d Fix copyrights (#2631)
7f0cffdbf7 Merge pull request #2630 from PelionIoT/use_pelion_copyright
511bd5a3ad Corrected coding style
57ec0281a8 Corrected comparison
7d853de862 When EAPOL waiting queue is full oldest entry is removed
acf580fbd0 Update copyright in changed MDNS files
933c0bbf0a Update copyright
3aeb2af77c Statistics for data request latencies (#2629)
3f7eae64ef EAPOL FHSS temp entry discover
5200b666e7 DHCP time elapsed time write fix.
0536874f64 Removed empty EAPOL-key message send after 4WH completion to nodes on relay
8a2a683aef Fixed DHCP wrong time elapsed value write.
283f2ee685 DHCPv6 update:
99be7783ec EAPOL temp neighbour update
4f9e3d12ab Adaptation layer to remove oldest packet first
20f1f6492f Added ignoring of retry messages from RADIUS server when waiting EAP-TLS
8a8b407c47 Add RSL check for ETX Calculation for RPL parent selection
c05e1da757 Fix DHCP server Uninitialized memory read
77229eefa6 Fix CPP error from domain prefix check
7e47889111 support filtering of EAPOL parents based device-min-sens configuration
618a19192c Wi-SUN Expedite forward state update
4371462d66 Fix NULL read from RPL header addition
7802c7ee97 Update CHANGELOG.md
b2c810402c CHANGELOG for Nanostack v13.0.0 (#2615)

git-subtree-dir: connectivity/nanostack/sal-stack-nanostack
git-subtree-split: 4a3c5c525b2a62c19ecfb0ac64d09bd2a7f56ceb
2021-06-28 09:38:44 +03:00
Arto Kinnunen 51247bfc10 Squashed 'connectivity/nanostack/coap-service/' changes from 4a126bd278..bbe01736bd
bbe01736bd (via Mbed OS) mbedtls_stub: Add missing include (#134)
c021690e3a Update copyright to Makefiles and scripts (#133)
5fb7a6c3b8 Update copyright (#132)

git-subtree-dir: connectivity/nanostack/coap-service
git-subtree-split: bbe01736bdafc808ee61c500223d0cf67953238d
2021-06-28 09:38:14 +03:00
Arto Kinnunen 1de3aab0a9 Enable nanostack system time read/write
Allow Nanostack to read and write system time to synchronise time in
the mesh network. By default feature is enabled in the mesh json-
configuration.
2021-06-23 14:17:03 +03:00
Arto Kinnunen 5bb5ca7f8a System time read/write callbacks
- Add new API for setting system time read and write callbacks.
- Update ws_pae to use the new time service.
2021-06-23 14:14:54 +03:00
AlbanJeantheau-silabs 3001e52216
Handle timer rollover in calculate_ufsi
Co-authored-by: Jarkko Paso <jarkko.paso@arm.com>
2021-06-11 10:39:16 +02:00
Alban Jeantheau b4b35c6a88 coding style 2021-06-11 10:35:47 +02:00
Alban Jeantheau 8187325560 Correct ufsi timing calculation
When calculating ufsi, the function was relying
on the slot processed by the unicast fhss timer
callback, which can be delayed. When it happens
the slot value is wrong, and the ufsi is incorrect.

The ufsi is then used by the peer to determined
the reply channel, so the devices are thus
unsynchronized until the next uplink packet.
2021-06-08 16:27:25 +02:00
Anna Bridge ef0b31ab53
Merge pull request #14629 from artokin/phy_mode_and_channel_plan_master
Mesh api: Added PHY mode, channel plan IDs and configuration functions
2021-05-25 14:04:32 +01:00
Martin Kojtal 541ae06545
Merge pull request #14619 from debdeep-arm/ws-stats-nbr-table-master
Add API to get Wi-SUN Neighbor Table
2021-05-12 16:28:33 +02:00
Robert Walton 31926c81e0 mbedtls_stub: Add missing include
mbedtls_stub uses memset but doesn't add the <string.h> include. This
causes build failures with clang.

Add the include so we can build unit tests using clang.
2021-05-11 12:47:51 +01:00
Debdeep Saha d963a9af4a Added API to get Wi-SUN Neighbor Table 2021-05-10 20:00:32 +05:30
Jarkko Paso 37e42fb1b7 Mesh API: Functions to set/get/validate FAN v1.1 domain configuration. 2021-05-06 09:27:04 +03:00
Jarkko Paso 6c7789e31e Fixed astyle issue 2021-05-06 09:24:33 +03:00
Jarkko Paso 2f4b3426cb Mesh api: Added PHY mode and channel plan IDs 2021-05-06 09:11:20 +03:00
Martin Kojtal 64eb60e4cc
Merge pull request #14573 from artokin/nanostack_release_13_0_0_for_master
Nanostack release v13.0.0
2021-04-30 15:39:41 +01:00
Martin Kojtal 6f43f03657
Merge pull request #14553 from debdeep-arm/reset-ws-stats-master
Added API to reset MAC statistics and Wi-SUN statistics
2021-04-28 12:35:07 +01:00
Arto Kinnunen 2773394947 Merge commit 'fb72e8eba714116d3578e4f53010b104f48459f0' into nanostack_release_13_0_master
* commit 'fb72e8eba714116d3578e4f53010b104f48459f0':
  Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 3183d87e41..0903b819c5
2021-04-21 10:20:07 +03:00
Debdeep Saha 83844f0fd4 Added API to reset MAC statistics and Wi-SUN statistics. 2021-04-15 18:28:44 +05:30
Mika Leppänen 989c8e85eb Added new start methods to Wi-SUN BR with WisunInterface parameter and deprecated the old ones
Previously WisunBorderRouter start() used NetworkInterface type for mesh interface, although only
WisunInterface type is possible for the call. Added a new overloads of the start with the
WisunInterface as mesh interface type and deprecated the old ones. This makes the calls stricter
about the interface type and safer. It also allows to remove the reinterpret_cast that causes
compiler warning on ARM compiler.
2021-04-07 11:34:33 +03:00
Arto Kinnunen e91f9cb6a1 Review corrections
Updated based on review comments.
2021-03-23 13:50:58 +02:00
Arto Kinnunen 06e5db993f Improve WisunInterface set_network_size docs
Clarify set_network_size usage and possible parameter values.
Clarify wisun-network-size help text in mbed-mesh-api/mbed_lib.json
2021-03-18 11:50:54 +02:00
Mika Leppänen 08bec7583d Added missing const qualifier to mesh ethernet mac addr get 2021-02-10 13:17:03 +02:00
Martin Kojtal dc40c47cfa
Merge pull request #14169 from artokin/nanostack_release_12_8_0_to_master
Nanostack release v12.8.0
2021-01-20 14:38:16 +00:00
Arto Kinnunen 0810306ca4 Add random_early_detection to CMakeLists.txt 2021-01-20 11:43:43 +02:00
Arto Kinnunen 0c4294b1af Merge commit 'b0e699fe3e03f574aa2b6d74ff56a024d6e1d508'
* commit 'b0e699fe3e03f574aa2b6d74ff56a024d6e1d508':
  Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 715ae9a693..3183d87e41
2021-01-19 11:53:20 +02:00
Arto Kinnunen a13d6ab0f3 Merge commit 'aad453e0ac69b9de3b3e218c21a423bebd506174'
* commit 'aad453e0ac69b9de3b3e218c21a423bebd506174':
  Squashed 'connectivity/nanostack/coap-service/' changes from 5aa54b8e62..4a126bd278
2021-01-19 11:52:43 +02:00
Arto Kinnunen 06b913ff7e Merge commit '2f56ffab52d78986aebc1a290f106f5cf58830f8'
* commit '2f56ffab52d78986aebc1a290f106f5cf58830f8':
  Squashed 'connectivity/nanostack/sal-stack-nanostack-eventloop/' changes from 86cf0cca08..fb20d3f32c
2021-01-19 11:38:59 +02:00
Mika Leppänen 1e3d32ad41 Corrected nanostack coverity warnings 2021-01-13 13:05:51 +02:00
Martin Kojtal a124bcab32
Merge pull request #14048 from mikaleppanen/corr_cert_add
Corrected Wi-SUN certificate add and remove functions on Wi-SUN interface
2021-01-11 11:19:26 +00:00
paul.szczepanek@arm.com 2e714f4b6f compile out trace when not available 2021-01-04 19:38:03 +00:00
Mika Leppänen 88b46cc71c Corrected Wi-SUN certificate add and remove functions on Wi-SUN interface
Corrected Wi-SUN certificate add and remove functions to work properly
with .json certificates. .json certificates are used only if certificates
added by add functions are not set. Corrected certificate add and remove
functions to work properly and improved function descriptions.
2020-12-15 15:04:14 +02:00
Martin Kojtal 2c1ce493f4
Merge pull request #13957 from mikaleppanen/new_to_nothrow_mst
Replaced new calls with nothrow version of the call on mesh api
2020-12-10 10:59:42 +00:00
Martin Kojtal e5e315eb80
Merge pull request #13936 from artokin/mac_address_set_get_mbed_os_master
Network interface MAC address set/get
2020-12-09 05:55:49 +00:00
Arto Kinnunen 6a28bce1dd Remove API changes
-Remove Nanostack::add_ethernet_interface API change
-Add get_mac_address to MeshEthernetInterface
-Fix compiler warnings by adding overrides
2020-11-30 13:49:33 +02:00
Mika Leppänen 06be25722f Replaced new calls with nothrow version of the call on mesh api
Replaced new calls with nothrow version of the call.
2020-11-25 10:04:58 +02:00
Rajkumar Kanagaraj d328af9edb CMake: Add nanostack dependency
- Added netsocket libraries to nanostack CMake with target_link_libraries as nanostack has dependency
2020-11-23 20:18:48 +00:00
Arto Kinnunen 82964a3a0c Update set_mac_address signature
Use nsapi_size_t instread os size_t.
2020-11-20 10:05:35 +02:00
Arto Kinnunen af350de726 Allow method override
Remove final keyword to allow inheritance.
2020-11-19 15:50:04 +02:00
Arto Kinnunen c8b667a7ba Review correction: Remove unnecessary method
Remove unnecessary method: add_ethernet_interface_ns
2020-11-18 17:29:10 +02:00
Arto Kinnunen e1e0f89699 MAC address set/get support for EMAC interface
Add support to set and get MAC address from EMAC interface.
2020-11-18 17:26:04 +02:00
Arto Kinnunen a607be6623 Method for adding network interface MAC address
Add method set_mac_address to set network interface MAC address.
2020-11-18 17:17:54 +02:00
Martin Kojtal d5b4f42fcd
Merge pull request #13894 from noonfom/fix_compilation_warnings
Fix compilation warnings
2020-11-12 08:50:25 +00:00
Abbas Bracken Ziad 3e6cf78d6d Remove call to function-like macro with no effect 2020-11-11 14:23:42 +00:00
Martin Kojtal 5cbdbcb2d2
Merge pull request #13889 from artokin/nanostack_release_12_6_2
Nanostack release v12.6.2
2020-11-11 09:11:27 +00:00
Arto Kinnunen c8c2e5437f Merge commit '48fcb2ba25d66cbcc3be602a7662306caae0f9fe'
* commit '48fcb2ba25d66cbcc3be602a7662306caae0f9fe':
  Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 09d9e24f2d..715ae9a693
2020-11-10 13:47:13 +02:00
Hugues Kamba 794e32df74 CMake: Use relative paths to list source files and directories
The absolute path is still required for listing linker
files as they are referenced from a function in the top
level CMake input source file.
2020-11-09 12:32:30 +00:00