Commit Graph

28156 Commits (beebd93a8ac71253f0f6c7fef3d0ecf70fdf74ee)

Author SHA1 Message Date
Arto Kinnunen c77b2f4beb
Merge pull request #13132 from debdeep-arm/fix-routing-table-get-api
[feature-wisun] Fix routing_table_get API
2020-06-22 16:51:41 +03:00
Arto Kinnunen b0604563bf
Merge pull request #13124 from artokin/feature_wisun_atmel_rf_driver_update
[feature-wisun] 802.15.4 Atmel RF driver update
2020-06-22 16:50:21 +03:00
Arto Kinnunen a9774dfc07
Merge pull request #13133 from artokin/feature_wisun_update_mbed_os_5_15_4
[feature-wisun] Update Mbed OS base version mbed-os-5.15.4
2020-06-22 16:49:49 +03:00
fred.li b728321721 Add WiSun network size configs in JSON 2020-06-18 18:59:31 +08:00
Debdeep Saha 7b1ff34b50 [feature-wisun] Fix routing_table_get API
-Return value is modified.
2020-06-17 16:48:06 +05:30
Arto Kinnunen cef4dde453 Merge remote-tracking branch 'upstream/mbed-os-5.15' into feature-wisun
* upstream/mbed-os-5.15: (47 commits)
  Update mbed version to 5.15.4
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from cc03296c27..b3fe5744d1
  Squashed 'features/frameworks/nanostack-libservice/' changes from 9a61e73787..c6cae6992a
  802.15.4 MCR20A RF driver update
  802.15.4 Atmel RF driver update
  802.15.4 STM S2LP driver update
  Added Wi-SUN statistics interface
  Allowed to set Wi-SUN certificates in DISCONNECTED state
  Change unrecognised features to a warning, rather than error
  Fix assertation ordering in tests
  Define mbedtls_ecc_group_to_psa inline for NS world
  Remove references to mbed-crypto
  Move Mbed Crypto Greentea tests to Mbed TLS
  Update Mbed TLS to latest version
  Adjust Mbed TLS importer and config script
  tls: Remove apache-2.0.txt from importer script
  tools: Fix grammar in feature error message
  M2351: Enable non-PSA minimal secure build
  Cellular: Enable tac info for ALT1250
  Nuvoton: Change WDT clock source to LXT
  ...
