Commit Graph

6485 Commits (feature-wisun)

Author SHA1 Message Date
Arto Kinnunen e1fbfb682b Merge commit 'ab953a0d782c8121aaf9b6c952410fa695841781' into PR14164
* commit 'ab953a0d782c8121aaf9b6c952410fa695841781':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 3183d87e41..f8ae0e9bc9
2021-01-21 14:11:58 +02: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
Arto Kinnunen 26f715ab87 Merge commit '9efce968e9d7b8ba29234d4b8c5dbf9e07d5bf92' into origin/nanostack_release_12_8_0_feature_wisun
* commit '9efce968e9d7b8ba29234d4b8c5dbf9e07d5bf92':
  Squashed 'features/frameworks/nanostack-libservice/' changes from ad7631083a..a526cc3f41
2021-01-19 12:33:06 +02:00
Arto Kinnunen 07089272fa Merge commit '02021856e4681bd5092e48b8513ff90fb5d6b1e9' into origin/nanostack_release_12_8_0_feature_wisun
* commit '02021856e4681bd5092e48b8513ff90fb5d6b1e9':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 35b95da122..3183d87e41
2021-01-18 15:24:13 +02:00
Arto Kinnunen 15975a0a7e Merge commit 'a98f18974ae277f669bc2a95178bf0ab2eccc06b' into feature-wisun
* commit 'a98f18974ae277f669bc2a95178bf0ab2eccc06b':
  Squashed 'features/frameworks/mbed-trace/' changes from 6ced9711c4..b98f6a9050
2021-01-18 14:55:46 +02:00
Arto Kinnunen bc16fbec3e Merge commit 'a95498f79214928d4b67efc0bd740de6f78fc205' into feature-wisun
* commit 'a95498f79214928d4b67efc0bd740de6f78fc205':
  Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from 806f54cea9..d182fa4b3a
2021-01-18 14:29:54 +02:00
Jarkko Paso 5d3edd568e Mesh api: Added PHY mode and channel plan IDs 2021-01-15 12:43:24 +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
Martin Kojtal 84d991342a
Merge pull request #13902 from artokin/set_mac_address
[feature-wisun] Network interface MAC address set/get
2020-12-14 13:52:44 +00:00
Martin Kojtal 715b15ccaa
Merge pull request #14018 from mikaleppanen/feature_wisun_corr_cert_add
Corrected Wi-SUN certificate add and remove functions on Wi-SUN interface
2020-12-14 13:52:15 +00:00
Martin Kojtal ff1b75d646
Merge pull request #13937 from mikaleppanen/new_to_nothrow
[feature-wisun] Replaced new calls with nothrow version of the call on mesh api
2020-12-14 12:49:32 +00:00
Arto Kinnunen 9c106fc631 Merge commit '8627d05e192c2b85eddd7108c89a67dcc6a29c34' into feature-wisun
* commit '8627d05e192c2b85eddd7108c89a67dcc6a29c34':
  Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from b560a9da36..806f54cea9
2020-12-14 11:27:03 +02:00
Arto Kinnunen 8a5f0f6d65 Merge commit '540d82c2785e100d170104efe90016257040355d' into feature-wisun
* commit '540d82c2785e100d170104efe90016257040355d':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 67d7b93ec6..ad7631083a
2020-12-14 10:44:46 +02:00
Arto Kinnunen 423d4d8f87 Merge commit 'dad29520878740d4673638d73cfb53d757b7895c' into feature-wisun
* commit 'dad29520878740d4673638d73cfb53d757b7895c':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 715ae9a693..35b95da122
2020-12-14 10:31:07 +02:00
Mika Leppänen 66273c7944 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-09 13:16:30 +02:00
Arto Kinnunen 69675417e6 Remove API changes
-Remove Nanostack::add_ethernet_interface API change
-Add get_mac_address to MeshEthernetInterface
2020-11-26 17:07:24 +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
Arto Kinnunen cfc11827d5 Fix unittests
Use path in "mbed-trace/mbed_trace.h" to keep unittest happy.
2020-11-24 15:27:07 +02:00
Arto Kinnunen 71d5482941 Fix method description 2020-11-24 12:04:41 +02:00
Arto Kinnunen 7a801e92ac Follow Mbed OS coding style 2020-11-24 11:51:04 +02:00
Arto Kinnunen 8f88cba705 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.
2020-11-24 11:10:24 +02:00
Arto Kinnunen b1f65d2e68 Review corrections
-Update method set_mac_address description
-Update EMAC test method return value
2020-11-23 10:49:12 +02:00
Mika Leppänen 7303d446ad Replaced new calls with nothrow version of the call on mesh api
Replaced new calls with nothrow version of the call.
2020-11-20 14:08:32 +02:00
Arto Kinnunen cb1419d2e7 Update set_mac_address signature
Use nsapi_size_t instead of size_t.
Update missing method description.
2020-11-20 12:35:57 +02:00
Mika Leppänen a9746a563a Added extended block list to dynamic memory tracker
If same allocator (alloc call) allocates multiple dynamic memory blocks,
the additional blocks are added to extended memory block list, and
the allocator list reference count and total sizes are increased.
When statistics are calculated, it is only needed to process the
allocator list, not the whole memory block list.

