Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mbed-os-5.15] Nanostack release v14.0.0 #14833

Merged
merged 15 commits into from
Jun 28, 2021

Conversation

artokin
Copy link
Contributor

@artokin artokin commented Jun 28, 2021

Summary of changes

This PR provides the following updates to the Wi-SUN software stack (nanostack):

Features

  • Filter RPL parents based on DEVICE_MIN_SENS configuration with Threshold and Hysteresis.
  • Filter EAPOL parents based on DEVICE_MIN_SENS configuration with Threshold and Hysteresis to prevent EAPOL failures caused by bad signal levels
  • Adaptation layer removes oldest packets first when stack needs to release memory or reduce traffic
  • Use QoS specific timeout to drop old packets from TX queue to prioritize limited bandwidth.
  • Added network time synchronisation support. Network node can update device current time if accurate time was received from the network.

Changes

  • Statistics for MAC data request latencies. Separated to adaptation layer and MAC queueing delays.
  • Changed initial EAPOL-key retries from trickle to exponential backup.
  • Adjusted stagger random from [min,max] to [min,min+max] and for small networks set the stagger value to 10 seconds.
  • Frame counter values for network keys are now stored to NVM only after network key for sending is set.

Bug fixes

  • Added ignoring of retry messages from RADIUS server when waiting EAP-TLS
  • Removed empty EAPOL-key message send after 4WH completion to nodes on relay
  • EAPOL parent candidate compare fix for better TX failure count
  • Fixed channel mask usage with OFDM configurations
  • Fixed recursive tunnel build problem when sending packets with hop count 1 from Border router to multi hop destination

Additional:

  • ARM copyright text changed to Pelion copyright text
  • atmel-rf-driver updated to v3.3.6
  • stm-s2lp-rf-driver updated to v1.0.9
  • mcr20a-rf-driver updated to 1.0.10

This PR is a copy of #14812.

Impact of changes

Migration actions required

Documentation


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[x] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers

@JarkkoPaso , @juhhei01 , @mikaleppanen , @mikter , @teetak01 , @TuomoHautamaki


Arto Kinnunen added 15 commits June 28, 2021 09:54
…from d182fa4b3a..b8e6ed9def

