Commit Graph

28092 Commits (c81aca4d0388967bee292df2d6b750c1310b3f68)

Author SHA1 Message Date
Arto Kinnunen 046af8f3b9 802.15.4 Atmel RF driver update
Sync with master version v3.2.0
2020-05-11 12:27:07 +03:00
Arto Kinnunen e37631d68a 802.15.4 STM S2LP driver update
Sync with master v1.0.4
2020-05-11 12:25:35 +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 4b041bf749 Squashed 'features/frameworks/nanostack-libservice/' changes from 9a61e73787..c6cae6992a
c6cae6992a Merge pull request #90 from ARMmbed/sync_with_mbedos
bc57095abb Netsocket/lwIP Stack: Remove support for ARM Compiler 5

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: c6cae6992a12f62f19cf7875f889304d5c1ded6d
2020-05-11 11:49:00 +03:00
Arto Kinnunen 1687b4aa4f Squashed 'features/nanostack/sal-stack-nanostack/' changes from cc03296c27..9a2166869f
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: 9a2166869fb56c9ad3fb44b0561e2310444c28f1
2020-05-11 11:42:39 +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
Arto Kinnunen 3b8b9d60d6 Fix RTT/stagger API unit tests
Adjust RTT/stagger API unit tests to work in mbed-os-5.15 branch.
2020-05-08 10:57:31 +03:00
Martin Kojtal f7861e6e47
Merge pull request #12933 from JanneKiiskila/armc-anon-mem-fix
Backport Arm C static RAM fix to Mbed OS 5.15 (#12462) (Mbed OS 5.15)
2020-05-08 08:05:33 +02:00
Martin Kojtal 15bacb41cc
Merge pull request #12934 from juhhei01/mbed-os-5.15
[mbed-os-5.15]Add possibility to configure Mesh MAC neighbourtable size.
2020-05-08 08:05:10 +02:00
Martin Kojtal 99c1667bae
Merge pull request #12931 from juhhei01/feature-wisun
[feature-wisun] Add possibility to configure Mesh MAC neighbourtable size.
2020-05-07 09:59:58 +02: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
Maciej Bocianski 6e8db4f963 fix arm compiler static ram memory statistics
don't count ARM_LIB_HEAP in static RAM pool

Original Mbed OS PR[#1256](https://github.com/ARMmbed/mbed-os/pull/1246)

(cherry picked from commit c69e77cf54)
Signed-off-by: Janne Kiiskila <janne.kiiskila@arm.com>
2020-05-06 12:16:49 +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
Arto Kinnunen 09f956095f Fix RTT/stagger API unit tests
Adjust RTT/stagger API unit tests to work in mbed-os-5.15 branch.
2020-05-04 11:09:02 +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
Martin Kojtal 3d03b7f497
Merge pull request #12878 from mikaleppanen/ns_kv_store
Added kv store adaptation to Nanostack file interface
2020-04-29 15:09:05 +02: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 1e9f83f12a
Merge pull request #12868 from teetak01/mbed-coap-v5.1.5-for-wisun
Update mbed-coap to version v5.1.5 for feature-wisun
2020-04-28 12:08:11 +02:00
Martin Kojtal b6370b4c37
Merge pull request #12871 from ARMmbed/mbed-os-5.15.3-rc1
UpdateMbed version and secure binaries
2020-04-27 17:39:04 +02:00
adbridge a1104ca1aa "Update secure binaries for ARM_MUSCA_A1_S (ARMC6)" 2020-04-27 13:42:33 +01:00
adbridge 8a31c24fb7 "Update secure binaries for LPC55S69_S (ARMC6)" 2020-04-27 13:35:02 +01:00
adbridge e69571dc0c Update Mbed version to 5.15.3 2020-04-27 13:24:35 +01: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
Martin Kojtal ccef87e575
Merge pull request #12867 from teetak01/mbed-coap-v5.1.5-for-5.15
Update mbed-coap to version v5.1.5 for Mbed OS 5.15
2020-04-27 12:52:40 +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
Martin Kojtal dfa80ea210
Merge pull request #12863 from jeromecoutant/PR_12690_5_15
STM32 GCC Unspecified RTOS error
2020-04-27 09:40:23 +02:00
Martin Kojtal 0784ea2326
Merge pull request #12859 from 0xc0170/coap-5.15
Update mbed-coap to version 5.1.4
2020-04-27 09:39:20 +02: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
jeromecoutant 267f32ce25 STM32 GCC Unspecified RTOS error
#12690 on 5.15 branch
2020-04-24 14:02:32 +02:00
Martin Kojtal 8289f11eee
Merge pull request #12854 from devran01/add_psa_hash_func
Implement psa_hash_*() functions
2020-04-24 09:27:23 +02: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
Darryl Green 90ceefce56 Implement psa_hash_*() functions 2020-04-23 12:34:58 +01:00
Arto Kinnunen e519efd8fb
Merge pull request #12814 from artokin/feature_wisun_update_mbed_os_and_nanostack
[feature-wisun] Nanostack release to feature-wisun branch and update to mbed-os-5.15.2
2020-04-23 13:15:30 +03: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
Martin Kojtal 500b299b44
Merge pull request #12842 from cy-arsm/cy-arsm/pr/fix_ipv6_dual_stack_interface
Remove ethernet interface logic for SoftAP and STA
2020-04-22 13:29:43 +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
Arto Kinnunen e1eb4c4e11
Merge pull request #12826 from artokin/fix_feature_wisun_tests
[feature-wisun] Fix feature-wisun tests
2020-04-22 08:40:49 +03:00