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 v12.8.0 #14170

Merged

Conversation

artokin
Copy link
Contributor

@artokin artokin commented Jan 19, 2021

Summary of changes

Nanostack release v12.8.0 to mbed-os-5.15 branch

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 , @juhhei01 , @JarkkoPaso , @mikaleppanen , @teetak01

@ciarmcom
Copy link
Member

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

@ciarmcom
Copy link
Member

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

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

0xc0170 commented Jan 20, 2021

Also rebase and CI will be started

Arto Kinnunen added 6 commits January 21, 2021 11:12
Sync with master version v3.3.4
…from b560a9da36..d182fa4b3a

d182fa4b3a Follow Mbed OS coding style (ARMmbed#47)
806f54cea9 Use event id 0 for initialization event (ARMmbed#45)

git-subtree-dir: features/nanostack/sal-stack-nanostack-eventloop
git-subtree-split: d182fa4b3aad7fdc70f7e74d6ed4d524e6f9286c
…7b93ec6..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: features/frameworks/nanostack-libservice
git-subtree-split: a526cc3f41bfd0ec6a78e6998b8f8dcc1bd2afc9
…98f6a9050

b98f6a9050 Merge remote-tracking branch 'origin/master' into release_for_mbed_os
7a60a77390 Enable libservice by default
fc7503c1a6 Make IPv6 tracing conditional to nanostack-libservce

git-subtree-dir: features/frameworks/mbed-trace
git-subtree-split: b98f6a9050afd1d0b9354bc82d5d363fff5a1405
…26bd

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: features/nanostack/coap-service
git-subtree-split: 4a126bd
…..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)
715ae9a Merge remote-tracking branch 'origin/release_internal' into release_external
42c9807 Nanostak trace level configuration (ARMmbed#2489)
6f52171 Bug fix: socket reference count made 16-bit (ARMmbed#2490)
f51669a Bug fix: Do not print UFSI drift when fixed channel is used (ARMmbed#2488)
18fa048 RPL DAO timeout update:
660e178 Clear debug traces.
cbac0bb DIO init send block for node
fed5d1c Created different MPL configuration based on network size
7ad7e81 Wi-SUN recovery and BR BSI update:
d207f4d Merge branch 'release_internal' into release_external
d166c89 MPL: buffered max limit increased to 8k (ARMmbed#2482)
0f6666a Fixed Unit test's
1ff9b1d LLC drop a packet if FHSS shedule is not configured.
7cecc28 Fixed missing asynch trigle setup stop at if down process
7a8b2bf Wi-SUN fhss API default value setting fixes
164a370 Fixed coverity issues from management API
8b5b433 Corrected out of bounds access coverity warning (ARMmbed#2475)
4ffe6a1 Multicast forwarding is separated from the routing flag
30f4315 Wi-SUN discovery staten enter upxdate
083b84e Iotthd 4308 (ARMmbed#2473)
fcc33d5 Removed time increment from NVM time read function on interface up
9c8e3af fhss_tx_handle update
5491a6b Fixed UFSI update print function (ARMmbed#2470)
86f64c5 FHSS WS: Check if BC schedule is stopped before computing timeout delay (ARMmbed#2469)
a0b112a Corrected defects and coding style
2f4678a Corrected trace macro
5e96751 Distributed key storage NVM writes to longer time period
9b3891f FHSS WS: handle blocked interrupts (ARMmbed#2466)
a792e83 Added validation at MAC ack buffer handler
2a465b2 DNS configuration lifetime validation

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 3183d87
@artokin artokin force-pushed the nanostack_release_12_8_0_to_5_15 branch from 84ffe16 to c854c8f Compare January 21, 2021 09:14
@mergify mergify bot dismissed mikter’s stale review January 21, 2021 09:14

Pull request has been modified.

Files were moved during rebase, move files back to original places
@artokin artokin force-pushed the nanostack_release_12_8_0_to_5_15 branch from 5512605 to a0a284e Compare January 21, 2021 09:36
@0xc0170
Copy link
Contributor

0xc0170 commented Jan 21, 2021

CI started

@mbed-ci
Copy link

mbed-ci commented Jan 21, 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.

@0xc0170 0xc0170 merged commit 1faaabb into ARMmbed:mbed-os-5.15 Feb 2, 2021
@mergify mergify bot removed the ready for merge label Feb 2, 2021
@artokin artokin deleted the nanostack_release_12_8_0_to_5_15 branch February 3, 2021 13:08
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.

8 participants