Commit Graph

401 Commits (a7978d41c2ec102bd9d931d5bab146751b3810a3)

Author SHA1 Message Date
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
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
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 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 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
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 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 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
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
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
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