Added also optional hash function to calculate the (start) index where
memory block information is stored on extended memory block list. Hash
is calculated from memory block address.

It is expected that hash distributes the free index searches evenly
to whole memory area allocated for extended memory block list. So if
area is large enough, in most cases the index pointed by the hash, or
the index few indexes from that, should be empty and available for use.
Similarly, when memory block is freed, the search for the block on
the extended memory block list, starts from the index pointed by the
hash.

If hash is not used, extended memory block list searches start always
from index 0.
2020-11-18 17:31:41 +02:00
Arto Kinnunen c81aca4d03 Review correction: Remove unnecessary method
Remove unnecessary method: add_ethernet_interface_ns
2020-11-16 16:37:46 +02:00
Arto Kinnunen 7155c9aa9d MAC address set/get support for EMAC interface
Add support to set and get MAC address from EMAC interface.
2020-11-16 16:09:09 +02:00
Mika Leppänen 5c24b26940 Added nanostack dynamic memory tracker and hooks to dynmem library
Nanostack dynamic memory tracker tracks memory allocations. It has following
interface:

ns_dyn_mem_tracker_lib_alloc: is called on alloc

ns_dyn_mem_tracker_lib_free: is called on free

ns_dyn_mem_tracker_lib_step: updates the lifetime of individual memory
blocks (is used to detected which blocks are permanent and which
have been allocated lately)

ns_dyn_mem_tracker_lib_allocator_lists_update: updates allocator lists,
there are lists for top allocators, permanent allocators and allocators
going to permanent allocators list

