Commit Graph

28124 Commits (c43319dc13b5fb65b6ff83de2a8fcd11a2216e63)

Author SHA1 Message Date
Arto Kinnunen c43319dc13 802.15.4 Atmel RF driver update
Sync with master version v3.3.3
2020-12-16 10:51:39 +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
Martin Kojtal 0f92e5591d
Merge pull request #14040 from artokin/nanostack_release_12_7_0_for_feature_wisun
[feature-wisun] Nanostack release v12.7.0
2020-12-14 12:48:34 +00:00
Arto Kinnunen 8cbcdc5ebb
Merge pull request #14033 from jamesbeyond/wisun-cryptography-fix
FIX: update cryptography version to 2.5 or later
2020-12-14 11:37:32 +02: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 8627d05e19 Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from b560a9da36..806f54cea9
806f54cea9 Use event id 0 for initialization event (#45)

git-subtree-dir: features/nanostack/sal-stack-nanostack-eventloop
git-subtree-split: 806f54cea9741acacec0a447db88e3b525548218
2020-12-14 11:27:02 +02:00
Arto Kinnunen 55474994b8
Merge pull request #13927 from liugang-gavin/feature-wisun
targets:evkbimxrt1050: Adjust the SEMC re-order rules
2020-12-14 11:10:04 +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 540d82c278 Squashed 'features/frameworks/nanostack-libservice/' changes from 67d7b93ec6..ad7631083a
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: ad7631083ad69efa3a4335dd586934d25ab70b27
2020-12-14 10:36:44 +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
Arto Kinnunen dad2952087 Squashed 'features/nanostack/sal-stack-nanostack/' changes from 715ae9a693..35b95da122
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)

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 35b95da1226ebb070fdaeb3ec47fb82f48ff8fad
2020-12-14 10:31:07 +02:00
Qinghao Shi 73eaa6f985 FIX: update cryptography version to 2.5 or later 2020-12-11 16:17:23 +00: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 11459797a7 Update WICED binaries for ARMC6
A new method has been added to the NetworkInterface. Therfore WICED
library needs to be rebuild for ARMC6.

Update WICED binaries for:
-MTB_ADV_WISE_1530
-MTB_MXCHIP_EMW3166
-MTB_USI_WM_BN_BM_22
2020-11-30 16:12:09 +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
Arto Kinnunen 6b69421927 Update EmacTestNetworkStack
-Uncomment get_mac_address
-Document set_mac_address
2020-11-25 09:17:20 +02:00
Arto Kinnunen 9d23b7c55b
Merge pull request #13909 from mikaleppanen/feature-wisun-dyn-mem-track
[feature-wisun] Add nanostack dynamic memory tracker and hooks to dynmem library
2020-11-24 16:43:52 +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 de2063928a Update unittests 2020-11-20 12:36:06 +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
Gavin Liu e600c577ee targets:evkbimxrt1050: Adjust the SEMC re-order rules
Update the BMCR0, BMCR1 registers to adjust the SEMC
re-order rules. This can improve the SDRAM stability
under multiple AXI masters system.

Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-11-19 19:14:53 +08: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
Martin Kojtal 649ee6c1f5
Merge pull request #13901 from mikaleppanen/feature_wisun_systick_overflow
[feature-wisun] Make _unacknowledged_ticks uint32_t to prevent overflow
2020-11-11 14:50:29 +00: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
Mika Leppänen 5440137b58 [feature-wisun] Make _unacknowledged_ticks uint32_t to prevent overflow 2020-11-11 11:39:53 +02:00
Arto Kinnunen a0a4707151
Merge pull request #13883 from artokin/nanostack_release_v12_6_2
feature-wisun: Nanostack release v12.6.2
2020-11-10 09:07:24 +02:00
Arto Kinnunen 04c21e779b Squashed 'features/nanostack/sal-stack-nanostack/' changes from d207f4d9f9..715ae9a693
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:

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 715ae9a69376af5c96d53e5445b0d280ee1edf28
2020-11-09 16:06:48 +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
Arto Kinnunen 0f4dbfda56
Merge pull request #13825 from artokin/nanostack_release_v12_6_1_feature-wisun
[feature-wisun] Nanostack release v12.6.1
2020-10-29 12:00:26 +02: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
Arto Kinnunen 02935482ae Squashed 'features/nanostack/sal-stack-nanostack/' changes from 09d9e24f2d..d207f4d9f9
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: d207f4d9f9b703f2cafe966902adfe93b8cfb5f7
2020-10-28 15:35:53 +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
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
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
Anna Bridge eff0cf4a57
Merge pull request #13721 from jamesbeyond/wisun-patch
TEST: Extend the kvstore test time out to 120s
2020-10-06 15:01:42 +01:00
Qinghao Shi fb2a35f0e9 TEST: Extend the kvstore test time out to 120s 2020-10-06 12:26:26 +01: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
Arto Kinnunen 4098b26c44 Squashed 'features/nanostack/sal-stack-nanostack/' changes from 7e3b99c375..09d9e24f2d
09d9e24f2d Merge branch 'release_internal' into release_external
9a3278a1e3 Removed Black list reject from wi-sun neighbour request function
76fc9d77a1 Support SLAAC addressing method for Wi-SUN Border router
71c8bde863 Modified Wi-SUN etx to wait for Probes
b720fbdfe0 Wi-SUN discovery and address registration update
e73c8082ed Merge pull request #2460 from ARMmbed/sync_with_mbed_os
7994d9537b If PMK and PTK are not set do not store keys to NVM
f8813e2d27 Follow Mbed OS coding style
f6ed87754c (via mbedos) Possible invalid memory access on memcpy
40dc215294 Set frame counter increment to 1000000
a57acc84a8 ETX update
5373de2ff4 EAPOL parent TX feilure is reorder candidate list.
6b0e264869 Allowed separate default settings in WS API
850252b9f9 Fixed EAPOL brodcast synch at border router device.
2c1c07779a Corrected unit test
16e38ce688 Changed EAPOL negotiation limit on small nw to 20
21af9233ec Wi-sun ETX update
80e13f4435 Changed EAP-TLS retry trace to info trace level
52a5018fd1 WS: Use special retry configuration when discovery is started (#2450)

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 09d9e24f2d3e97cd38139e5df3d9e79d2ee65f4e
2020-10-05 13:59:09 +03: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 c1ed1987b3
Merge pull request #13666 from mikaleppanen/mesh_global_up
[feature-wisun] Mesh interface global up is indicated always on bootstrap ready
2020-09-30 11:31:35 +01:00