Commit Graph

655 Commits (tools-release-6.0.0)

Author SHA1 Message Date
Martin Kojtal f4015c7eaa
Merge pull request #12429 from kjbracey-arm/chrono_dtls
DTLSSocketWrapper: Convert to Chrono
2020-05-13 19:29:10 +02:00
Martin Kojtal 5c71ad8f6a
Merge pull request #12428 from kjbracey-arm/chrono_dns
nsapi_dns: Convert to Chrono
2020-05-13 19:28:35 +02:00
Martin Kojtal 15ade20b4d
Merge pull request #12909 from kyle-cypress/pr/cypress-misc-fixes
Cypress: Misc target updates
2020-05-12 14:27:34 +02:00
Kevin Bracey e77c61bd3a DTLSSocketWrapper: Convert to Chrono 2020-05-11 12:01:38 +03:00
Marcelo Salazar 4083469d09 Remove Ublox targets 2020-05-06 16:39:29 +01:00
Kyle Kearney d058586c48 Remove CYW943012P6EVB_01 target 2020-04-30 11:12:00 -07:00
Martin Kojtal 08a09200a6
Merge pull request #12864 from MarceloSalazar/platform_cleanup3
Remove unsupported targets
2020-04-30 14:56:36 +02:00
Martin Kojtal 6d8d024eba
Merge pull request #12839 from sword-huang/master
Nuvoton: netsocket correction of judgment errors
2020-04-30 14:54:07 +02:00
Kevin Bracey 08fa26bdda nsapi_dns: Convert to Chrono 2020-04-30 13:04:31 +03:00
Marcelo Salazar 0864aa86be Remove NCS36510 target 2020-04-30 09:56:36 +01:00
MarceloSalazar e24a9f5d95 Remove KW24D target 2020-04-30 09:56:34 +01:00
MarceloSalazar 51c2484c06 Remove LPC1769 target 2020-04-30 09:56:32 +01:00
MarceloSalazar 5dcfe57c41 Remove LPC4088 based targets 2020-04-30 09:56:32 +01:00
Martin Kojtal 1ddfa59ea7
Merge pull request #12463 from kjbracey-arm/sockstats
Clean up and optimise socket statistics
2020-04-29 22:16:54 +02:00
Martin Kojtal 4f9d21b16a
Merge pull request #12694 from kivaisan/remove_netsocket_icetea_and_tcpserver
Remove netsocket icetea tests and TCPServer
2020-04-29 13:46:44 +02:00
Martin Kojtal 58c0259dd6
Merge pull request #12522 from artokin/network_interface_property_api
Add property API to InternetSocket
2020-04-28 18:10:18 +02:00
Arto Kinnunen f39da5ebaf Remove unnecessary casts from stagger/RTT API 2020-04-27 10:22:25 +03:00
Martin Kojtal ca0161af22
m480_eth: fix alignment
Previous commit was wrong (github does not show tabs properly)
2020-04-24 14:18:55 +01:00
Martin Kojtal 60c58a62a4
nuc472_eth: fix alignment
Previous commit was incorrect (github does not show tabs..)
2020-04-24 14:17:23 +01:00
Martin Kojtal 36dada2e5f
nuc472_eth: fix alignment 2020-04-24 14:16:21 +01:00
Martin Kojtal bc497a1742
m480_eth: Fix styling
remove tabs
2020-04-24 14:14:28 +01:00
Arto Kinnunen b081411fb7 Corrections from review meeting
-Rename get_latency_estimate_to_address, use rtt instead of latency
-Update descriptions of added methods
2020-04-22 21:38:12 +03:00
Martin Kojtal b622a25688
Merge pull request #12810 from MarceloSalazar/platform_cleanup
Remove unsupported targets

Note, commit 21e364e is just a styling fix, no target removal.
2020-04-22 10:58:50 +02:00
Jason Huang 7ef3275b47 Nuvoton: netsocket correction of judgment errors 2020-04-22 07:56:37 +08:00
Martin Kojtal 6111b8dfcc
Merge pull request #12828 from dustin-crossman/pr/update-cysbsyskit_01
Update CYSBSYSKIT_01
2020-04-21 10:13:38 +02:00
Jason Huang f3f69b8db7 Correction of judgment errors. 2020-04-21 13:22:33 +08:00
MarceloSalazar d9cb51dbc6 Remove OLIMEX_STM32E407_F407ZG target 2020-04-20 16:55:34 +01:00
Martin Kojtal 27405bff31
Merge pull request #12671 from hugueskamba/hk-netsocket-remove-armc5-support
Netsocket/lwIP Stack: Remove support for ARM Compiler 5
2020-04-20 14:16:20 +02:00
Dustin Crossman d9655da2e8 Update COMPONENT_SCL 2020-04-17 13:13:18 -07:00
Arto Kinnunen a14ccad485 Review corrections
-Check pointer before writing to it. It allows application to ask
 only some of the  stagger values.
-Change type of data_amount in get_stagger_estimate_to_address to be
 uint16_t.
