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
Arto Kinnunen
69720f1068
Use macro for isdigit
2020-09-02 15:15:45 +03:00
Debdeep Saha
b0c2443ec1
Typo fixed.
2020-09-02 13:49:01 +03:00
Debdeep Saha
72c28ee497
Resolving comments
2020-09-02 13:49:01 +03:00
Debdeep Saha
c5386c0cee
Updating mbed-mesh-api.
...
-Adding new parameters for Wi-SUN interface information.
2020-09-02 13:49:01 +03:00
Debdeep Saha
a69af3f848
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-09-02 15:26:38 +05:30
Arto Kinnunen
22c3c35996
Follow Mbed OS coding style
2020-09-02 12:41:14 +03:00
Arto Kinnunen
207250fe84
Update WisunBorderRouter class
...
Add set_dns_query_result to WisunBorderRouter.
2020-09-02 12:41:14 +03:00
Arto Kinnunen
7b775632f1
Follow Mbed OS coding style
2020-09-02 12:41:14 +03:00
Arto Kinnunen
58136e93d8
Review corrections
...
-Check address version NSAPI_UNSPEC
-Disable traces
-More specific interface ID parsing
-Harmonize return values
2020-09-02 12:41:14 +03:00
Arto Kinnunen
24aaba0eca
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-09-02 12:41:14 +03:00
Arto Kinnunen
a21c2e20fe
Merge commit '9bea7f4b891f33623aca0e51b92736818397de1b' into nanostack_milestone5_prerel
...
* commit '9bea7f4b891f33623aca0e51b92736818397de1b':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 48609aeded..91acececbd
2020-09-02 10:49:11 +03:00
Mika Leppänen
a327210fd0
RADIUS shared secret .json parameter set correction
2020-09-01 12:18:00 +03:00
fred.li
a219f8a581
Add WiSun network size configs in JSON
2020-08-26 10:52:53 +03:00
Mika Leppänen
befd783e59
Added support for RADIUS configuration options to Wi-SUN
...
Added support for 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.
2020-08-20 11:43:01 +03:00
Debdeep Saha
0e64f7de8a
Typo fixed.
2020-08-19 15:24:04 +05:30
Debdeep Saha
2b11de8629
Resolving comments
2020-08-19 15:24:04 +05:30
Debdeep Saha
80c9b270cd
Updating mbed-mesh-api.
...
-Adding new parameters for Wi-SUN interface information.
2020-08-19 15:24:04 +05:30
Arto Kinnunen
6cce3f5fbe
Merge commit '2981e10afe3021b74a1213480419350c140d9e8b' into mbed-os-5.15
...
* commit '2981e10afe3021b74a1213480419350c140d9e8b':
Squashed 'features/frameworks/mbed-trace/' changes from 642a459a39..6ced9711c4
2020-08-18 12:16:18 +03:00
Arto Kinnunen
0a6e65629e
Merge commit '946061932982cee2928784163fec649bc718692f' into mbed-os-5.15
...
* commit '946061932982cee2928784163fec649bc718692f':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from b3fe5744d1..48609aeded
2020-08-18 12:14:57 +03:00
Arto Kinnunen
1df883563d
Merge commit 'e13417d3ce12469f3418ade4bf1183993083efdd' into mbed-os-5.15
...
* commit 'e13417d3ce12469f3418ade4bf1183993083efdd':
Squashed 'features/frameworks/nanostack-libservice/' changes from c6cae6992a..67d7b93ec6
2020-08-18 12:09:08 +03:00
Arto Kinnunen
7764d75934
Merge commit '07bd840fb601902f653b4adaa9d8d768b137ad8c' into mbed-os-5.15
...
* commit '07bd840fb601902f653b4adaa9d8d768b137ad8c':
Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from 276ff28179..b560a9da36
2020-08-18 12:08:49 +03:00
Arto Kinnunen
12bfd83b0d
Merge commit '42748f8a55dde0406c3b9188c262c4296fda4b86' into feature-wisun
...
* commit '42748f8a55dde0406c3b9188c262c4296fda4b86':
Squashed 'features/frameworks/mbed-trace/' changes from 642a459a39..6ced9711c4
2020-08-17 17:46:40 +03:00
Arto Kinnunen
75e1781f0c
Merge commit '96d7abd79fc58007ec6ed11dc73e64145b30d528' into feature-wisun
...
* commit '96d7abd79fc58007ec6ed11dc73e64145b30d528':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from b3fe5744d1..48609aeded
2020-08-17 17:18:15 +03:00
Arto Kinnunen
4c4af375af
Merge commit '4d8c88d1f3b4f99bce35d737db58fd74436adf6f' into feature-wisun
...
* commit '4d8c88d1f3b4f99bce35d737db58fd74436adf6f':
Squashed 'features/frameworks/nanostack-libservice/' changes from c6cae6992a..67d7b93ec6
2020-08-17 17:15:17 +03:00
Arto Kinnunen
a367c51851
Merge commit '565dab530c9544c6cf5d391c5444aa040b410513' into feature-wisun
...
* commit '565dab530c9544c6cf5d391c5444aa040b410513':
Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from 276ff28179..b560a9da36
2020-08-17 17:10:14 +03:00
Anna Bridge
455041e9ae
Merge pull request #13151 from debdeep-arm/wisun-interface-api-add
...
[mbed-os-5.15] Added Wi-SUN Interface APIs
2020-07-27 17:20:41 +01:00
Anna Bridge
81e1d4693d
Merge pull request #13150 from OpenNuvoton/nvt_5.15_emac_bus_err
...
Nuvoton: Support EMAC bus reset as while bus err (5.15)
2020-07-27 17:18:55 +01:00
Arto Kinnunen
3ab72c71b7
Merge pull request #13134 from fredlee12001/WiSun_Size
...
Add WiSun network size configs in JSON
2020-07-03 10:12:11 +03:00
Mika Leppänen
f944bb738e
Corrected network name and PAN ID change on auth start
...
PAE supplicant did not detect correctly that network name or PAN ID
was changed on authentication start. This causes the supplicant to
use old keys and old BR EUI-64 during authentication, which resulted
to BR EUI-64 mismatch on 4WH.
2020-06-24 11:25:10 +03:00
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
Debdeep Saha
3f69826bd4
[mbed-os-5.15] Added Wi-SUN Interface APIs
...
-info_get for Wi-SUN router.
-info_get for Wi-SUN BR.
-routing_table_get for Wi-SUN BR.
2020-06-18 16:40:30 +05:30
fred.li
b728321721
Add WiSun network size configs in JSON
2020-06-18 18:59:31 +08:00
cyliangtw
c853aed2b0
M487, NUC472 EMAC code fulfill astyle
2020-06-18 16:16:10 +08:00
cyliangtw
16e447e4a6
NUC472 support EMAC bus reset as while bus error
2020-06-18 16:16:09 +08:00
cyliangtw
54b34172e6
Refine M487 EMAC bus reset
2020-06-18 16:16:08 +08:00
cyliangtw
a993582148
Resolve M487 EMAC bus error by bus reset
2020-06-18 16:16:07 +08:00
Felipe
dd546ed28e
WS Management API missing include
2020-06-17 22:53:17 -03: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
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
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
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
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
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
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
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
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
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
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
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
71d213d5bd
Update Mbed TLS to latest version
...
As Mbed Crypto has been remerged into Mbed TLS, remove Mbed Crypto
at the same time.
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:04:18 +01:00
Darryl Green
7cf7f2e3cb
Adjust Mbed TLS importer and config script
...
Mbed Crypto has been remerged back into Mbed TLS. Update the
Mbed TLS importer script with the relevant parts of the
Mbed Crypto importer.
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:03:36 +01:00
Devaraj Ranganna
a041df729f
tls: Remove apache-2.0.txt from importer script
...
Both Mbed TLS and Mbed Crypto libraries doesn't contain
`apache-2.0.txt` anymore. Do not access those files in the importer
script.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2020-05-29 13:03:36 +01:00
Kimmo Vaisanen
5de677a35b
Cellular: Enable tac info for ALT1250
...
ALT1250 supports tac info in registration status, so this commit enables the feature.
2020-05-14 15:10:58 +03:00
Arto Kinnunen
cb94e609e1
Merge commit '4b041bf749b46884727bf627a1a73da6d756ccd9' into feature-wisun
...
* commit '4b041bf749b46884727bf627a1a73da6d756ccd9':
Squashed 'features/frameworks/nanostack-libservice/' changes from 9a61e73787..c6cae6992a
2020-05-11 11:49:01 +03:00
Arto Kinnunen
314eb7a586
Merge commit '1687b4aa4f8e24dffa1b019757c081da48bf526d' into feature-wisun
...
* commit '1687b4aa4f8e24dffa1b019757c081da48bf526d':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from cc03296c27..9a2166869f
2020-05-11 11:42:39 +03:00
Juha Heiskanen
e1c9c586d9
Add possibility to configure Mesh MAC neighbourtable size.
...
Accepted values are 5-255. MAC neighbour table size is limited to 8-bit number so thats why 255 is max value.
2020-05-06 14:30:05 +03:00
Juha Heiskanen
fe26e15c52
Add possibility to configure Mesh MAC neighbourtable size.
...
Accepted values are 5-255. MAC neighbour table size is limited to 8-bit number so thats why 255 is max value.
2020-05-06 11:07:28 +03:00
Arto Kinnunen
8d61f3ba46
Merge pull request #12883 from artokin/feature_wisun_backport_12522
...
[feature-wisun] Add getsockopt option to read network property
2020-05-05 13:07:24 +03:00
Mika Leppänen
50ea32e6a2
Added kv store adaptation to nanostack file interface
2020-04-30 09:56:51 +03:00
Arto Kinnunen
f5bd0a521b
Nanostack: Add config for Wi-SUN device type
...
Add configuration option for Wi-SUN device types.
2020-04-30 09:44:21 +03:00
Mika Leppänen
754861d201
Added Wi-SUN Border Router class
2020-04-30 09:12:45 +03:00
Mika Leppänen
3ad3ebef85
Added new configuration parameters to Wi-SUN interface
2020-04-30 09:12:25 +03:00
Arto Kinnunen
35d28d4aa5
Merge pull request #12657 from mikaleppanen/new_wisun_conf_param
...
Added new configuration parameters to Wi-SUN network interface and Border Router class
2020-04-29 16:16:30 +03:00
Arto Kinnunen
4d8af9f333
Add getsockopt option to read network property
...
Add getsockopt options NSAPI_LATENCY and NSAPI_STAGGER to read
network specific timing constraints from socket.
-NS_LATENCY returns estimated latency to given address.
-NSAPI_STAGGER returns estimated initial delay that application
should wait before transmitting data to network.
Application can use the new options to avoid network congestion by
adjusting transmission delays and retry timeouts.
Add wrappers to make API usage easier:
-get_rtt_estimate_to_address
-get_stagger_estimate_to_address
This is backport of the https://github.com/ARMmbed/mbed-os/pull/12522
2020-04-29 13:20:42 +03:00
Arto Kinnunen
77f268e681
Add getsockopt option to read network property
...
Add getsockopt options NSAPI_LATENCY and NSAPI_STAGGER to read
network specific timing constraints from socket.
-NS_LATENCY returns estimated latency to given address.
-NSAPI_STAGGER returns estimated initial delay that application
should wait before transmitting data to network.
Application can use the new options to avoid network congestion by
adjusting transmission delays and retry timeouts.
Add wrappers to make API usage easier:
-get_rtt_estimate_to_address
-get_stagger_estimate_to_address
This is backport of the https://github.com/ARMmbed/mbed-os/pull/12522
2020-04-29 10:02:15 +03:00
Mika Leppänen
92704874cc
Added kv store adaptation to nanostack file interface
2020-04-28 16:04:46 +03:00
Martin Kojtal
52f1f28292
Merge pull request #12869 from kivaisan/fix_lwip_socket_close_with_traces_5_15
...
LWIP: don't pbuf_free(NULL) on socket close (5.15-branch)
2020-04-27 14:19:20 +02:00
Kevin Bracey
99344963d2
LWIP: don't pbuf_free(NULL) on socket close
...
`pbuf_free(NULL)` causes an `LWIP_ASSERT`. Make the call conditional.
Fixes #12184
2020-04-27 13:32:23 +03:00
Teemu Takaluoma
fab4092543
Update mbed-coap to version 5.1.5
...
BLOCK2 code-branch was missing handling for duplicate packets. As part of the fix, added also
a call to update the duplicate package data via a new function
sn_coap_protocol_update_duplicate_package_data_all.
The new implementation handles all CoAP messages, not just those with COAP_MSG_TYPE_ACKNOWLEDGEMENT.
2020-04-27 11:29:33 +03:00
Antti Yli-Tokola
a8c96b82b1
Update mbed-coap to version 5.1.4
...
Add also 4.13 (Request Entity Too Large) responses to duplicate info list.
Add client library configurations for DEFAULT_RESPONSE_TIMEOUT and SN_COAP_DUPLICATION_MAX_TIME_MSGS_STORED.
Increased the default timeouts of DEFAULT_RESPONSE_TIMEOUT and SN_COAP_DUPLICATION_MAX_TIME_MSGS_STORED to 300 seconds.
These two are critical parameters for low-bandwidth high-latency networks. The defaults should be more geared towards such networks that are likely to have issues with transmissions.
The increased defaults can increase the runtime HEAP usage when there is a lot of duplicates or retransmissions.
2020-04-27 11:29:28 +03:00
Teemu Takaluoma
e1af7be4e0
Update mbed-coap to version 5.1.5
...
BLOCK2 code-branch was missing handling for duplicate packets. As part of the fix, added also
a call to update the duplicate package data via a new function
sn_coap_protocol_update_duplicate_package_data_all.
The new implementation handles all CoAP messages, not just those with COAP_MSG_TYPE_ACKNOWLEDGEMENT.
2020-04-27 11:26:09 +03:00
Mika Leppänen
7709193140
Added Wi-SUN Border Router class
2020-04-27 09:43:22 +03:00
Mika Leppänen
6219d75e64
Added new configuration parameters to Wi-SUN interface
2020-04-27 09:17:40 +03:00
Antti Yli-Tokola
7edaf6dc7c
Update mbed-coap to version 5.1.4
...
Add also 4.13 (Request Entity Too Large) responses to duplicate info list.
Add client library configurations for DEFAULT_RESPONSE_TIMEOUT and SN_COAP_DUPLICATION_MAX_TIME_MSGS_STORED.
Increased the default timeouts of DEFAULT_RESPONSE_TIMEOUT and SN_COAP_DUPLICATION_MAX_TIME_MSGS_STORED to 300 seconds.
These two are critical parameters for low-bandwidth high-latency networks. The defaults should be more geared towards such networks that are likely to have issues with transmissions.
The increased defaults can increase the runtime HEAP usage when there is a lot of duplicates or retransmissions.
2020-04-24 08:18:21 +01:00
Martin Kojtal
61c5c74847
Merge pull request #12845 from LDong-Arm/mbed-os-5.15
...
Backport SweynTooth fix for Cordio to 5.15
2020-04-22 18:03:41 +02:00
Martin Kojtal
27ac3d4622
Merge pull request #12813 from artokin/nanostack_relase_to_mbed_os_5_15
...
[mbed-os-5.15] Nanostack release to mbed-os-5.15 branch
2020-04-22 13:43:35 +02:00
Lingkai Dong
568c1f915f
Port Cordio LE Secure Connections check from PacketCraft
...
This change is provided by Packetcraft (which maintains the
Cordio BLE stack) to address possible Sweyntooth vulnerabilities.
(cherry picked from commit c927773115
)
2020-04-22 10:58:27 +01:00
Lingkai Dong
421becce8d
Port Cordio SMP control block improvements from Packetcraft
...
This change is provided by Packetcraft (which maintains the
Cordio BLE stack) to address possible Sweyntooth vulnerabilities.
(cherry picked from commit 0402fe4efb
)
2020-04-22 10:58:05 +01:00
Arun S
9b87551d40
Remove ethernet interface logic for SoftAP and STA
...
Issue: The problem is that there is a race condition introduced in that the LWIP thread is relying on the
interface as it is taken down by a application thread while calling disconnect.
In disconnect api called from application context, whd_emac_wifi_link_state_changed() will refer to netif interface
structure in its callback api netif_link_irq(netif). This netif will be cleared by remove_etherent_interface().
whd_emac_wifi_link_state_changed will post message to tcpip_thread. tcpip_thread will process the message and
call the callback api netif_link_irq(netif)
Calling sequence is whd_emac_wifi_link_state_changed -> remove_etherent_interface(). Hence there is a timing issue
that netif might be cleared first before tcpip thread process the message netif_link_irq(netif)
Fix: remove_etherent_interface() will post message to tcpip thread and tcpip:
thread process the message delete_interface()
which will actually remove the inferface from the netif_list.
Calling sequence is whd_emac_wifi_link_state_changed() message post -> remove_etherent_interface() message post.
message processing order netif_link_irq(netif) -> delete_interface().
Since both the processing is handled in single thread, processing of message is handled sequentially.
2020-04-21 22:15:25 +05:30
Arto Kinnunen
1317bf6df7
Merge commit '8696907765975bba8cb098c2772c89198c71a783' into feature-wisun
...
* commit '8696907765975bba8cb098c2772c89198c71a783':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from fb7413b846..cc03296c27
2020-04-16 14:23:56 +03:00
Arto Kinnunen
199407f4d4
Squashed 'features/nanostack/coap-service/' changes from e5e0c138e6..5aa54b8e62
...
5aa54b8e62 Merge pull request #127 from ARMmbed/sync_with_mbedos
6fe78412d2 Follow Mbed OS coding style
2b708be451 trace group defiined for shared_rng
d4c2caca41 more error handling added for ctr and hmac
cace1e9c22 Added missing optimizations based on mbedtls/baremetal.h config
2cc7442ba5 Added new global rng, needed for MbedTLS optimisations
f861157576 Prepare for upcoming MbedTLS changes
git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 5aa54b8e622ec2b44bdf323cc02bd1cfc5ffd904
2020-04-16 13:08:27 +03:00
Arto Kinnunen
190eb9acfb
Merge remote-tracking branch 'upstream/mbed-os-5.15' into feature-wisun
...
* upstream/mbed-os-5.15: (45 commits)
Revert "Backport #12603 : Add CYSBSYSKIT_01"
Update STM32 EMAC driver based on review
Update STM32 EMAC driver - limit RX frame length
WHD: Remove an assert from get_rssi()
crypto: Use updated ECC curve macros
crypto: Update the service for Mbed Crypto 3.x
crypto: Upgrade to Mbed Crypto 3.1.0
tls: Upgrade to Mbed TLS 2.20.0
Backport #12701 : Custom BT Firmware for CYW9P62S1_43012EVB_01
Backport #12603 : Add CYSBSYSKIT_01
Backport #12492 : Update psoc6cm0p to version 1.1.1.
Backport #12422 : Cypress Asset Update
Backport #12421 : Cypress target reorganization
Backport #12394 : Fix Cypress 1M SDIO + other minor bugs
Backport #12097 : Cypress: Fix IAR Warnings
Backport #12052 : Fix for ARM issue 11859.
Backport #12038 : Remove qspi_frequency() call.
Backport #12019 : rework cypress lptimer hal
Cellular: ALT1250 PPP cellular driver for mbed-os 5.15
RZ_A1H and GR_LYCHEE: Enable bootloader support (Mbed OS 5.15)
...
2020-04-16 13:03:48 +03:00
Arto Kinnunen
bbf2db37c9
Merge commit 'd104328f556c60ee09bb316ffc700ba8f1deca19' into mbed-os-5.15
...
* commit 'd104328f556c60ee09bb316ffc700ba8f1deca19':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from fb7413b846..cc03296c27
2020-04-16 11:43:53 +03:00
Arto Kinnunen
9f3c053626
Merge commit '4daaaf126d9dfbfcbe638753573139d95442da1f' into mbed-os-5.15
...
* commit '4daaaf126d9dfbfcbe638753573139d95442da1f':
Squashed 'features/nanostack/coap-service/' changes from e5e0c138e6..5aa54b8e62
2020-04-16 11:42:16 +03:00
Mika Leppänen
f28b8cbdf0
Added Wi-SUN statistics interface
...
Added network and MAC statistics to Wi-SUN interface.
2020-04-14 10:04:44 +03:00
Kyle Kearney
6554e3951e
Revert "Backport #12603 : Add CYSBSYSKIT_01"
...
This reverts commit 4e6692b529
.
There are issues with wifi connectivity on this target that mean
it is not ready to ship with 5.15.2.
2020-04-08 14:14:11 -07:00
Martin Kojtal
757f14b807
Merge pull request #12776 from JarkkoPaso/update_stm32_emac_ethernet_driver
...
Update stm32 emac ethernet driver
2020-04-08 18:35:32 +02:00
Martin Kojtal
64b10f450d
Merge pull request #12767 from Patater/update-to-tls-2.21.0
...
Upgrade to Mbed TLS 2.21.0 and Mbed Crypto 3.1.0
2020-04-08 15:19:01 +02:00