2020-06-17 12:21:07 +03:00
Martin Kojtal e4b81f67f9
Merge pull request #13125 from ARMmbed/version-update
Update mbed version to 5.15.4
2020-06-17 10:12:48 +02:00
Anna Bridge 3632545bff
Update mbed version to 5.15.4 2020-06-16 15:06:17 +01:00
Arto Kinnunen 9695b6d178 802.15.4 Atmel RF driver update
Sync with master version v3.3.1
2020-06-16 14:58:01 +03:00
Anna Bridge 0515ed1f9f
Merge pull request #13072 from mikter/ws_certificate_set_change_5.15
[mbed-os-5.15] Allowed to set Wi-SUN certificates in DISCONNECTED state
2020-06-12 14:48:23 +01:00
Anna Bridge 82e2f9016c
Merge pull request #13080 from artokin/nanostack_release_12_3_0_to_5_15
[mbed-os-5.15] Nanostack release v12.3.0
2020-06-12 14:47:34 +01:00
Anna Bridge cc8bb4596f
Merge pull request #13084 from debdeep-arm/wisun-interface-api-add
[feature-wisun] Added Wi-SUN interface and Border Router API.
2020-06-11 12:04:22 +01:00
Debdeep Saha 16e807e2f5 Adding check for RPL instance count. 2020-06-10 20:43:03 +05:30
Mika Tervonen 782141bf98
Allowed to set Wi-SUN certificates in DISCONNECTED state (#13071)
Before certificates were able to set only once.
Now after disconnect those can be set Again

Also those can be set when stack is active
2020-06-10 17:16:22 +03:00
Debdeep Saha 466a57ada4 resolved astyle - coding format. 2020-06-10 18:26:07 +05:30
Debdeep Saha 0387254ebd Resolved comments.
Rebased with ARMmbed feature-wisun branch.
2020-06-10 18:01:50 +05:30
Martin Kojtal c0ca6452d5
Merge pull request #13063 from liugang-gavin/feature-wisun
[feature-wisun] targets:lpspi and uart_3: Update the lpspi driver and add uart_3 support
2020-06-10 11:47:22 +02:00
Debdeep Saha 4c6dd9334a Fixed coding style. 2020-06-09 18:54:00 +05:30
Debdeep Saha 64851eb5d9 Added Wi-SUN interface and Border Router API.
-Taken modification for adding IID in BR info structure.
-Added API to get RPL info for Wi-SUN router and BR.
-Added API to get routing table info from BR.
2020-06-09 18:54:00 +05:30
Martin Kojtal 8e5976898f
Merge pull request #12969 from OpenNuvoton/nuvoton_5.15_watchdog_hardfault
Nuvoton: Fix watchdog reset failure on meeting Hard Fault (5.15)
2020-06-09 11:09:06 +02:00
Martin Kojtal 8529d5c832
Merge pull request #12893 from mikaleppanen/wisun_stats_5_15
Add Wi-SUN statistics interface (Mbed OS 5.15)
2020-06-09 09:21:56 +02:00
Martin Kojtal 72fa02d92b
Merge pull request #13079 from artokin/nanostack_release_12_3_0
[feature-wisun] Nanostack release v12.3.0
2020-06-09 09:16:56 +02:00
timwang a22f59635b targets:uart: Add uart_3 support
Add uart_3 support, which using GPIO_AD_B1_06 as TX pin, GPIO_AD_B1_07
as RX pin

Signed-off-by: timwang <tim.wang@nxp.com>
2020-06-09 14:25:41 +08:00
TimWang 2f74892df1 targets:lpspi: Update the lpspi driver and api
Change the lpspi default transfer delays to fix the data corruption
issue.

Add the loop and judgement to retry transfer when spi bus is busy.

Add the judgement statement to fix the hang issue.

Signed-off-by: TimWang <tim.wang@nxp.com>
2020-06-09 14:25:36 +08:00
Arto Kinnunen e3c2a36da0 Squashed 'features/nanostack/sal-stack-nanostack/' changes from cc03296c27..b3fe5744d1
b3fe5744d1 Remove test files from the release
b2bf24ca85 Merge branch 'release_internal' into release_external
0ed25a7485 Fix errors found from coverity scan (#2386)
7a138f7e51 Added IID for border router info structure
4021b0c1ef LLC secure data duplicate check update and EAPOL relay duplicate fix
b190a97eeb Remove Thread-protocol from README (#2383)
ae8ae32cfe EAPOL relay agent rx filter from joiner side
0d4eb7a46e Removed dead code part
fc644f5e5b RPL new parent accept update and NUD operation
f5920e2d0c ETX API update and RPL ETX threshold callback update.
1fdee20a40 Wi-sun keep all candidates alive by NUD.
bd746da33d Key storage settings are no longer cleared on delete
bd388fcb08 Changed EAPOL initial-Key retries from 2 to 4 on large NW
a3d80a3235 WS bootstrap: Default CCA threshold to -60dBm (#2377)
72b26a72c2 Created extra large network setup for Wi-SUN
38dd4a6423 Corrected PTK and PMK lifetime handling
64f2a77239 Cleared EAPOL temporary trace print's.
02ec23fa27 Timed parent selection is now imim-imin*2 earlier there was just 5 seconds randomize.
3b2d906b75 Added check for network name and DODAG ID IID (EUI-64) (#2373)
ee45f4be32 Updated initial key trickles
184425b038 Fixed parent target address set.
07ec2374a1 Updated Discovery and RPL setup large & medium size network
a94d8f2e5d RPL version num update
9e2ac1d855 Double default eapol entry size for test purpose.
6b8beefb51 Clear all neighbors only on eapol next target check
faa19e1fba Corrected next address set
8a917fb9a5 Continue trickle on initial EAPOL-key TX failure
cfdb193c3e Merge pull request #2368 from ARMmbed/sync_with_mbedos
f7a15fa68d (via MbedOS) ws: added support for brazilian regulatory domain
c397edb121 Changed large network initial-key trickle parameters
758f5347b5 Added maximum frame counter storing interval
b0ea148d41 Corrected key storage configuration setting
be3c94e03b WS RPL paret soft filter update
8b1d537a02 Adjusted EAPOL limits and timers
9a2166869f Merge branch 'release_internal' into release_external
8e72b80826 MAC CCA thr: Check if channel out of range (#2363)
146a0a38c2 Corrected trace on authenticator
d04a96dd48 Merge pull request #2361 from ARMmbed/sync_with_mbedos
2c2b915198 Added empty function for ns time callback
76ac0decce Remove NCS36510 target
0258ac3197 Remove KW24D target
788f01b93d Netsocket/lwIP Stack: Remove support for ARM Compiler 5
2fbc7a1c4f Corrected invalid memory read on access revoke
941b9b42dc Updates to stagger/latency (#2358)
c2abaaafba Corrected defects
1811194bf2 Corrected warning trace, validations and ut stubs
69e2d1989e Added NS filesystem and interface to application
c5b6993ddd refactored packet ingress
a05605eca3 Unsecured packets will be acked by default automatically.
36dfb2924f MAC: Implemented automatic CCA threshold (#2353)
0396b9738c Revert EAPOL simplify failure handling and focus this problem later on.
b2fe3d49db Ignoring authentication failure if security protocol already started
11de56dad8 Added info API for Wi-SUN border router
87a4f691fe Added EAPOL key storage to authenticator and unified GTK storage (#2345)
ff1ca25ed7 EAPOL failure simplify and EAPOL relay agent add trace when eapol temp pool is empty
6667b31ae8 Update NA trace
34cdafe214 Temporary EAPOL neighbour entry Update and MAC MLME update
d092f833a8 Iotthd 3995 (#2347)
e2ea4e41f7 Disabled BR (TLS server) EC calculation queue
575985190d Changed the rate limiting function to calculate the values runtime
899e75510b Make it possible to update tr51 table to larger dynamically
8436669c10 Added configuration for DHCP lifetime value
da732bc28e When network name or PAN ID is changed authenticator updates MAC keys

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: b3fe5744d1ab20792223ff08f08ef97a1f89682b
2020-06-08 14:27:38 +03:00
Arto Kinnunen 364a81b43a Merge commit 'e3c2a36da0985647730e26c63b50d480cce9ef79' into mbed-os-5.15
* commit 'e3c2a36da0985647730e26c63b50d480cce9ef79':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from cc03296c27..b3fe5744d1
2020-06-08 14:27:38 +03:00
Arto Kinnunen db42dca51c Squashed 'features/frameworks/nanostack-libservice/' changes from 9a61e73787..c6cae6992a
c6cae6992a Merge pull request #90 from ARMmbed/sync_with_mbedos
bc57095abb Netsocket/lwIP Stack: Remove support for ARM Compiler 5

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: c6cae6992a12f62f19cf7875f889304d5c1ded6d
2020-06-08 14:26:15 +03:00
Arto Kinnunen 2c16a69cdc Merge commit 'db42dca51cea37a6ea2dfab1aedbbb6ac7ab10ee' into mbed-os-5.15
* commit 'db42dca51cea37a6ea2dfab1aedbbb6ac7ab10ee':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 9a61e73787..c6cae6992a
2020-06-08 14:26:15 +03:00
Arto Kinnunen 85b3d20ee6 802.15.4 MCR20A RF driver update
Sync with master version v1.0.9
2020-06-08 14:24:31 +03:00
Martin Kojtal ffe6b49c82
Merge pull request #13033 from Patater/upgrade-to-tls-2.22.0-5.15
[Mbed OS 5.15] Upgrade to Mbed TLS 2.22.0
2020-06-08 13:24:17 +02:00
Martin Kojtal d0fb06e381
Merge pull request #13031 from dgreen-arm/add-feature-experimental-5.15
Mbed OS 5.15: Warn on unrecognised error
2020-06-08 13:23:51 +02:00
Martin Kojtal 1dd5069fe7
Merge pull request #12986 from OpenNuvoton/nuvoton_5.15_m2351_npsa_secure-minimal-build
M2351: Enable non-PSA minimal secure build (5.15)
2020-06-08 13:23:16 +02:00
Arto Kinnunen 34273a4a78 802.15.4 Atmel RF driver update
Sync with master version v3.3.0
2020-06-08 14:20:00 +03:00
Arto Kinnunen 84d9e62f24 802.15.4 STM S2LP driver update
Sync with master v1.0.5
2020-06-08 14:17:30 +03:00
Mika Leppänen 7b6ee061ba Added Wi-SUN statistics interface
Added network and MAC statistics to Wi-SUN interface.
2020-06-08 13:07:09 +03:00
Arto Kinnunen 5f4ae1f766 Merge commit '528aa2f96fd4702b02ae9fff3dacd546ee984fde' into feature-wisun
* commit '528aa2f96fd4702b02ae9fff3dacd546ee984fde':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9a2166869f..b3fe5744d1
2020-06-08 10:12:05 +03:00
Arto Kinnunen 528aa2f96f Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9a2166869f..b3fe5744d1
b3fe5744d1 Remove test files from the release
b2bf24ca85 Merge branch 'release_internal' into release_external
0ed25a7485 Fix errors found from coverity scan (#2386)
7a138f7e51 Added IID for border router info structure
4021b0c1ef LLC secure data duplicate check update and EAPOL relay duplicate fix
b190a97eeb Remove Thread-protocol from README (#2383)
ae8ae32cfe EAPOL relay agent rx filter from joiner side
0d4eb7a46e Removed dead code part
fc644f5e5b RPL new parent accept update and NUD operation
f5920e2d0c ETX API update and RPL ETX threshold callback update.
1fdee20a40 Wi-sun keep all candidates alive by NUD.
bd746da33d Key storage settings are no longer cleared on delete
bd388fcb08 Changed EAPOL initial-Key retries from 2 to 4 on large NW
a3d80a3235 WS bootstrap: Default CCA threshold to -60dBm (#2377)
72b26a72c2 Created extra large network setup for Wi-SUN
38dd4a6423 Corrected PTK and PMK lifetime handling
64f2a77239 Cleared EAPOL temporary trace print's.
02ec23fa27 Timed parent selection is now imim-imin*2 earlier there was just 5 seconds randomize.
3b2d906b75 Added check for network name and DODAG ID IID (EUI-64) (#2373)
ee45f4be32 Updated initial key trickles
184425b038 Fixed parent target address set.
07ec2374a1 Updated Discovery and RPL setup large & medium size network
a94d8f2e5d RPL version num update
9e2ac1d855 Double default eapol entry size for test purpose.
6b8beefb51 Clear all neighbors only on eapol next target check
faa19e1fba Corrected next address set
8a917fb9a5 Continue trickle on initial EAPOL-key TX failure
cfdb193c3e Merge pull request #2368 from ARMmbed/sync_with_mbedos
f7a15fa68d (via MbedOS) ws: added support for brazilian regulatory domain
c397edb121 Changed large network initial-key trickle parameters
758f5347b5 Added maximum frame counter storing interval
b0ea148d41 Corrected key storage configuration setting
be3c94e03b WS RPL paret soft filter update
8b1d537a02 Adjusted EAPOL limits and timers

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: b3fe5744d1ab20792223ff08f08ef97a1f89682b
2020-06-08 10:12:05 +03:00
Martin Kojtal 599ddce7aa
Merge pull request #12972 from kivaisan/ALT1250_enable_tac_info_for_reg_status_mbed_5_15
Alt1250 enable tac info for registration status (mbed 5.15)
2020-06-08 09:06:11 +02:00
Martin Kojtal 9cac2f4dac
Merge pull request #12970 from OpenNuvoton/nuvoton_5.15_watchdog_lxt
Nuvoton: Refine more on watchdog HAL (5.15)
2020-06-08 09:05:43 +02:00
Martin Kojtal f2b0cdac6d
Merge pull request #12895 from mikaleppanen/ns_kv_store_5_15
Added kv store adaptation to nanostack file interface (Mbed OS 5.15)
2020-06-08 09:04:58 +02:00
Martin Kojtal a3fdbc7944
Merge pull request #12894 from mikaleppanen/fea_wisun_nanostack_device_type_config_5_15
Nanostack: Add config for Wi-SUN device type (Mbed OS 5.15)
2020-06-08 09:04:37 +02:00
Martin Kojtal 014c926c3b
Merge pull request #12892 from mikaleppanen/new_wisun_conf_param_5_15
Add new configuration parameters to Wi-SUN network interface and Border Router class (Mbed OS 5.15)
2020-06-08 08:59:02 +02:00
Martin Kojtal 2d20bb16e6
Merge pull request #12882 from artokin/backport_pr_12522
[Mbed OS 5.15] Add getsockopt option to read network property
2020-06-08 08:58:02 +02:00
Arto Kinnunen 8a16f4bf69 components/802.15.4 Atmel RF driver update
Sync with master version v3.3.0
2020-06-08 09:37:37 +03:00
Arto Kinnunen b7705a9122 components/802.15.4 STM S2LP driver update
Sync with master v1.0.5
2020-06-08 09:28:35 +03:00
Mika Tervonen bd00cf19e9 Allowed to set Wi-SUN certificates in DISCONNECTED state
Before certificates were able to set only once.
Now after disconnect those can be set Again

Also those can be set when stack is active
2020-06-05 12:49:50 +03:00
Darryl Green cd1b59b511 Change unrecognised features to a warning, rather than error
Give a warning rather than error if an unrecognised feature is used.
This will help compatibility when new features are added.

Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:18:19 +01:00
Darryl Green cff3dd7eb3 Fix assertation ordering in tests
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:04:18 +01:00
Darryl Green 4effe85be7 Define mbedtls_ecc_group_to_psa inline for NS world
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:04:18 +01:00
Darryl Green f7fdee385f Remove references to mbed-crypto
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:04:18 +01:00