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

Nanostack release v12.8.0 #14169

Merged
merged 12 commits into from Jan 20, 2021

Conversation

artokin
Copy link
Contributor

@artokin artokin commented Jan 19, 2021

Summary of changes

Nanostack release v12.8.0 to Mbed OS master

This release contains bug fixes and stability improvements to the Wi-SUN protocol:

Features

  • When running on low memory situation low priority packets are dropped to ensure higher priority packet routing
  • Add support for FAN 1.1 PHY mode IDs (all) and Channel plan IDs 1, 2, and 5 for North American and Brazil domains. This change enables OFDM modulation usage for mentioned frequency bands.
  • Wi-SUN timing parameters are selected based on Data rate and network size.
  • Reduced output power with power amplifier from 0 to -4dBm (FSK/QPSK/900MHz)

Changes

  • MAC layer send ACK even buffer allocation fails.

Bugfix

  • Use all allowed channels with Brazil domain
  • Fixed issues related to channel change failures and bad MAC retransmission timings causing heavily decreasing performance on devices.
  • Corrected memory leak on Border Router key storage that could occur when key storage is allocated on low memory situation
  • Nodes no longer verify BR IID (EAPOL Authenticator EUI-64) from DODAG ID because it causes interworking issues with DODAG IDs which are not generated using EUI-64.

This change is copied from: #14164

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

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


Arto Kinnunen added 10 commits January 19, 2021 11:28
…from ae4ef1b197..b1a8186d75

b1a8186d75 Merge pull request ARMmbed#105 from PelionIoT/sync_with_mbed_os
4b24dd04f0 Allow builds with Mbed OS version less than 6.0
81666bd114 Replace calls to deprecated functions in the Timer API
c1b436b1f7 Merge pull request ARMmbed#104 from PelionIoT/IOTTHD-4408
6cd27661c0 Use given OFDM configuration
292da06289 Merge pull request ARMmbed#102 from ARMmbed/IOTTHD-4320
079dfa7dd8 Atmel & PA: Output power at 900MHz: -4 dBm with FSK/QPSK, less than -10 dBm with OFDM

git-subtree-dir: connectivity/drivers/802.15.4_RF/atmel-rf-driver
git-subtree-split: b1a8186d7571fb49e048bb91910cc18c17861bda
* commit '61315d197624480acfe555a3031228e62a55b239':
  Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes from ae4ef1b197..b1a8186d75
…ges from 86cf0cca08..fb20d3f32c

