Commit Graph

6340 Commits (mbed-os-5.15.7-rc1)

Author SHA1 Message Date
Martin Kojtal 878a32cb6d
Merge pull request #14326 from artokin/porting_from_feature_wisun_to_5_15
[mbed-os-5.15] Bring in MIMXRT1050_EVK changes from feature-wisun branch
2021-03-22 16:27:59 +01:00
Martin Kojtal fcabc21c9b
Merge pull request #14443 from artokin/update_set_network_size_doc_515
[mbed-os-5.15] Improve WisunInterface set_network_size docs
2021-03-22 14:23:16 +01:00
Martin Kojtal f9501e79b7
Merge pull request #14147 from mikaleppanen/nano_coverity_corr_5_15
[mbed-os-5.15] Corrected nanostack coverity warnings
2021-03-22 14:22:39 +01:00
Arto Kinnunen f8f01fd04e 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:56:17 +02:00
Mahesh Mahadevan 4bb42d8c1a MIMXRT1050: Update the ENET driver to use wait_us
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2021-02-23 10:42:49 +02:00
Mika Leppänen 1270a59df2 Added missing const qualifier to mesh ethernet mac addr get 2021-02-10 13:45:39 +02:00
Mika Leppänen 9500f9f6a6 Corrected nanostack coverity warnings 2021-02-02 15:32:02 +02:00
Martin Kojtal 1faaabb6fa
Merge pull request #14170 from artokin/nanostack_release_12_8_0_to_5_15
[mbed-os-5.15] Nanostack release v12.8.0
2021-02-02 13:23:51 +00:00
Martin Kojtal 9454bb00cd
Merge pull request #13920 from artokin/mac_address_set_get_mbed_os_5_15
[mbed-os-5.15] Network interface MAC address set/get
2021-01-25 08:50:21 +00:00
Martin Kojtal 46a045b7e0
Merge pull request #14046 from mikaleppanen/mbedos_5_15_corr_cert_add
[mbed-os-5.15] Corrected Wi-SUN certificate add and remove functions on Wi-SUN interface
2021-01-25 08:49:55 +00:00
Arto Kinnunen a0a284ed49 Move files back to original locations
Files were moved during rebase, move files back to original places
2021-01-21 11:35:44 +02:00
Arto Kinnunen c854c8fc02 Squashed 'features/nanostack/sal-stack-nanostack/' changes from 09d9e24f2d..3183d87e41
3183d87e41 Merge branch 'release_internal' into release_external
9e27a772f2 Disabled BR IID verify from DODAG ID
33ac7911cf Merge pull request #2548 from PelionIoT/sync_with_mbed_os
6f8b2829f4 compile out trace when not available
825373d3ef Add SPDX license identifier to Arm files
3ec3bc649d fixed warnings: static method defined but not used
ee34352ceb Check if RX channel needs to be updated when RX slot detected (#2540)
d59dc5d25e Fix doxygen 1.8.17 warnings (#2546)
1e0beb3e67 Update unit tests to support Ubuntu 2020_04 LTS (#2545)
b9b2ffd96b Fixed FHSS get retry period (#2543)
a0bf6aec91 Check if RX channel needs to be updated after broadcast received (#2539)
fde325eee2 Wi-SUN Neighbour ARO registration failure handling update:
1e1f9c66b0 RPL dio Handler update:
0421502e27 Asynch message advertiment enable added to DAO done when disabled.
0374f74013 Corrected memory leak on key storage allocation on low memory situation
23c2f7ed05 Disable ASYNCH messages at enter Local repair state.
c1df6b0d75 Added Poison_count check for First DIO time blocker.
944f934539 Added channel mask size to FHSS configuration (#2536)
20e79e05fc RPL Local repair disable clear advertised_dodag_membership_since_last_repair state
8a4638089a Fix doxygen comments (#2534)
fe06236e43 MAC ACK RX guarantee update
2388a80700 MAC layer send ack allways when it requirement's
29b387b697 RPL dao dynamic timeout
00bbd02f85 Don't allow TX slot length go below allowed minimum (#2528)
8333faa401 Out of memory improvement to remove packets from routing
0a12aebff9 Support channel plan IDs 1, 2 and 5 with NA and BZ bands (#2526)
ee4333da6f Wi-SUN Timing configuration is selected based on network size and data rate
a5b2a26eb2 WS: API to set PHY mode and Channel plan IDs as defined by FAN 1.1 (#2520)
b86a044911 Update nanostack v12.7.0 changelog (#2525)
35b95da122 Remove unnecessary files from release
0717432619 Merge remote-tracking branch 'origin/release_internal' into release_external
f68126b85a Adaptation layer MCPS confirmation handle update
e483a0748d Added OFDM configurations and FEC in RF config structure (#2513)
b88abfa1c2 BUG fix: Fixed broken Brodcast MAC overflow handling
9cad47826a Random early detection congestion API update
00aed73abc Modified the Wi-SUN stack Latency estimates a bit slower
6b83d821ea Remove periodic PAN version increase from Wi-SUN border router
ef670e21f3 Integrated ReD congestion packet drop to Wi-SUN bootstrap interface.
b956d9e983 Revert "Improved transmission in high traffic (#2511)" (#2512)
01749c2116 Improved transmission in high traffic (#2511)
3158e966e0 Adaption layer queue trace update
5a32f4a7bb Update changelog, random_early_detection_congestion_check nameupdate and minor comment fix.
b818f12c6d Extented network status for support dropped tx congestion packet.
11c0763f4d Added new service Random early detection
f2c358dc2b Optimized medium NWK MPL parameters to 40 second multicast interval (#2508)
c013bc7790 Added traces to EAPOL TX failure
c29ee94a20 Changed TLS return value to int32_t
501a2c8578 Added trace for mbed TLS errors
9d7cd22aa6 Updated change log
1290225b95 Corrected radius message memory allocation
7b1c59695b Removed trace print's
efb83934f6 Adaptation layer MCPS confirmation handle update
ac1025e7e9 Bug Fix: Accept only next possible BSI for detect BR reboot and drop unkown's.
58f0e56fe4 Updated change log
102e525b9a Nanostack now indicates connection down on RPL local repair start
395791d535 FHSS WS: Do not allow broadcast TX on unicast channel (#2501)
72f8ecb8d2 Updated changelog.md
237620827c Activated higher priority by traffic class CS6 for NS/NA and RPL, EAPOL/ DHCP Relay messages.
afbe9061b5 Adaptation layer update
13fb2bfdbb Update CHANGELOG.md
af81c48993 DIO init TX filter update
13a872c6b9 Fix typos in github template (#2498)
1af20e1aee Initial version of CHANGELOG (#2497)
d9874ede96 Feature update: Improved MAC TX queue purge
69264429f9 Wi-SUN Aro registration temporary address registation bug fix.
d3170ed50a Removed generic event and wrong trace info.
0db3486a7a Removed trace from place which is normal and not needed
a080f18d83 Added debug tarce for dropped unsecured and MPL packets.
51cd5646ed Wi-SUN NS probe update:
579f75684e Adaptation layer: Do not push CCA failed packet back to MAC (Wi-SUN) (#2487)
715ae9a693 Merge remote-tracking branch 'origin/release_internal' into release_external
42c9807207 Nanostak trace level configuration (#2489)
6f5217119a Bug fix: socket reference count made 16-bit (#2490)
f51669adc7 Bug fix: Do not print UFSI drift when fixed channel is used (#2488)
18fa0486e3 RPL DAO timeout update:
660e178506 Clear debug traces.
cbac0bbca4 DIO init send block for node
fed5d1c819 Created different MPL configuration based on network size
7ad7e81209 Wi-SUN recovery and BR BSI update:
d207f4d9f9 Merge branch 'release_internal' into release_external
d166c89427 MPL: buffered max limit increased to 8k (#2482)
0f6666a97e Fixed Unit test's
1ff9b1d6c6 LLC drop a packet if FHSS shedule is not configured.
7cecc28c98 Fixed missing asynch trigle setup stop at if down process
7a8b2bfd98 Wi-SUN fhss API default value setting fixes
164a3706c6 Fixed coverity issues from management API
8b5b433284 Corrected out of bounds access coverity warning (#2475)
4ffe6a12cc Multicast forwarding is separated from the routing flag
30f431581d Wi-SUN discovery staten enter upxdate
083b84e9c5 Iotthd 4308 (#2473)
fcc33d559c Removed time increment from NVM time read function on interface up
9c8e3afc9f fhss_tx_handle update
5491a6b052 Fixed UFSI update print function (#2470)
86f64c58b6 FHSS WS: Check if BC schedule is stopped before computing timeout delay (#2469)
a0b112a97b Corrected defects and coding style
2f4678a2f2 Corrected trace macro
5e967515ee Distributed key storage NVM writes to longer time period
9b3891fffb FHSS WS: handle blocked interrupts (#2466)
a792e832de Added validation at MAC ack buffer handler
2a465b2e49 DNS configuration lifetime validation

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 3183d87e410d80b96042c143e586967dce2ff650
2021-01-21 11:12:23 +02:00
Arto Kinnunen ae5d0426ed Squashed 'features/nanostack/coap-service/' changes from 5aa54b8e62..4a126bd278
4a126bd278 Fix compiler and cppcheck warnings (#131)
ca7ca7da30 Merge pull request #130 from PelionIoT/sync_from_mbedos
15d73dc6d4 (via Mbed OS)Remove call to function-like macro with no effect

git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 4a126bd278522e7b004de35ab0887394117f1213
2021-01-21 11:12:16 +02:00
Arto Kinnunen 681f51142e Squashed 'features/frameworks/mbed-trace/' changes from 6ced9711c4..b98f6a9050
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
2021-01-21 11:12:13 +02:00
Arto Kinnunen df0d0e1b81 Squashed 'features/frameworks/nanostack-libservice/' changes from 67d7b93ec6..a526cc3f41
a526cc3f41 Merge pull request #97 from PelionIoT/sync_from_mbed_os
2f82569918 Add license notice to Arm copyrighted source files
ad7631083a Merge pull request #96 from PelionIoT/heap_lite_stats
18b742b2c7 Heap stat's enabled allways by default.
9b4cbaf101 Added extended block list to dynamic memory tracker (#95)
8ff6d31abb Added dynamic memory tracker and hooks to dynmem library (#93)
cf2b133082 Merge pull request #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
2021-01-21 11:12:10 +02:00
Arto Kinnunen cc7b6edc62 Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from b560a9da36..d182fa4b3a
d182fa4b3a Follow Mbed OS coding style (#47)
806f54cea9 Use event id 0 for initialization event (#45)

git-subtree-dir: features/nanostack/sal-stack-nanostack-eventloop
git-subtree-split: d182fa4b3aad7fdc70f7e74d6ed4d524e6f9286c
2021-01-21 11:12:07 +02:00
Arto Kinnunen 3d0abfb4f5 Remove API changes
-Remove Nanostack::add_ethernet_interface API change
-Add get_mac_address to MeshEthernetInterface
2021-01-21 10:14:21 +02:00
Arto Kinnunen db4efc8e28 Fix unittests
Use path in "mbed-trace/mbed_trace.h" to keep unittest happy.
2021-01-21 10:14:21 +02:00
Arto Kinnunen e2c781f14d Fix method description 2021-01-21 10:14:20 +02:00
Arto Kinnunen f2ad926552 Follow Mbed OS coding style 2021-01-21 10:14:20 +02:00
Arto Kinnunen 08b6bea260 Update EMAC connect logic with MAC address change
Do not fail EMAC interface during connect if MAC address change is
not supported in the selected interface.
2021-01-21 10:14:20 +02:00
Arto Kinnunen 028c84668d Review corrections
-Update method set_mac_address description
-Update EMAC test method return value
2021-01-21 10:14:20 +02:00
Arto Kinnunen c5e3507e39 Update set_mac_address signature
Use nsapi_size_t instead of size_t.
Update missing method description.
2021-01-21 10:14:20 +02:00
Arto Kinnunen 90fd693061 Review correction: Remove unnecessary method
Remove unnecessary method: add_ethernet_interface_ns
2021-01-21 10:14:20 +02:00
Arto Kinnunen e71e312444 MAC address set/get support for EMAC interface
Add support to set and get MAC address from EMAC interface.
2021-01-21 10:14:20 +02:00
Arto Kinnunen f6f0286d38 Method for adding network interface MAC address
Add method set_mac_address to set network interface MAC address.
2021-01-21 10:14:20 +02:00
Mika Leppänen b8611bd653 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 14:36:17 +02:00
Mika Leppänen 82e9f8d6b8 Replaced new calls with nothrow version of the call on mesh api
Replaced new calls with nothrow version of the call.
2020-11-24 16:05:56 +02:00
Martin Kojtal 99661bd2c8
Merge pull request #13715 from mikaleppanen/mesh_global_up_5.15
mbed-os-5.15: Mesh interface global up is indicated always on bootstrap ready
2020-10-30 14:19:38 +00:00
Martin Kojtal abf8a03de9
Merge pull request #13775 from mikaleppanen/radius_init_5_15
mbed-os-5.15: Add initialization to radius retry values
2020-10-30 10:35:22 +00:00
Martin Kojtal 30076a42a3
Merge pull request #13774 from mikaleppanen/radius_trace_corr_5_15
mbed-os-5.15: Add initialization check to RADIUS ipv6 address
2020-10-30 10:35:07 +00:00
Martin Kojtal 2cf237efb7
Merge pull request #13758 from artokin/add-min-sens-wisun-param-mbed-os-5.15
mbed-os-5.15: Add APIs for Device min sense and CCA threshold table
2020-10-30 10:33:12 +00:00
Martin Kojtal 480586d42e
Merge pull request #13788 from ristohuhtala/update-mmbed-coap-to5.15
Update Mbed CoAP to v5.1.8
2020-10-30 10:29:20 +00:00
Martin Kojtal 2c2b134ee2
Merge pull request #13735 from artokin/enable_nanostack_dns_cache_mbed_os_5_15
mbed-os-5.15: Enable Nanostack DNS cache usage
2020-10-29 14:03:44 +00:00
Martin Kojtal ef235632ef
Merge pull request #13736 from mikaleppanen/cert_remove_5_15
mbed-os-5.15: Add certificate remove before add to wisun tasklet
2020-10-22 15:59:08 +01:00
Martin Kojtal aeaf6e8630
Merge pull request #13719 from artokin/nanostack_release_v12_6_0_for_mbed_os_5_15
mbed-os-5.15: Nanostack release v12.6.0
2020-10-22 15:58:00 +01:00
Risto Huhtala eb50b94d9f Update Mbed CoAP to v5.1.8 2020-10-20 09:15:01 +03:00
Mika Leppänen b0f08862f1 Added initialization to radius retry values
This corrects uninitialized scalar field coverity warning.
2020-10-16 14:45:46 +03:00
Mika Leppänen f5cad8368a Added initialization check to RADIUS ipv6 address
Added initialization check to RADIUS ipv6 address that prevents the border router from printing unnecessary error trace
when RADIUS is not enabled.
2020-10-16 14:33:12 +03:00
Arto Kinnunen 16d3dd46b9 Document missing parameter network_interface_name 2020-10-14 09:12:30 +03:00
Arto Kinnunen 695a97a851 Use macro for isdigit 2020-10-14 09:12:30 +03:00
Arto Kinnunen 12ccb70617 Follow Mbed OS coding style 2020-10-14 09:12:30 +03:00
Arto Kinnunen a35f724af6 Update WisunBorderRouter class
Add set_dns_query_result to WisunBorderRouter.
2020-10-14 09:12:30 +03:00
Arto Kinnunen f5851f54c7 Follow Mbed OS coding style 2020-10-14 09:08:31 +03:00
Arto Kinnunen 321434eae4 Review corrections
-Check address version NSAPI_UNSPEC
-Disable traces
-More specific interface ID parsing
-Harmonize return values
2020-10-14 09:08:31 +03:00
Arto Kinnunen 0af9d04e4a Mesh: Enable Nanostack DNS cache usage
Inherit methods gethostbyname, gethostbyname_async and get_dns_server
to Nanostack class. Methods will try to find DNS server address
or DNS query results from Nanostack DNS cache.
2020-10-14 09:08:31 +03:00
Martin Kojtal 3a86360cc5
Merge pull request #13576 from mikaleppanen/mesh_radius_conf_5_15
[mbed-os-5.15] Added external RADIUS server configuration to Wi-SUN Border Router
2020-10-13 20:22:42 +01:00
Debdeep Saha 46b141eea5 Resolved comments. 2020-10-13 15:06:38 +03:00
Debdeep Saha c0eb6df2e8 Added APIs for Device min sense and CCA threshold table.
-Added get, set and validate API for device min sens.
-Added get API for CCA threshold table.
2020-10-13 15:06:27 +03:00
Martin Kojtal 33dbb27f32
Merge pull request #13606 from teetak01/coap-5.1.7-for-5.15
Update Mbed CoAP to v5.1.7
2020-10-13 11:22:58 +01:00