Commit Graph

371 Commits (f944bb738ef6fcdd2e157c055211b0747c2a5adc)

Author SHA1 Message Date
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 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
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
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 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
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
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
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
Martin Kojtal 9929ddd038
Merge pull request #12723 from AnttiKauppila/mbedtls_fixes5.15
Mbedtls fixes for 5.15.2
2020-04-08 08:57:12 +02:00
Antti Kauppila 5bdc7314f4 more error handling added for ctr and hmac 2020-03-31 16:04:54 +03:00
Antti Kauppila 3dbe97b8cb MBEDTLS_SSL_EXPORT_KEYS added to Nanostack's tls_sec_prot_lib 2020-03-31 08:26:46 +03:00
Antti Kauppila af12d0642b trace group defiined for shared_rng
Unittests fixed

2 mbedtls functions were updated to reflect the api
2020-03-31 08:26:35 +03:00
Teppo Järvelin 377e363059 Added missing optimizations based on mbedtls/baremetal.h config 2020-03-31 08:26:11 +03:00
Teppo Järvelin 163e5c90e3 Added new global rng, needed for MbedTLS optimisations 2020-03-31 08:25:47 +03:00
Teppo Järvelin a325320c47 Prepare for upcoming MbedTLS changes 2020-03-31 08:25:05 +03:00
Arto Kinnunen 0051c0ee74 Nanostack: Add config for Wi-SUN device type
Add configuration option for Wi-SUN device types.
2020-03-19 17:02:47 +02:00
Arto Kinnunen a237e58aa1 Merge commit '02e9af5a29789203f54f3c0d5dc91512f3a85e92' into feature-wisun
* commit '02e9af5a29789203f54f3c0d5dc91512f3a85e92':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9b3e144f5b..fb7413b846
2020-02-26 13:23:21 +02:00