fb20d3f32c Merge remote-tracking branch 'origin/master' into release_for_mbed_os
d182fa4b3a Follow Mbed OS coding style (ARMmbed#47)
806f54cea9 Use event id 0 for initialization event (ARMmbed#45)

git-subtree-dir: connectivity/nanostack/sal-stack-nanostack-eventloop
git-subtree-split: fb20d3f32c84e2a3b2335d01df36100b5b5881ec
* commit '2f56ffab52d78986aebc1a290f106f5cf58830f8':
  Squashed 'connectivity/nanostack/sal-stack-nanostack-eventloop/' changes from 86cf0cca08..fb20d3f32c
…67d7b93ec6..a526cc3f41

a526cc3f41 Merge pull request ARMmbed#97 from PelionIoT/sync_from_mbed_os
2f82569918 Add license notice to Arm copyrighted source files
ad7631083a Merge pull request ARMmbed#96 from PelionIoT/heap_lite_stats
18b742b2c7 Heap stat's enabled allways by default.
9b4cbaf101 Added extended block list to dynamic memory tracker (ARMmbed#95)
8ff6d31abb Added dynamic memory tracker and hooks to dynmem library (ARMmbed#93)
cf2b133082 Merge pull request ARMmbed#92 from LDong-Arm/add_present_flag
9eb6f2dde7 Add config to generate macro MBED_CONF_NANOSTACK_LIBSERVICE_PRESENT

git-subtree-dir: connectivity/libraries/nanostack-libservice
git-subtree-split: a526cc3f41bfd0ec6a78e6998b8f8dcc1bd2afc9
* commit '084b722d1c3fa00e29d7ded181aaabbcc3f1f793':
  Squashed 'connectivity/libraries/nanostack-libservice/' changes from 67d7b93ec6..a526cc3f41
…a126bd

4a126bd Fix compiler and cppcheck warnings (ARMmbed#131)
ca7ca7d Merge pull request ARMmbed#130 from PelionIoT/sync_from_mbedos
15d73dc (via Mbed OS)Remove call to function-like macro with no effect

git-subtree-dir: connectivity/nanostack/coap-service
git-subtree-split: 4a126bd
* commit 'aad453e0ac69b9de3b3e218c21a423bebd506174':
  Squashed 'connectivity/nanostack/coap-service/' changes from 5aa54b8..4a126bd
…15ae9a..3183d87

3183d87 Merge branch 'release_internal' into release_external
9e27a77 Disabled BR IID verify from DODAG ID
33ac791 Merge pull request ARMmbed#2548 from PelionIoT/sync_with_mbed_os
6f8b282 compile out trace when not available
825373d Add SPDX license identifier to Arm files
3ec3bc6 fixed warnings: static method defined but not used
ee34352 Check if RX channel needs to be updated when RX slot detected (ARMmbed#2540)
d59dc5d Fix doxygen 1.8.17 warnings (ARMmbed#2546)
1e0beb3 Update unit tests to support Ubuntu 2020_04 LTS (ARMmbed#2545)
b9b2ffd Fixed FHSS get retry period (ARMmbed#2543)
a0bf6ae Check if RX channel needs to be updated after broadcast received (ARMmbed#2539)
fde325e Wi-SUN Neighbour ARO registration failure handling update:
1e1f9c6 RPL dio Handler update:
0421502 Asynch message advertiment enable added to DAO done when disabled.
0374f74 Corrected memory leak on key storage allocation on low memory situation
23c2f7e Disable ASYNCH messages at enter Local repair state.
c1df6b0 Added Poison_count check for First DIO time blocker.
944f934 Added channel mask size to FHSS configuration (ARMmbed#2536)
20e79e0 RPL Local repair disable clear advertised_dodag_membership_since_last_repair state
8a46380 Fix doxygen comments (ARMmbed#2534)
fe06236 MAC ACK RX guarantee update
2388a80 MAC layer send ack allways when it requirement's
29b387b RPL dao dynamic timeout
00bbd02 Don't allow TX slot length go below allowed minimum (ARMmbed#2528)
8333faa Out of memory improvement to remove packets from routing
0a12aeb Support channel plan IDs 1, 2 and 5 with NA and BZ bands (ARMmbed#2526)
ee4333d Wi-SUN Timing configuration is selected based on network size and data rate
a5b2a26 WS: API to set PHY mode and Channel plan IDs as defined by FAN 1.1 (ARMmbed#2520)
b86a044 Update nanostack v12.7.0 changelog (ARMmbed#2525)
35b95da Remove unnecessary files from release
0717432 Merge remote-tracking branch 'origin/release_internal' into release_external
f68126b Adaptation layer MCPS confirmation handle update
e483a07 Added OFDM configurations and FEC in RF config structure (ARMmbed#2513)
b88abfa BUG fix: Fixed broken Brodcast MAC overflow handling
9cad478 Random early detection congestion API update
00aed73 Modified the Wi-SUN stack Latency estimates a bit slower
6b83d82 Remove periodic PAN version increase from Wi-SUN border router
ef670e2 Integrated ReD congestion packet drop to Wi-SUN bootstrap interface.
b956d9e Revert "Improved transmission in high traffic (ARMmbed#2511)" (ARMmbed#2512)
01749c2 Improved transmission in high traffic (ARMmbed#2511)
3158e96 Adaption layer queue trace update
5a32f4a Update changelog, random_early_detection_congestion_check nameupdate and minor comment fix.
b818f12 Extented network status for support dropped tx congestion packet.
11c0763 Added new service Random early detection
f2c358d Optimized medium NWK MPL parameters to 40 second multicast interval (ARMmbed#2508)
c013bc7 Added traces to EAPOL TX failure
c29ee94 Changed TLS return value to int32_t
501a2c8 Added trace for mbed TLS errors
9d7cd22 Updated change log
1290225 Corrected radius message memory allocation
7b1c596 Removed trace print's
efb8393 Adaptation layer MCPS confirmation handle update
ac1025e Bug Fix: Accept only next possible BSI for detect BR reboot and drop unkown's.
58f0e56 Updated change log
102e525 Nanostack now indicates connection down on RPL local repair start
395791d FHSS WS: Do not allow broadcast TX on unicast channel (ARMmbed#2501)
72f8ecb Updated changelog.md
2376208 Activated higher priority by traffic class CS6 for NS/NA and RPL, EAPOL/ DHCP Relay messages.
afbe906 Adaptation layer update
13fb2bf Update CHANGELOG.md
af81c48 DIO init TX filter update
13a872c Fix typos in github template (ARMmbed#2498)
1af20e1 Initial version of CHANGELOG (ARMmbed#2497)
d9874ed Feature update: Improved MAC TX queue purge
6926442 Wi-SUN Aro registration temporary address registation bug fix.
d3170ed Removed generic event and wrong trace info.
0db3486 Removed trace from place which is normal and not needed
a080f18 Added debug tarce for dropped unsecured and MPL packets.
51cd564 Wi-SUN NS probe update:
579f756 Adaptation layer: Do not push CCA failed packet back to MAC (Wi-SUN) (ARMmbed#2487)

git-subtree-dir: connectivity/nanostack/sal-stack-nanostack
git-subtree-split: 3183d87
* commit 'b0e699fe3e03f574aa2b6d74ff56a024d6e1d508':
  Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 715ae9a..3183d87
@ciarmcom ciarmcom added the release-type: patch Indentifies a PR as containing just a patch label Jan 19, 2021
@ciarmcom
Copy link
Member

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

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 19, 2021

@artokin can you also update CMakelists (all sources in the tree already have one) , this should become a part of the update.

@artokin
Copy link
Contributor Author

artokin commented Jan 20, 2021

@0xc0170 , CMakelists is now updated in the previous commit.

0xc0170
0xc0170 previously approved these changes Jan 20, 2021
@0xc0170
Copy link
Contributor

0xc0170 commented Jan 20, 2021

CI started

@mergify mergify bot dismissed 0xc0170’s stale review January 20, 2021 11:13

Pull request has been modified.

@mergify mergify bot added needs: CI and removed needs: review labels Jan 20, 2021
@mbed-ci
Copy link

mbed-ci commented Jan 20, 2021

Jenkins CI Test : ❌ FAILED

Build Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_cmake-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 20, 2021

The second job is pending (the above was aborted)

@mbed-ci
Copy link

mbed-ci commented Jan 20, 2021

Jenkins CI Test : ✔️ SUCCESS

Build Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_cmake-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-ARM ✔️
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-test ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️

@0xc0170 0xc0170 merged commit dc40c47 into ARMmbed:master Jan 20, 2021
@mergify mergify bot removed the ready for merge label Jan 20, 2021
@artokin artokin deleted the nanostack_release_12_8_0_to_master branch January 21, 2021 10:01
@mbedmain mbedmain added release-version: 6.7.0 Release-pending and removed release-type: patch Indentifies a PR as containing just a patch Release-pending labels Jan 25, 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.

None yet

8 participants