b8e6ed9def Update copyright (ARMmbed#48)

git-subtree-dir: features/nanostack/sal-stack-nanostack-eventloop
git-subtree-split: b8e6ed9defafad47d16ab2bd717a801cc4105ddd
…k_release_14_0_0_to_5_15

* commit '4d0c7d46b1ef969dd1eab7721134f8626c3e6ee9':
  Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from d182fa4b3a..b8e6ed9def
…d80f42d..c343e4e2cc

c343e4e2cc Merge pull request ARMmbed#99 from PelionIoT/remove_ns_trace
70c411b0f8 Remove ns_trace.h
60e99d2c02 Update copyright (ARMmbed#100)

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: c343e4e2ccb1517881ac85140974f3eb8cd85d46
…k_release_14_0_0_to_5_15

* commit '106c431d9e730f4fae5d4fff9c4731e6510c7e26':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 260d80f42d..c343e4e2cc
…25669d6b1

425669d6b1 Merge remote-tracking branch 'origin/master' into release_for_mbed_os
e99f2124dd Merge pull request ARMmbed#104 from PelionIoT/move_ns_trace
eb0d23a210 Move ns_trace.h to mbed-trace folder
d96ad6923c Merge pull request ARMmbed#102 from PelionIoT/add_ns_trace
72bc311b9b Moved ns_trace.h from nanostack-libservice
e060c630f3 Moved ns_trace.h from nanostack-libservice
ead8b30353 Merge pull request ARMmbed#101 from TeroJaasko/fix_use_after_free_bug_on_tr_array
8a06eff8ca tr_array: fix use after free error after mbed_trace_free() is called

git-subtree-dir: features/frameworks/mbed-trace
git-subtree-split: 425669d6b18046ab65d23d0e395b5a6a433be5bd
…k_release_14_0_0_to_5_15

* commit 'ba782a8fafdc8fd6a3d9301bd4f64e4f11616951':
  Squashed 'features/frameworks/mbed-trace/' changes from b98f6a9050..425669d6b1
…36f074..4870f0da56

4870f0da56 Update copyright (ARMmbed#15)

git-subtree-dir: features/frameworks/mbed-client-randlib
git-subtree-split: 4870f0da56bb5b0e8e9a655bc11e1f392140c785
…k_release_14_0_0_to_5_15

* commit '7f481413da309daf1f39908cc5fc1a90dab18c68':
  Squashed 'features/frameworks/mbed-client-randlib/' changes from cf3936f074..4870f0da56
…0173

bbe0173 (via Mbed OS) mbedtls_stub: Add missing include (ARMmbed#134)
c021690 Update copyright to Makefiles and scripts (ARMmbed#133)
5fb7a6c Update copyright (ARMmbed#132)

git-subtree-dir: features/nanostack/coap-service
git-subtree-split: bbe0173
…k_release_14_0_0_to_5_15

* commit '7556e925c6a7ff2866ef48e1274548ee8f53c0ac':
  Squashed 'features/nanostack/coap-service/' changes from 4a126bd..bbe0173
…..4a3c5c5

4a3c5c5 Merge remote-tracking branch 'origin/release_internal' into release_external
2b8d2e1 Do not reset radio when MAC data request timeouts (ARMmbed#2647)
95c506a Frame counters for nw keys are now stored to NVM only after send key is set (ARMmbed#2641)
3b3010a Adjusted stagger random to [min,min+max] and for small nw set the stagger value to 10 seconds
02bc33a Adjusted security protocol (EAP-TLS,4WH,2WH) retry timers
eb26726 High Priority timestamp compare overflow support fix.
928723a FHSS WS: Initialize broadcast channel count when enabling FHSS (ARMmbed#2642)
6040d70 Updated change log
667b191 Changed initial EAPOL-key retries from trickle to exponential backup
d925145 Add RTT calculation for DHCP Time calculation
0b82953 Traceroute bug fix.
04de6e2 Merge pull request ARMmbed#2638 from PelionIoT/mbed_os_fix_ufsi_calculation
2012347 Fixed FHSS UFSI calculation unit tests
436f16e Handle timer rollover in calculate_ufsi
411cf5c coding style
d6f4421 Correct ufsi timing calculation
560619d Add network time vendor data element to DHCPv6 reply message
6d290dc System time read/write callbacks (ARMmbed#2637)
7905df6 Restart or remove transmission when MAC data request timeouts (ARMmbed#2636)
c97695c Bug fix: EAPOL parent compare fix
e283e62 Fixed channel mask usage with OFDM configurations (ARMmbed#2633)
24168f8 Do not send too old packets (ARMmbed#2632)
dbd83be Fix copyrights (ARMmbed#2631)
7f0cffd Merge pull request ARMmbed#2630 from PelionIoT/use_pelion_copyright
511bd5a Corrected coding style
57ec028 Corrected comparison
7d853de When EAPOL waiting queue is full oldest entry is removed
acf580f Update copyright in changed MDNS files
933c0bb Update copyright
3aeb2af Statistics for data request latencies (ARMmbed#2629)
3f7eae6 EAPOL FHSS temp entry discover
5200b66 DHCP time elapsed time write fix.
0536874 Removed empty EAPOL-key message send after 4WH completion to nodes on relay
8a2a683 Fixed DHCP wrong time elapsed value write.
283f2ee DHCPv6 update:
99be778 EAPOL temp neighbour update
4f9e3d1 Adaptation layer to remove oldest packet first
20f1f64 Added ignoring of retry messages from RADIUS server when waiting EAP-TLS
8a8b407 Add RSL check for ETX Calculation for RPL parent selection
c05e1da Fix DHCP server Uninitialized memory read
77229ee Fix CPP error from domain prefix check
7e47889 support filtering of EAPOL parents based device-min-sens configuration
618a191 Wi-SUN Expedite forward state update
4371462 Fix NULL read from RPL header addition
7802c7e Update CHANGELOG.md
b2c8104 CHANGELOG for Nanostack v13.0.0 (ARMmbed#2615)

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 4a3c5c5
…k_release_14_0_0_to_5_15

* commit '90199fdb6412836121f22a3d72faa08fcfdcd418':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 0903b81..4a3c5c5
Sync with master version v3.3.6
Update STM S2LP driver to version v1.0.9
Synch with master version v1.0.10
@ciarmcom
Copy link
Member

@artokin, thank you for your changes.
@JarkkoPaso @mikaleppanen @juhhei01 @mikter @ARMmbed/mbed-os-maintainers please review.

Copy link
Collaborator

@andypowers andypowers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

@mergify mergify bot added needs: CI and removed needs: review labels Jun 28, 2021
@0xc0170
Copy link
Contributor

0xc0170 commented Jun 28, 2021

CI started

@mbed-ci
Copy link

mbed-ci commented Jun 28, 2021

Test run: SUCCESS

Summary: 10 of 10 test jobs passed
Build number : 1
Build artifacts

@0xc0170 0xc0170 merged commit 3294392 into ARMmbed:mbed-os-5.15 Jun 28, 2021
@mergify mergify bot removed the ready for merge label Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants