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 v13.0.0 #14565

Merged

Conversation

artokin
Copy link
Contributor

@artokin artokin commented Apr 20, 2021

Summary of changes

Nanostack release v13.0.0 to mbed-os-5.15 branch.

This PR provides mesh stack ready for Wi-SUN PHY and FAN certification tests.

This is a copy of PR: #14549

Features

  • Added support for Anonymous address generation in DHCPv6 server for Wi-SUN Border router
  • Improved Wi-SUN asynchronous messaging statistics. Time spent in different states and neighbour management changes.
  • Created API to get the Wi-SUN Neighbour table with basic information from the neighbour.
  • Added support for set MAC and MPX Data Request priority.
  • Implemented Last Gasp support for Wi-SUN devices using Expedite Forward Traffic class packets.

Changes

  • Added throttling of number of simultaneous EAPOL authentications based on Border Router TX queue size
  • Domain configuration functions implemented. Replacing existing PHY mode ID and channel plan ID set functions.
  • Added EAPOL authentication waiting queue to Border Router. Queue makes it possible to start new authentication faster after previous authentication has completed.
  • On startup deletes NVM GTKs if EUI-64 has been changed.
  • Improved CSMA-CA backoff logic allowing faster testing of multiple destination channels. This change improves handling of MAC transmissions under heavy load.
  • Separated CCA fail events for channel not clear (PHY_LINK_CCA_FAIL) and packet reception (PHY_LINK_CCA_FAIL_RX). Note that this requires update on PHY driver.

Bug fixes

  • All MAC TX failure causes now trigger target change on supplicant EAPOL inititial-key sending
  • Fixed compensating delayed interrupt on broadcast channel.

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

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


Arto Kinnunen added 8 commits April 20, 2021 11:11
Sync with master version v3.3.5
Update STM S2LP driver to version v1.0.8
…6cc3f41..260d80f42d

260d80f42d Update ns_nvm_helper license text and format (ARMmbed#98)

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: 260d80f42da24fa41656222294abc38f7779bdcf
…k_release_13_0_mbedos_5_15

* commit '9d8e6f749013a010ca0f9cec54e8f18c744d7092':
  Squashed 'features/frameworks/nanostack-libservice/' changes from a526cc3f41..260d80f42d
…2e21f0..cf3936f074

cf3936f074 Update license text in test files. (ARMmbed#14)

git-subtree-dir: features/frameworks/mbed-client-randlib
git-subtree-split: cf3936f074954f01a6fbce4799fc40249ba7d2ac
…k_release_13_0_mbedos_5_15

* commit 'be1c2fe8be242e84205fd8308b81a249e8418fc8':
  Squashed 'features/frameworks/mbed-client-randlib/' changes from bec82e21f0..cf3936f074
…..0903b81

0903b81 Merge remote-tracking branch 'origin/release_internal' into release_external
51429c9 FHSS WS: api function to set TX allowance level (ARMmbed#2612)
01b1188 Fix Child NUD with long ARO registrations
20b49ce Optimize out of memory handler to remove more memory in EF mode
f1b03bc FHSS WS: Allow transmitting unicast frames on broadcast channel for 1st hop node in EF mode (ARMmbed#2609)
2f5e5e2 Generic forwarding callback and EF state enabler for Wi-SUN BBR.
007dfa2 Allow transmitting on RX slot for 1st hop device in expedited forwarding mode (ARMmbed#2607)
6524872 Implemented FHSS expedited forwarding mode (ARMmbed#2606)
91e0b4c QoS traffic class documentation update.
3acd3a4 Fix warnings found by cppcheck (ARMmbed#2605)
d2f5347 MPX and MAC API update
7310cc0 MAC: "CCA fail on RX" event for TX done callback (ARMmbed#2602)
cd109c3 Clear Ack tx and tx process in MAC reset (ARMmbed#2601)
45504fd Optimize stagger based on uptime and startup type
ed5209e Iotthd 4584 (ARMmbed#2599)
60726dc Fixed blacklisting overflow (ARMmbed#2597)
23334b7 Added support for High Priority forward state
3ec2a2c Corrected freed memory access on incoming EAPOL handling
aecadc4 Fixed delayed interrupt (ARMmbed#2596)
1fca2c1 CCA backoffs max to 9 (ARMmbed#2595)
f3d2fa1 Added API function to get neighbor table information from Wi-SUN
3bb089b Validate randomized fixed channel (ARMmbed#2592)
70743a1 MAC stabilisation fixes (ARMmbed#2591)
e936a26 Reduce periodic DNS traces
a45fe3f Improved CSMA-CA logic for Wi-SUN (ARMmbed#2585)
56b7735 improved Wi-SUN stack statistics added
e656190 Wi-SUN neighbour allocate update
799f837 Added address check for Whiteboard address ADD
0b6caa3 Wi-SUN network timing parameter tuning
4921465 Supress warnings
f5cecd7 Enable external connection for routers
e129a0a Added LLC EAPOL temporary neighbor remove when authentication completes (ARMmbed#2583)
fa20fb9 Added calculation of LLC and LLC EAPOL message queue average (ARMmbed#2582)
7f7c01a Added retry traces to authenticator EAP-TLS, 4WH, and GKH
a87646d On startup deletes NVM GTKs if EUI-64 has been changed (ARMmbed#2576)
509a6f9 Add CI commands to PR template (ARMmbed#2579)
eb6a4f7 Change stagger calculation to give more bandwidth to application
82f1d54 Wi-SUN bpptstrap clear destination cache at discovery phase.
71b0588 Destination cache update:
f92c385 Enabled PMTU timeout to destination cache after used.
957b358 DHCP server and Agent relay update
25b9124 Merge remote-tracking branch 'origin/release_internal' into release_external
c825b04 Corrected covery warning on delay_us multiplication
be63bbb Updated changelog
77a76c7 Corrected nw size set on automatic mode
65e6c2d Updated unit tests
16e3402 Added waiting queue to EAPOL authentications to Border Router
b9c0b7d Wi-SUN border router starts faster in static configuration
2f427e1 Local repair start and stop clear advertised_dodag_membership_since_last_repair when state is updated.
0a01ab1 RPL dio send update
dd39963 Wi-SUN Border router uses Static address as DODAGID
7a3c833 Additional check to detect parent connection problem
ffe48c9 WS management: domain configuration functions implemented (ARMmbed#2567)
5e9ac4e Added new Callback to RPL indicate Multicast DIS received from RPL Parent
85b949e Bootstrap and EAPOL treats all MAC TX failure causes similarly
b57d9bc Add support for anonymous addressing in Wi-SUN border router (ARMmbed#2565)
7400c8b CFG: API for PHY mode id and channel plan id get & validate (ARMmbed#2564)
2832fe8 Added Socket reference limitter
890aad1 Wi-SUN MTU size update and IPv6 minium MTU routing skip
3ad28c1 Added throttling of number of simultaneous EAPOL authentications
0b84299 Source route handler call Wi-Sun border router alive function.
c8343b1 Added support for dynamic RPL default lifetime
d258068 Iotthd 4478 (ARMmbed#2560)
7ca6c24 Enable and modify memory limits for packet receiving
e2b028d Close CHANGELOG.md for v12.8.1 (ARMmbed#2557)
91f3ff6 Merge branch 'release_internal' into release_external
3999b6e Iotthd 4495 (ARMmbed#2556)
90c3263 RPL Prefix handling update:
f761409 Close Nanostack v12.8.0 ChangeLog (ARMmbed#2549)
f8ae0e9 Merge remote-tracking branch 'origin/release_internal' into release_external
3275f83 Added support for handle RPL hop by Hop sender rank 0.
d62c589 Activated RPL force tunnel for wi-sun.
3e1064a RPL tunnel force functionality update
3207e5c RPL parent select timer random update from 1.0-1.2 to 1.0-1.5.
bc09cba MAC Ack wait fixed for OFDM (ARMmbed#2552)
5106b1d Fixed unused variable and function warnings.
4096c1a Wi-SUN bootstrap support RPL poison from Connected state to Discovery
66378d1 RPL Poison update

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 0903b81
…k_release_13_0_mbedos_5_15

* commit '0ecf8123d4a2fd9fa7948be8575cc9c09f546d1f':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 3183d87..0903b81
@mergify mergify bot added the needs: CI label Apr 20, 2021
@0xc0170
Copy link
Contributor

0xc0170 commented Apr 26, 2021

CI started

@mbed-ci
Copy link

mbed-ci commented Apr 26, 2021

Test run: SUCCESS

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

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.

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.

None yet

8 participants