Commit Graph

28432 Commits (feature-wisun)

Author SHA1 Message Date
Chun-Chieh Li 3dd967426d M2354: Add pre-built secure image/lib for non-PSA 2020-07-10 09:45:21 +08:00
Chun-Chieh Li cd3bb0d121 M2354: Add cmsis pack
This is to enable bootloader and export to KEIL and IAR
2020-07-10 09:44:55 +08:00
Chun-Chieh Li d1ea81e991 M2354: Initial support 2020-07-07 17:09:57 +08:00
Martin Kojtal cd3ed5129b
Merge pull request #13147 from felipeLeast/ws_management_missing_lib
Ws management API missing lib
2020-07-06 15:02:34 +02:00
aqib-ublox be50fcd007
Merge pull request #43 from aqib-ublox/ublox_odin_driver_os_5_v3.8.0_rc1
Ublox odin driver os 5 v3.8.0 rc1
2020-07-06 12:20:12 +05:00
Fabian Inostroza 1c849a0298 Same changes as #12113. Fix STM32 can_init_freq() ignores frequency. 2020-07-05 13:55:34 -04: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
Martin Kojtal f4c153865a
Merge pull request #13182 from mikaleppanen/corr_supp_auth_start
[feature-wisun] Correct network name and PAN ID change on auth start
2020-07-01 11:46:50 +02:00
Chun-Chieh Li 935134e2fe ESP8266: Add retries to avoid spurious close in blocking mode
With send(...) changing to non-block, modem can be busy in sending previous data and 'busy' the current 'AT+CIPCLOSE' command.
In blocking mode, add retries to avoid spurious close to some degree.
This is required to pass GT netsocket-tcp/netsocket-tls tests which expect close(...) to be OK.
2020-07-01 16:03:49 +08:00
Stephen Blackheath b9260ae8c7 Nordic NRF52 GPIO API: Fix failure to clear the field 'skip_gpio_setup' in a local
gpiote input configuration data structure, resulting in non-deterministic failure
to initialize interrupt handling.
2020-06-24 14:39:40 +02: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
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
Michal Paszta 2d426678bd Increase UDP test timeout to 1200s
This is because the ESP8266 is now waiting for SEND OK and takes much
more to complete the send_repeat, and echo_burst tests in RAAS.
(but has higher pass ratio).
2020-06-19 17:57:19 +08:00
Michal Paszta 5a163b14bd ESP8266: accept partial writes for TCP and clean up code 2020-06-19 17:54:36 +08:00
Chun-Chieh Li 89e2406ab2 ESP8266: Simplify flow control and enable per-socket reconnection
1.  Fix 'spurious close' by adding close() in open(). 'spurious close' gets frequent and cannot ignore when send() changes to asynchronous. User can retry open() until 'spurious close' gets true.
2.  Allow only one actively sending socket because:
    (1) ESP8266 AT packets 'SEND OK'/'SEND FAIL' are not associated with socket ID. No way to tell them.
    (2) In original implementation, ESP8266::send() is synchronous, which implies only one actively sending socket.
3.  Register 'SEND OK'/'SEND FAIL' oobs, like others in ESP8266::ESP8266 constructor. Don't get involved in oob management with send status because ESP8266 modem possibly doesn't reply these packets on error case.
4.  Now that ESP8266::send() changes to asynchronous, drop the code with _parser.recv("SEND OK")/_parser.recv("SEND FAIL"). _parser.recv("SEND OK")/_parser.recv("SEND FAIL") and 'SEND OK'/'SEND FAIL' oobs both consume 'SEND OK'/'SEND FAIL' packets and complicate flow control.
2020-06-19 17:54:34 +08:00
Michal Paszta 8c5cc71081 ESP8266: Introduce single send_status instead of two flags 2020-06-19 17:46:04 +08:00
Michal Paszta 9669a4f7bb ESP8266: Improve error handling and partial sends 2020-06-19 17:46:02 +08:00
Michal Paszta 5f4ba9d3df ESP8266: add a retry mechanism to avoid duplicate data sends
We are now checking if ESP8266 has confirmed receiving data over serial
port with an undocumented (but existing) "Recv x bytes" message. Next we
are explicitly waiting for an official "SEND OK".
2020-06-19 17:45:55 +08: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
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
Fabian Inostroza cf5944186e Constructor ignored passed speed.
Fixes #13023.
2020-06-14 01:18:57 -04: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