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
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
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
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.
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.
cc03296c27 Merge branch 'release_internal' into release_external
59397d17c4 Fixed Wi-SUN border router restart after settings change
8295a43668 PAE authenticator TLS authentication limit based on dynamic value
2776cfef50 RPL config update not re-start whole BR again just increment version number and with new parameters.
bec4d48946 Fixed FHSS testing now it follow configured channel count not a wi-sun configured Default.
b9cad9d362 Remove floating point literals from Thread code
423a48f48b RPL link etx validation update
89a497a386 Merge branch 'release_internal' into release_external
c8cc6601fd Merge pull request #2336 from ARMmbed/sync_with_mbedos
ac5f369d70 MBEDTLS_SSL_EXPORT_KEYS added to Nanostack's tls_sec_prot_lib
6522a086ef Added missing optimizations based on mbedtls/baremetal.h config
0e8739fae3 Added new global rng, needed for MbedTLS optimisations
d5db37eec8 Prepare for upcoming MbedTLS changes
4271a9dda9 Merge pull request #2335 from ARMmbed/sync_with_mbedos
e2db6ffefb Fixed error of function 'mac_fcf_lenght'
28fc2a9543 Fixed error of structure
194e81beda Fixed spelling mistake of structure
00ea3fb83c Remove test files
d7f7cc582a Merge branch 'release_internal' into release_external
132cd12107 Merge pull request #2333 from ARMmbed/sync_with_mbedos
550a78e544 Fix function spelling mistake in Thread
74c60242e1 Fix function spelling mistake in border_router.c
89830ecf1a Fix function spelling mistake in iphc_decompress.c
1728ae12dc Fix function spelling mistake in lowpan_context.c
ed5d253fcc Fix function spelling mistake in lowpan_context.h
ecbca0a2ed Fixed typo 'thead' in thread_neighbor_class.h
071911b30a Changed nanostack API network size to be a range of values
4756be4766 NEW API for Validation RX Unicast schedule channel.
0b48e5c018 Channel Mask update ,support for excluded Channels and FHSS API pdate
ead1ade5a7 Start sending PAS message after EAPOL parent TX fails.
8de473b245 Implemented 802.15.4 mode setting (#2328)
975b9e670b Added missing configuration api empty functions
f7db06eb1e Added configuration storage (#2283)
e9561f0fe4 Removed mbedTLS internal include file
fe812c3c1f Changed certificate error message wording to be less fatal
97aaf5f613 Add network property API to Nanostack (#2318)
cfd1a4d271 Fixed Route cost calculation
5094614813 Added opeation mode validation for detect unsupported values.
44f85aaf4b Enabled RPL candidate list filtering and only certificate setup accept without limit.
145c7399b3 Wi-sun address registration trigger update
d492575adb Modified ARO registrations timeouts from the address lifetime
b898f04b5b Removed Extra version number update at revocation start.
b9d14097e2 Wi-sun config message consustent filter
dcebff9bb5 Use RPL parent soft filtering only after bootstrap.
523593e014 Fixed Broken new channel mask update.
a3bcc2d2c8 Removed the PAN version change requirement from routers
bc919d8241 Merge pull request #2315 from ARMmbed/merge_release_internal_to_master
git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: cc03296c27fbe26663182d90586e2d31f140e300
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
DISCO_F769NI EMAC driver may return ethernet packet with illegal
length when driver is under heavy load. In one case, the received
bytes indicate frame length of 53 bytes but advertised data length
was 65518 bytes. In another case EMAC driver variable
`EthHandle.RxFrameInfos.length` contained value 0xFFFF FFFC.
As a work-around accept only 1-1500 bytes long ethernet packets.
For the application(firmware) booted by bootloader(OTA),
the image doesn't need the "flash_config" and "ivt" header.
So update the link file to support both kinds of application
(firmware) booted by bootROM and bootloader.
In default, the compilation will get the image with
"flash_config" and "ivt" header, for example the bootloader
compiling.
When compiling the OTA application image, please add the
line as below in the mbed_app.json file.
"target.macros_add" : ["MBED_APP_COMPILE"]
This will remove the "flash_config" and "ivt" header in the
final image.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
Update the flash driver to support both Hyper Flash
and QSPI Flash.
In addition, the static function cannot be linked to
SRAM even defined by AT_QUICKACCESS_SECTION_CODE macro.
So remove all "static" modifier for the FLASHIAP
functions.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
The memset function from c library will be linked in flash
space, it's risk for FLASHIAP. So I wrote flexspi_memset
to replace the memset for IMX FLASHIAP, and put the function
into targets/.../TARGET_IMX/flash_api.c file. All IMX Soc
platforms can declare it as extern and use in their Soc
flexspi driver files.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
The flash access may fail when implementing flash
initialization. So there is risk for interrupt handler
which linked in flash space.
Add the critical section to avoid the risk.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
NXP MIMXRT1050 EVK can support Hyper Flash or QSPI Flash with
small hardware reworks. Modify the XIP file to support boot
from the two kinds of Flash device. The Hyper Flash should be
the default device and defined in tartgets.json with the macro
"HYPERFLASH_BOOT". To select the QSPI Flash, just remove the
macro with the below line in any overriding json file.
"target.macros_remove" : ["HYPERFLASH_BOOT"]
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
This assert in WhdSTAInterface.cpp causes rssi greentea test to fail
on Cypress parts. This is because the rssi GT test expects the negative
test case to return 0 and not assert.
Update Mbed OS's PSA Crypto service to work with Mbed Crypto 3.x.
- psa_asymmetric_verify() is now called psa_verify_hash().
- psa_asymmetric_sign() is now called psa_sign_hash().
Compatibilty wrappers are provided via crypto_compat.h for source-level
backwards compatibility.