2020-04-17 08:55:48 +03:00
Arto Kinnunen a7d3a981b7 Add getsockopt option to reading 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.
2020-04-17 08:55:48 +03:00
Martin Kojtal ac21ee90a8
Merge pull request #12791 from cy-arsm/cy-arsm/pr/IPv6_Dual_stack_fix
Fix for IPv6 Dual Stack support
2020-04-16 12:10:40 +02:00
Martin Kojtal 90db09ed9f
Merge pull request #12745 from JojoS62/add-eth-MI-config
add config option for phy media interface
2020-04-15 09:21:44 +02:00
Martin Kojtal fef75b3b52
Merge pull request #12731 from kivaisan/fix_socketaddress_verification
Testing: Fix multihoming test compilation issues
2020-04-15 09:21:18 +02:00
Martin Kojtal 05dd4ce633
Merge pull request #12769 from miteshdedhia7/pr/rssi-gt-fix
Fix WIFI-GET-RSSI test case failure and remove extra label from CYW9P62S1_43438EVB_01 in target.json
2020-04-15 09:19:22 +02:00
Kimmo Vaisanen 236054175b Netsocket: Remove deprecated TCPServer
TCPSocket should be used instead.
2020-04-14 12:13:08 +03:00
Kimmo Vaisanen e776a9bb72 Netsocket: Add get_dns_server API for NetworkInterface
With get_dns_server DNS servers can be queried from NetworkInterface object
2020-04-14 12:04:03 +03:00
Kimmo Vaisanen 09fe16618a Netsocket: Implement set_ip_address to enable setting second address
set_ip_address API can be used to set a static IPv4 address or IPv6 link-local
address to network stack.

This is needed for example in cellular use cases where device gets multiple IP
addresses from cellular context.
2020-04-14 12:04:03 +03:00
Arun S cfcfd11049 Remove ethernet interface logic for SoftAP and STA
Issue: The problem is that there is a race condition introduced in that the LWIP thread is relying on the
interface as it is taken down by a application thread while calling disconnect.
In disconnect api called from application context, whd_emac_wifi_link_state_changed() will refer to netif interface
structure in its callback api netif_link_irq(netif). This netif will be cleared by remove_etherent_interface().
whd_emac_wifi_link_state_changed will post message to tcpip_thread. tcpip_thread will process the message and
call the callback api netif_link_irq(netif)
Calling sequence is whd_emac_wifi_link_state_changed -> remove_etherent_interface(). Hence there is a timing issue
that netif might be cleared first before tcpip thread process the message netif_link_irq(netif)

Fix: remove_etherent_interface() will post message to tcpip thread and tcpip thread process the message delete_interface()
which will actually remove the inferface from the netif_list.
Calling sequence is whd_emac_wifi_link_state_changed() message post -> remove_etherent_interface() message post.
message processing order netif_link_irq(netif) -> delete_interface().
Since both the processing is handled in single thread, processing of message is handled sequentially.
2020-04-13 16:45:23 +05:30
Rajkumar Kanagaraj 9739b565b2 Fix the CI build issue 2020-04-08 10:35:07 +01:00
midd 0504873255 Remove an assert from get_rssi() in WhdSTAInterface.cpp which causes rssi greentea test to fail in Cypress parts. This is because the rssi GT test expect the negative test case to return 0 and not assert. 2020-04-07 10:42:17 -07:00
Martin Kojtal b1ce678d30
Merge pull request #12728 from jeromecoutant/PR_ETHERNET_THREADSIZE
STM32 EMAC : increase thread-stacksize
2020-04-05 19:57:44 +02:00
Martin Kojtal 74ace63eaa
Merge pull request #12729 from AnttiKauppila/mbedtls_fixes
Mbedtls fixes
2020-04-03 08:59:14 +02:00
Martin Kojtal ded879daed
Merge pull request #12603 from dustin-crossman/pr/add-cysbsyskit_01
Add target CYSBSYSKIT_01
2020-04-02 18:18:11 +02:00
JojoS62 a4d5186f39 add config option for phy media interface 2020-04-02 12:16:57 +02:00
Kimmo Vaisanen 949856d967 Replace unique_ptr::reset() call with "= nullptr"
This is a workaround for IAR library bug.
2020-04-01 12:13:49 +03:00
Martin Kojtal 0eca8d38d0
Merge pull request #12715 from RyoheiHagimoto/rza1-eth-deprecation
RZ_A1H remove usage of ethernet hal API
2020-04-01 08:54:31 +02:00
Martin Kojtal dba3962f16
Merge pull request #12570 from kjbracey-arm/nsapics
Improve nsapi_create_stack
2020-03-31 16:34:20 +02:00
Antti Kauppila 7904ff05b3 more error handling added for ctr and hmac 2020-03-31 15:59:56 +03:00
Teppo Järvelin c5d5d21f05 Added missing optimizations based on mbedtls/baremetal.h config 2020-03-31 14:21:45 +03:00