Commit Graph

23085 Commits (8a8cff7c983cac95c6c47e7212da7910413ce532)

Author SHA1 Message Date
Michal Paszta 42404be824 Change all wifi and WiFi occurences to Wi-Fi 2019-02-25 14:54:18 +02:00
Arto Kinnunen 16e2a85ad1 Merge commit '12a2437b39d1ecccb0cfeee4d69e071af03b84de'
* commit '12a2437b39d1ecccb0cfeee4d69e071af03b84de':
  Squashed 'features/frameworks/mbed-trace/' changes from 0a4f6be..642a459
2019-02-25 14:48:18 +02:00
Arto Kinnunen 12a2437b39 Squashed 'features/frameworks/mbed-trace/' changes from 0a4f6be..642a459
642a459 Cleanup for Mbed OS release

git-subtree-dir: features/frameworks/mbed-trace
git-subtree-split: 642a459a3932753dbb724cc695fdba5e923231db
2019-02-25 14:48:17 +02:00
Michael Schwarcz 5f2cbaa18d TFM Importer: Update SHAa of TFM patches 2019-02-25 14:36:52 +02:00
Edison Ai ebc961dab8 TF-M patch: Free connection handle in psa_reply (TF-M issue #263)
- Link to bug tracking: https://developer.trustedfirmware.org/T263
2019-02-25 14:35:21 +02:00
Arto Kinnunen b68e5edbc7 Merge commit '780e9afb8f3b8f09e66573e7d4ba096dd9a87dd7'
Nanostack v10.1.0 for Mbed OS 5.12

* commit '780e9afb8f3b8f09e66573e7d4ba096dd9a87dd7':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 513a38e..c5ee9e4
2019-02-25 14:24:47 +02:00
Arto Kinnunen 780e9afb8f Squashed 'features/nanostack/sal-stack-nanostack/' changes from 513a38e..c5ee9e4
c5ee9e4 Remove content from unit tests
f7ca82a Merge branch 'release_internal' into release_external
b400a6a Fix for pr #1984 (#1987)
30d25bc Fix compiler warnings (#1986)
d46d7b3 Prioritise thread control messages  (#1984)
e59dbd8 Update domain address lifetime (#1985)
8a5cb75 Merge pull request #1980 from ARMmbed/sync_with_MbedOS
bd6feab Update coding style
ff14e80 (via Mbed OS) nanostack: icmpv6: fix build warning
f5e3423 (via Mbed OS) Require dependencies from nanostack mbed_lib.json
3aec837 Restore ws_management_api.h to the latest version
cd7ae3f (via Mbed OS) Review changes corrected
4f23008 (via Mbed OS) This is a initial version of Wi-Sun interface implementation. To get Wi-Sun mesh network working, also nanostack with Wi-Sun support is needed. ws_empty_functions.c and ws_management_api.h are temporary included here, so that wisun_tasklet will compiled without problems. They will replaced with the official versions with next nanostack release.
e029444 Merge pull request #1981 from ARMmbed/iotthd-3111
d7e8aea Path control size from 5->7.
a5fe76f randomise challenge tlv for parent request retries. (#1977)
a1c8277 Merge pull request #1978 from ARMmbed/IOTTHD-3219
62f8b41 Fix compiler warnings
1ec7a84 Fix issues found by coverity
5fe7120 Merge pull request #1974 from ARMmbed/iotthd-3100
51358f9 Removed Unncessary debug print.
136d1b1 Merge pull request #1973 from ARMmbed/IOTTHD-3018
4e557ae DHCPv6 update:
85b33e1 Update BBR prefix assignment (#1972)
899b2c5 DHCPv6 client and server update:
9009eaf Update copyright year to test files
6a56318 Update copyright year to Nanostack files
a83472e Added Wi-Sun certificate and security test interfaces
7f4ebf1 Corrected compiler warnings
52e4c3f Added supplicant PAE NVM storage
92df57b Added key data access functions to key storage
5972bc3 Merge pull request #1959 from ARMmbed/ws_eapol_ie_update
98af118 Merge pull request #1965 from ARMmbed/IOTTHD-3193
fc76d1e Merge pull request #1963 from ARMmbed/rename_socket_h
ba3a649 Added WS flagging to EAP header parser
048f14a Rename address.h
5739b4a Fixed aro registration error
887d931 Rename socket.h to ns_socket.h
7ebaa8e Add Nanostack configuration for WS (#1961)
ed87161 Code style fix.
e20028a Fix compiler warnings (#1957)
b86f885 EAPOL data flow IE update
65472de Fixed Function protype typo.
f539287 Added support for write/READ  EA-IE header IE Element's
ce72b55 Merge pull request #1958 from ARMmbed/tls_conf_err
1e8b18c Added handling for mbed TLS configuration error
bdfea40 WS: Use common channel number calc function
4802aae Merge pull request #1930 from ARMmbed/IOTTHD-3027
2b8c846 PAE BR address write/read interface
9777ad1 Remove yotta references (#1954)
af8890b Merge pull request #1949 from ARMmbed/eapol_eap_and_tls
c546d4f WS: Fixed EU domain channel numbers in neighbor class
cff6f0b WS: Missing return value fix
ebcdba5 Changed EAP-TLS identity to anonymous
34d2f15 Corrected defects and coding style
79c7157 WS: Default domain config update
0724863 Merge branch 'master' into IOTTHD-3027
65ccc41 WS: RF config set in own functions
76d235e MAC: Fixed virtual driver warnings
88641c1 Updates to PAEs and other security protocols
f57138f Security key storage and certificate info updates
b7177c5 TLS security protocol and mbed TLS security protocol library
9c9e3c9 EAP-TLS protocol implementation
9c5fc92 WS: Fixed code style
acce0dd Added empty function for test
4b28192 Added support for ARO registration failure
9d251fa Added empty function fr new interface
61f520f Added api to configure network size parameters
4d26258 Flagged mbed TLS KW header and corrected bool definitions
3d903fa Corrected NIST AES KW flagging
2f4e099 Removed temporary KW functions and corrected ut and style
6481549 Added GKH MIC validation and encryption
cc3ce58 Moved 4WH functions to library and added constants
650771c Added unit test to NIST AES KW library
6a82e7d added parent priority handling. (#1942)
7b7f1c1 Merge pull request #1945 from ARMmbed/fix_synch_parent_warn
38b28e2 Fix coverity error (#1943)
c4afedc thread_mle_message_handler: fix build warning (#1940)
a5be64a Follow Mbed OS coding style (#1941)
6298cef Sync mbed_lib.json with Mbed OS (#1935)
afe3ec6 Added Wi-Sun flagging to eapol helper
28d10d6 Merge pull request #1901 from ARMmbed/kmp_pae_init
3f56121 Disabled EAPOL flags
97f07a9 Tuned EAPOL timers for small networks
6e063b6 added Wi-SUN neighbor table management to Wi-SUN
7f4c61d Corrected KMP api start on authenticator
91ca2e6 Corrected KMP timer active check and security protocol address get
65d983f If mbedtls NIST AES KW is not enabled defined it as null algorithm
16dbe27 Added unit test stub for PAE controller
a524936 Moved EAPOL relay port and IP address configuration to bootstrap
68fa4f6 Added extra debug info flags to new security libraries
c4411ea Removed extra memory frees from KMP socket and eapol if and fixed KMP comments
8088a86 Added and fixed security protocols comments
cc32457 Modified PAEs to use protocol core timer function call
03469f3 Modified PAE entities to be bound to interface
369c8a0 Added 4WH integrity protection and encryption
ebae1d5 Added HMAC-SHA1, IEEE 802.11 PRF and NIST AES KW libraries
2d50887 Corrected Wi-SUN security component initializations
8a8b6ef Added configuration flags for supplicant and authenticator PAEs and EAPOL relay
3868ff1 PAE and security protocols timer support
c61066a Corrected GKH to set eapol-KEY message group key negotation bit correctly
dfe52d9 Added 4WH,GKH and EAP-TLS module and modified kmp service
782f3fb Relay message flow optimization
bbd6ee1 Integrate EAPOL new  encode and decode functionality
1802ee7 EAPOL message parser and write helper function.
da15653 EAPOL relay and KMP changes
fad633f EAPOL relay
cc97054 Unicast Shedule update
a099524 EAPOL authtentication start fix
3f32a7a Fix valgrind uninitilaized data use.
6e9f6a4 Corrected memory errors and some compiler warnings
c5f1af3 Initial EAPOL changes
e48aa79 WS: Use Tack in Ack wait time
59a65ea Change FHSS timing defaults
be06ecb FHSS WS: Fixed synch parent warning
a3aa38b Thread extension commission updates (#1870)
3e89d0a Multicast registrations update (#1931)
e18055a MAC: Update symbol rate when RF configuration changed
9eada28 WS: Store RF configuration
35145a3 MAC: RF configuration delivery implemented
d6b2bbc Merge pull request #1928 from ARMmbed/IOTTHD-3028
80683e2 MAC/WS: Implemented Ack wait duration set
0e9ead2 Remove excess tracing (#1927)
ae210cd Merge pull request #1923 from ARMmbed/IOTTHD-3080
17fad47 Merge pull request #1924 from ARMmbed/IOTTHD-1608
6fd6bd5 Update thread neighbor table initialisation (#1926)
c09d38a Merge pull request #1925 from ARMmbed/fix_protocol_if_fhss
9ac5301 MAC MLME: Removed BEA TX trace which was causing stack overflow
5dee7b1 FHSS: Use debug callback in TX/RX slot switch
f779fad WS/Protocol: Fixed getting interface pointer using FHSS api
4177fa4 Prevalidate CoAP msg source address
5451b1a FHSS unit tests: Updated timestamp callback
a2997b1 FHSS: Removed debug trace which was causing crash
3b6a921 FHSS: Debug callback update
ec1c41d FHSS: Use given TX time in synch calculation
f0c0f66 MAC: Write FHSS synch info with tx time
78ea0eb FHSS: Debug callbacks added
c4ef759 MAC: Write FHSS synch info before calling PHY TX function
9cca341 FHSS: Use timestamp delivered by MAC
be46564 Add CoAP message validation
883eb46 Add callback for CoAP message prevalidation (#1918)
59bbe31 Merge pull request #1917 from ARMmbed/IOTTHD-3029
ac4a76e Fixed promiscuous/sniffer mode
bc2fb64 FHSS WS: time convert to support negative values
7dce509 FHSS WS: Clock drift compensation implemented
ac7c90a Fix Thread resolution client initialisation (#1915)
b744186 Set the default unicast channel function as Direct Hash
612c4b5 Update DHCP to follow Wi-SUN specification
eeb5168 IPv6 route metrics update (#1912)
1debcca Fix compilation warnings noticed in mbed-os (#1909)
0a18231 Change ARO routes to be direct route instead of on-link
7fb321e Merge pull request #1906 from ARMmbed/parent_update_fix
b5afc35 Fixed missing broadcast synch information loose with default zeroes.
3dbc874 Add missing closing bracket
0d746f0 Changed Wi-SUN HW type to match specification
2804bf4 Enabled roaming and routing between multiple Wi-SUN BR

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: c5ee9e4e6682c4e4c23845f7b13c02d259162c36
2019-02-25 14:23:32 +02:00
Seppo Takalo 7a33700bb4 Replace Copyright ARM with a proper Apache 2 license header 2019-02-25 14:17:42 +02:00
Seppo Takalo b14df9e0de Add missing copyright header to STM32 driver 2019-02-25 14:09:36 +02:00
Donatien Garnier 176e5779ce Remove Arm Beetle target
Deprecation in preparation for Mbed OS 5.12 and move to IAR8 and ARMC6
2019-02-25 12:09:03 +00:00
Arto Kinnunen 433ab3e843 Merge commit 'e046a96f8bd369720d4bf65dd4441ad19ebe22e7'
* commit 'e046a96f8bd369720d4bf65dd4441ad19ebe22e7':
  Squashed 'features/nanostack/coap-service/' changes from c45afcd..227cc3d
2019-02-25 13:40:37 +02:00
Arto Kinnunen e046a96f8b Squashed 'features/nanostack/coap-service/' changes from c45afcd..227cc3d
227cc3d Merge pull request #120 from ARMmbed/sync_with_mbedos_2
88894d1 Follow Mbed OS coding style
f3db9a17 (via Mbed OS) Add mbedtls platform setup and teardown to modules
5feb8dd Merge pull request #119 from ARMmbed/sync_with_MbedOS
10d5054 (via Mbed OS) Add missing mbed_lib.json for frameworks and nanostack
a344676 Remove references to yotta (#118)
610afda Remove excess tracing (#117)
53382d6 Merge pull request #116 from ARMmbed/IOTTHD-1608
15889cb Use Mbed OS coding style
d6eff5c Clarify function signature
587e8de Update message prevalidation API
46f86d4 Add API to set callback for CoAP msg prevalidation (#115)
0eb6630 Merge pull request #114 from ARMmbed/sync_with_mbed_os
f75732b (split) Add unit tests for TLSSocket and TLSSocketWrapper

git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 227cc3da82a8f5cab92c6975aa9623766808489b
2019-02-25 13:38:05 +02:00
Teemu Takaluoma c8bc467fa2
Update mbed-cloud-sdk to latest version 2.0.4 2019-02-25 13:05:14 +02:00
Arto Kinnunen 7264f04137 Merge commit '42813b3daa401ec351c72a080cfcd1f6817e004c'
* commit '42813b3daa401ec351c72a080cfcd1f6817e004c':
  Squashed 'features/frameworks/mbed-client-randlib/' changes from 3955b95..bec82e2
2019-02-25 13:02:54 +02:00
Arto Kinnunen 42813b3daa Squashed 'features/frameworks/mbed-client-randlib/' changes from 3955b95..bec82e2
bec82e2 Merge pull request #12 from ARMmbed/sync_with_MbedOS
7a85429 (via Mbed OS) Add missing mbed_lib.json for frameworks and nanostack
a493a52 (via Mbed OS) Remove unused yotta module metadata

git-subtree-dir: features/frameworks/mbed-client-randlib
git-subtree-split: bec82e21f05df2f99c14ebb9b2bee2a129d33cdc
2019-02-25 13:02:54 +02:00
Arto Kinnunen ab1cfc5c7e Merge commit '14ff147a610d775c157ffc48b4e4521d0a6493f0'
* commit '14ff147a610d775c157ffc48b4e4521d0a6493f0':
  Squashed 'features/frameworks/mbed-trace/' changes from 7a1bd34..0a4f6be
2019-02-25 13:01:32 +02:00
Arto Kinnunen 14ff147a61 Squashed 'features/frameworks/mbed-trace/' changes from 7a1bd34..0a4f6be
0a4f6be astyle validation (#89)
f43f52d add mention about mbed-os.lib generation and ignore example folder (#88)
3f48e87 .tmp_data_ptr = 0 added (#55)
9697f63 doc update + mbed-os 5 example application (#84)
891508b CI improvements - introduce Jenkinsfile (#87)

git-subtree-dir: features/frameworks/mbed-trace
git-subtree-split: 0a4f6be43da09feb2e55eae0697546bcc23d0a23
2019-02-25 13:01:31 +02:00
Arto Kinnunen 3b1ccfac0a Merge commit 'd53d1dffb7405776dd84fa24a2eec7c18f445fed'
* commit 'd53d1dffb7405776dd84fa24a2eec7c18f445fed':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 1d4c358..dd98c37
2019-02-25 13:00:32 +02:00
Arto Kinnunen d53d1dffb7 Squashed 'features/frameworks/nanostack-libservice/' changes from 1d4c358..dd98c37
dd98c37 Merge pull request #85 from ARMmbed/sync_with_MbedOS
8418f4c (via Mbed OS) Add missing mbed_lib.json for frameworks and nanostack
eb0692e Merge pull request #84 from ARMmbed/nslist_iar7
7ce58bf Support C++03 compilers that cannot return properly-typed pointers.
2775dce Merge pull request #83 from ARMmbed/IOTTHD-3187
fef3c6d Remove references to yotta
a953636 Avoid memcmp(x, NULL, 0)
1de4b47 (split) Fix C++11 build with Arm Compiler 6 (#79)

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: dd98c37c363acd0b6547ca59adc735ee52b2a7b1
2019-02-25 12:57:27 +02:00
Arto Kinnunen 99c2f61463 Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from 778c4db..b8b664b
b8b664b (via Mbed OS) Require dependencies from nanostack mbed_lib.json (#41)
213dbf8 Remove references to yotta (#39)
3344181 minar_hal_timer.cpp: Change license header from ARM to APACHE-2.0

git-subtree-dir: features/nanostack/sal-stack-nanostack-eventloop
git-subtree-split: b8b664b163e0f281187f988d5e0628d9f6cd7add
2019-02-25 12:56:24 +02:00
Arto Kinnunen 220470c577 Merge commit '99c2f61463ded19baa49346f6210f9eb3e62161f'
* commit '99c2f61463ded19baa49346f6210f9eb3e62161f':
  Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from 778c4db..b8b664b
2019-02-25 12:56:24 +02:00
Netanel Gonen b5b0e981f8 reopening #9754 after the changes where overrun
changing the SPM error codes from invalid argument to bad state aligned to PSA spec
2019-02-25 11:55:47 +02:00
paul-szczepanek-arm 6842c8718b revert macros 2019-02-25 09:52:21 +00:00
paul-szczepanek-arm 6a2b6b891a use existing macro names 2019-02-25 09:49:16 +00:00
Martin Kojtal 5f38878f3a
Merge pull request #9791 from sarahmarshy/m0-start-app
Support mbed_start_application for Cortex-M0+
2019-02-25 09:40:37 +01:00
Martin Kojtal 92385a13da
Merge pull request #9822 from netanelgonen/crypto-spm-get-key-info
return the new values for key type & size even if function fails
2019-02-25 09:36:33 +01:00
Martin Kojtal 3fd8f1b28e
Merge pull request #9825 from davidsaada/david_fsst_remove_unnecessary_prints
Remove unnecessary prints in FileSystemStore class
2019-02-25 09:36:11 +01:00
Martin Kojtal 0d3fba8093
Merge pull request #9666 from kfnta/sequana_psa_delivery
Use new delivery for FUTURE_SEQUANA_PSA
2019-02-25 09:18:40 +01:00
panyz0725@thundersoft.com 1a1904644a Add api about I2C and SPI .... 2019-02-25 14:23:37 +08:00
panyz0725@thundersoft.com 3c1d938abf Add ARM_LIB_STACK to resolve CI Error 2019-02-25 11:03:32 +08:00
panyz0725@thundersoft.com 12e4adab99 Add USER_BUTTON and SPI in file PinNames.h 2019-02-25 11:03:32 +08:00
panyz0725@thundersoft.com 1dadab7e5a Add license in file cmsis_nvic.h 2019-02-25 11:03:32 +08:00
panyz0725@thundersoft.com db5d6963ef Modify license about file GPIO, SPI and system 2019-02-25 11:03:32 +08:00
panyz0725@thundersoft.com 217d2ce1fe Modify license 2019-02-25 11:03:31 +08:00
panyz0725@thundersoft.com ec9fd55c8f Update code 2019-02-25 11:03:31 +08:00
panyz0725@thundersoft.com 003a75bd26 Add "SPDX-License-Identifier: Apache-2.0" 2019-02-25 11:03:31 +08:00
panyz0725@thundersoft.com 7e265c81bd Add platform TT_M4G9 2019-02-25 11:03:31 +08:00
Nir Sonnenschein 1d4c280d2a a-style fix for unrelated code 2019-02-25 00:46:06 +02:00
itayzafrir 37cc25726c Add internal documentation to access control header file
This file is for internal use only.
2019-02-24 15:07:54 +02:00
itayzafrir 0c231b0ac9 Move include psa_crypto_core.h to C file 2019-02-24 15:07:54 +02:00
itayzafrir 672712ca8a Add SPM_PANIC macro for TARGET_TFM 2019-02-24 15:07:54 +02:00
itayzafrir 99032f6967 Change PSA_CRYPTO_ACCESS_CONTROL_RESET into static inline function 2019-02-24 15:07:54 +02:00
itayzafrir 0ecd2c5da1 crypto service: Crypto access control
Implement crypto keys access control in crypto service:
- Only the key owner (the partition which created the key)
  is allowed to manage (import/export/open/close/destroy/etc.)
  the key.
- Only the key owner (the partition which created the key)
  is allowed to use the key handle for crypto operations which
  require a key handle.
2019-02-24 15:07:54 +02:00
Nir Sonnenschein 84b618704b fix comment issues 2019-02-24 14:32:36 +02:00
Nir Sonnenschein ffaf083b75 a-style fixes for code 2019-02-24 14:25:25 +02:00
David Saada 671c5a0510 Remove unnecessary prints in FileSystemStore class 2019-02-24 14:23:40 +02:00
Netanel Gonen 165719d11f return the new values for key type & size even if function fails 2019-02-24 11:24:12 +02:00
Russ Butler f6ed7cee41 Optimize tickless interrupt latency
Remove unnecessary critical sections from the SysTimer code since
the access should already be serialized.
2019-02-23 17:44:51 -06:00
Russ Butler d43ca21ec5 Optimize tickless tick computation
Optimize the tick computation in the following ways:
1. Use relative time rather than absolute time
2. Replace multiplication/division pair with just multiplication
    or division:
    "* 1000000ULL / OS_TICK_FREQ"   ->   "* US_IN_TICK"
    "* OS_TICK_FREQ / 1000000"      ->   "/ US_IN_TICK"
2019-02-23 17:44:29 -06:00
Lei Zhang a47b365776 PSOC6: send HCI reset after patch RAM download
After the patch RAM download is completed, a HCI reset should be sent in order to initialize the registers. Some of the initialization won't be called if the HCI reset is not sent after firmware download.
2019-02-22 23:43:52 -08:00