ns_dyn_mem_tracker_lib_max_snap_shot_update: can be used to update memory
maximum usage snap shot, this can be called on alloc if snap shot is
needed
2020-11-16 10:20:36 +02:00
Arto Kinnunen 26b322e3de Method for adding network interface MAC address
Add method set_mac_address to set network interface MAC address.
2020-11-11 14:54:51 +02:00
Arto Kinnunen 554cfaf1a4 Merge commit '04c21e779bce62f4caa4f913e6c2a847f50d949e' into feature-wisun
* commit '04c21e779bce62f4caa4f913e6c2a847f50d949e':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from d207f4d9f9..715ae9a693
2020-11-09 16:06:48 +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
Arto Kinnunen 283197975c Merge commit '02935482aeb5abe15817c48ad6ca078e79c00478' into feature-wisun
* commit '02935482aeb5abe15817c48ad6ca078e79c00478':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 09d9e24f2d..d207f4d9f9
2020-10-28 15:35:54 +02:00
Martin Kojtal e054e8baca
Merge pull request #13740 from mikaleppanen/radius_init_fea_wisun
feature-wisun: Add initialization to radius retry values
2020-10-26 12:48:23 +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
Mika Leppänen e41a6988d1 [feature-wisun] Added initialization to radius retry values
This corrects uninitialized scalar field coverity warning.
2020-10-08 12:51:51 +03:00
Mika Leppänen c78f17f85b Added certificate remove before add to wisun tasklet
This prevents tasklet from adding own certificates multiple times
to Nanostack in case bootstrap is made again.
2020-10-08 12:03:11 +03:00
Mika Leppänen 18a0f76334 [mbed-os-5.15] Added external RADIUS server configuration to Wi-SUN Border Router
Added configuration functions and .json configuration options for:
- external RADIUS server IPv6 address
- RADIUS shared secret.
- RADIUS client retry trickle timer configuration. This can be used to set how fast
the RADIUS client retries Access-Request messages to RADIUS server in case reply
from server is not received.
2020-10-08 10:23:03 +03:00
Arto Kinnunen c6d65fe508
Merge pull request #13716 from artokin/nanostack_release_v12_6_0_for_feature_wisun
[feature-wisun] Nanostack release v12.6.0
2020-10-07 09:08:49 +03:00
Qinghao Shi fb2a35f0e9 TEST: Extend the kvstore test time out to 120s 2020-10-06 12:26:26 +01:00
Arto Kinnunen 12a43bada5 Merge commit 'd2d0895795de64321d486208316838415ed80d65' into mbed-os-5.15
* commit 'd2d0895795de64321d486208316838415ed80d65':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from d879e6db87..09d9e24f2d
2020-10-05 15:14:02 +03:00
Arto Kinnunen c1c9ba5c6a Merge commit '4098b26c4477b6ed8929e71c571b8fb13195582a' into feature-wisun
* commit '4098b26c4477b6ed8929e71c571b8fb13195582a':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 7e3b99c375..09d9e24f2d
2020-10-05 13:59:55 +03:00
Mika Leppänen 26a9079263 [mbed-os-5.15] Mesh interface global up is indicated always on bootstrap ready
This indicates e.g. to client that IP address has changed or connection
to network has been established.
2020-10-05 13:28:36 +03:00
Qinghao Shi 53fe4cf6f9 TEST: Extend the kvstore test time out to 120s 2020-10-01 11:54:50 +01:00
Martin Kojtal 6b23d6192c
Merge pull request #13686 from JarkkoPaso/feature-wisun
Copied TDBStore RAM init fix from mbed OS master
2020-09-30 11:46:03 +01:00
Martin Kojtal b67e542a69
Merge pull request #13495 from artokin/upstream_mesh_network_size_api_to_5_15
[mbed-os-5.15] Add WiSun network size configs in JSON
2020-09-30 11:30:44 +01:00
Martin Kojtal 7b57ac62b6
Merge pull request #13559 from artokin/nanostack_release_v12_5_0_mbedos_5_15
[mbed-os-5.15] Nanostack release v12.5.0
2020-09-30 10:43:41 +01:00
Jarkko Paso ee3bda0ceb Copied TDBStore RAM init fix from mbed OS master 2020-09-30 11:35:07 +03:00
Mika Leppänen ff9a560737 Mesh interface global up is indicated always on bootstrap ready
This indicates e.g. to client that IP address has changed or connection
to network has been established.
2020-09-25 15:19:14 +03:00
Felipe f2ac70318a Possible invalid memory access on memcpy 2020-09-15 14:12:50 -03:00
Arto Kinnunen 29fc103fdb Merge commit '53e16d679d1e78746dfa09b8ed5e36e280702ec9' into feature-wisun
* commit '53e16d679d1e78746dfa09b8ed5e36e280702ec9':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9a1b35398c..7e3b99c375
2020-09-15 13:19:10 +03:00
Martin Kojtal 57d32285c6
Merge pull request #13605 from teetak01/coap-5.1.7-for-wisun
Update Mbed CoAP to v5.1.7
2020-09-14 12:23:00 +01:00
Mika Leppänen e9a4c729fa Added certificate remove before add to wisun tasklet
This prevents tasklet from adding own certificates multiple times
to Nanostack in case bootstrap is made again.
2020-09-14 12:37:08 +03:00
Teemu Takaluoma 3c6b5c3e37 Update Mbed CoAP to v5.1.7 2020-09-14 12:23:38 +03:00
Teemu Takaluoma 9274236794 Update Mbed CoAP to v5.1.7 2020-09-14 12:20:00 +03:00
Arto Kinnunen b204ba592a
Merge pull request #13588 from mikaleppanen/radius_trace_corr
[feature-wisun] Added initialization check to RADIUS ipv6 address
2020-09-10 19:40:45 +03:00
Arto Kinnunen 99bd22cfaf Merge commit '769796ee45960a01489665d1af0325e6680b2211' into feature-wisun
* commit '769796ee45960a01489665d1af0325e6680b2211':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from b969fa3779..9a1b35398c
2020-09-10 13:26:48 +03:00
Mika Leppänen 013ab40ec7 Added initialization check to RADIUS ipv6 address
This prevents the border router from printing unnecessary error trace
when RADIUS is not enabled.
2020-09-10 09:57:52 +03:00
Arto Kinnunen 45f6b27f8b Merge commit '8ae3f59cb8606f9db7ab1a34844710ee0cb6ebd8' into feature-wisun
* commit '8ae3f59cb8606f9db7ab1a34844710ee0cb6ebd8':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from d879e6db87..b969fa3779
2020-09-08 12:39:39 +03:00
Arto Kinnunen cbfbca5bd4 Merge commit '3d6d4d5a9e08a05dbafd3592e8b0c69e05454523' into mbed-os-5.15
* commit '3d6d4d5a9e08a05dbafd3592e8b0c69e05454523':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 48609aeded..d879e6db87
2020-09-07 11:10:05 +03:00
Arto Kinnunen a43934c343 Merge commit '1ad46bb6f1fb40805aa9f72ccb50c87335febed7' into feature-wisun
* commit '1ad46bb6f1fb40805aa9f72ccb50c87335febed7':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 91acececbd..d879e6db87
2020-09-04 13:53:21 +03:00
Arto Kinnunen 85f2537a1c
Merge pull request #13521 from debdeep-arm/add-wisun-param
[feature-wisun] Added APIs for Device min sense and CCA threshold table.
2020-09-04 12:17:20 +03:00
Debdeep Saha 1d02005677 Resolved comments. 2020-09-03 21:24:26 +05:30
Mika Leppänen 417c888baf Added configuration for RADIUS retry timer 2020-09-03 12:12:18 +03:00
Arto Kinnunen e46dd971df
Merge pull request #13507 from artokin/enable_nanostack_dns_cache
[feature-wisun] Enable Nanostack DNS cache usage
2020-09-03 11:46:41 +03:00
Arto Kinnunen 5a6b76021d
Merge pull request #13517 from mikaleppanen/radius_shared_secret_set_corr
[feature-wisun] RADIUS shared secret .json parameter set correction
2020-09-02 15:37:44 +03:00