KonstantinKondrashov
874b18eab8
lwip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it
...
Closes: https://github.com/espressif/esp-idf/issues/944
Closes: https://github.com/espressif/esp-idf/issues/3931
Closes: WIFI-1019
2020-03-11 19:26:43 +08:00
xiehang
ecb5370ca6
lw-ip: Add option to ipv6 stateless address configuration
2020-02-20 14:26:19 +08:00
xueyunfei
c2f1cd5bc0
bugfix for add random udp port for 3.2
2020-02-14 22:00:16 +08:00
xiehang
db635956fb
lwip: Drop packets larger than MTU
2020-01-20 08:01:59 +00:00
Xia Xiaotian
754a292309
lwip: Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate in internal RAM then.
2019-08-07 21:11:06 +08:00
Angus Gratton
6510c6f495
Merge branch 'bugfix/select_init_sem_v3.2' into 'release/v3.2'
...
VFS: Allocate socket select semaphore outside ISR (backport v3.2)
See merge request espressif/esp-idf!4989
2019-07-31 16:11:57 +08:00
liu zhifu
d10dec358d
esp32/lwip: fix wpa2-enterprise vulnerability and support lwip window scale
...
1. Fix WiFi wpa2-enterprise vulnerability bug
2. Support LWIP window scale
2019-07-01 11:34:35 +08:00
xueyunfei
2ed18dcdd7
lwip:fix dns bug for 3.2
2019-06-13 16:47:50 +08:00
Roland Dobai
70c9b1ca22
VFS: Allocate socket select semaphore outside ISR
2019-05-15 10:50:49 +02:00
xiehang
8e0b0af09b
fix the bug in auto Ip memory leak
2019-03-06 20:01:36 +08:00
Liu Zhi Fu
efa70bc8e3
lwip: fix mbox thread-safe issue
...
Fix a mbox free thread-safe issue that can lead to crash in sys_arch_mbox_fetch.
2019-01-02 22:48:19 +08:00
Xia Xiaotian
5c8d25b795
add hostname option in dhcp discover
...
Hostname option has been removed from dhcp discover since IDFv3.2.
But it remains in dhcp request due to which ESP32 can not get IPv4 address
from some APs. Re-add hostname option to dhcp discover to solve this issue.
2018-12-10 21:26:24 +08:00
morris
cb98f5a814
ethernet: fix some bugs in phy&mac driver
...
1. Original register mapping for LAN8720 has some registers that doesn't exist/support.
So just remove them, and fix the power and init function for LAN8720.
2. GPIO16 and GPIO17 is occupied by PSRAM, so only ETH_CLOCK_GPIO_IN mode is supported in that case if using PSRAM.
3. Fix bug of OTA failing with Ethernet
4. Fix bug of multicast with Ethernet
5. Fix potential memory leak
2018-11-19 14:55:43 +08:00
Liu Zhi Fu
5f3b532c8d
lwip: fix crash caused by sys_mbox_free
...
Fix lwip crashed bug caused by sys_mbox_free()
2018-11-11 12:17:36 +08:00
Peter Meerwald-Stadler
6a197d305f
Fix some typos related to ethernet documentation and Kconfig. Closes https://github.com/espressif/esp-idf/pull/2642
2018-10-28 21:12:09 +01:00
Jiang Jiang Jian
129d32772e
Merge branch 'feature/add_ping_packet_len_and_QoS' into 'master'
...
ping: add length and QoS
See merge request idf/esp-idf!3379
2018-10-19 15:29:58 +08:00
zhangyanjiao
32f3972284
add ping length and QoS
2018-10-17 09:39:27 +00:00
zhangyanjiao
e3322bde6f
fix the compile bug for autoip
2018-10-17 09:32:08 +00:00
David Cermak
67153be14f
lwip: updated fuzzer tests to be compatible with new lwip module
2018-10-11 08:05:14 +02:00
Jiang Jiang Jian
83d4081fba
Merge branch 'bugfix/fix_close_socket_crash_bug' into 'master'
...
lwip: fix the crash when close socket
See merge request idf/esp-idf!3384
2018-10-08 21:23:57 +08:00
zhangyanjiao
54b431f2a8
lwip: fix the crash when close socket
2018-09-27 17:35:40 +08:00
Ivan Grokhotkov
6baf743212
Merge branch 'bugfix/lwip_compat_headers' into 'master'
...
lwip: add compatibility headers for sntp.h and esp_ping.h
See merge request idf/esp-idf!3231
2018-09-27 11:21:37 +08:00
Jiang Jiang Jian
da3c6220a5
Merge branch 'bugfix/IPv6_TCP_connection_fail' into 'master'
...
lwip: fix the bug that IPv6 TCP connection fail
See merge request idf/esp-idf!3331
2018-09-23 08:39:34 +08:00
Roland Dobai
bf443a763f
tools: Support overwrite of includes for gen_esp_err_to_name.py
...
gen_esp_err_to_name.py includes files like
components/lwip/include/apps/esp_ping.h as "apps/esp_ping.h" because all
subdirectories of "include" are used. If "components/lwip/include/apps"
is in the path of the compiler instead of "components/lwip/include" then
include "apps/esp_ping.h" will fail. This fix allows to process lines
like:
'// gen_esp_err_to_name.py: some text "esp_ping.h" some text'
in header files for overwriting the include.
2018-09-21 14:09:37 +08:00
Ivan Grokhotkov
f8750eb58d
lwip: add compatibility headers for sntp.h and esp_ping.h
...
Before LwIP was moved into a submodule, sntp and esp_ping were
available as the following includes:
#include "apps/sntp/sntp.h"
#include "esp_ping.h"
This commit makes header files available at the old location, and adds
a deprecation warning for sntp.h.
Closes https://github.com/espressif/esp-idf/issues/2392
2018-09-21 14:09:37 +08:00
Ivan Grokhotkov
2e6e87816c
Merge branch 'feature/crosstool_backport' into 'master'
...
Backport of work of gcc8 toolchain to v3
See merge request idf/esp-idf!3154
2018-09-21 14:07:41 +08:00
zhangyanjiao
e7d6c861b5
lwip: fix the bug that IPv6 TCP connection fail
...
The lwip code didn't create an new mld group when netif is up,
this will lead to the server can't find the matching netif when
receiving NS(neighbor solicitation) packet
2018-09-21 10:17:20 +08:00
Anton Maklakov
d4cbfd34cc
cmake: silence some warnings in coap, bt, expat, libsodium, lwip and examples/bluetooth
2018-09-20 18:53:15 +08:00
Anton Maklakov
3471d369f9
lwip: silence uninitialized and fallthrough warnings
2018-09-20 18:53:15 +08:00
Anton Maklakov
9a55557ad8
build system: Add a compatible old GCC flag
2018-09-20 18:53:14 +08:00
Jiang Jiang Jian
d68df94d2b
Merge branch 'bugfix/fix_the_bug_create_socket_fail' into 'master'
...
LWIP: fix the bug that failed to create socket
See merge request idf/esp-idf!3300
2018-09-20 18:43:58 +08:00
morris
20b7f0ec87
ethernet: fix infinite loop when init phy or reset mac
...
1. fix infinite loop problem when init phy device
2. fix infinite loop problem when reset mac
3. fix little bugs in ethernetif_init
4. fix incompatible return value between lwip and esp-idf
Closes https://github.com/espressif/esp-idf/issues/2331
Closes https://github.com/espressif/esp-idf/issues/2141
2018-09-20 10:09:38 +08:00
zhangyanjiao
f2d3efd875
lwip: fix the bug that failed to create socket
...
Closes: https://github.com/espressif/esp-idf/issues/2403
https://github.com/espressif/esp-idf/issues/2414
2018-09-19 09:44:28 +00:00
Ivan Grokhotkov
5d1ccb9501
lwip: allow setting LwIP tasks affinity via sdkconfig
...
In some cases applications need to ensure that WiFi/BT related tasks
run on CPU1. This option can be used to set task affinity in such case.
https://github.com/espressif/esp-idf/issues/2233#issuecomment-409220381
2018-09-17 18:17:52 +08:00
Ivan Grokhotkov
eea49d250a
Merge branch 'feature/dhcp_skip_discovery' into 'master'
...
DHCP restore last ip and skip discovery
See merge request idf/esp-idf!3132
2018-09-17 12:27:56 +08:00
MartinValik
2e79baa1db
lwip: DHCP restore last IP
...
Closes https://github.com/espressif/esp-idf/issues/799
2018-09-17 11:11:25 +08:00
morris
3063a62e3e
ethernet: fix some bugs in ethernet driver
...
1. create a new pbuf to squash linked pbuf
2. optimize emac driver by adding ESP_IRAM_ATTR
3. remove duplicated function declare in esp_eth.h
4. remove duplicated code in emac_setup_tx_desc
5. disable Promiscuous mode
2018-09-17 10:12:46 +08:00
Jiang Jiang Jian
518942ec61
Merge branch 'bugfix/tw24694_dns_request_no_reply' into 'master'
...
lwip: add code for sending gratuitous ARP periodically
See merge request idf/esp-idf!3241
2018-09-16 15:18:32 +08:00
Angus Gratton
61835faed1
Merge branch 'bugfix/tcpip_stack_size_default' into 'master'
...
Default stack size for TCPIP task increased to avoid stack overflow.
See merge request idf/esp-idf!3258
2018-09-14 12:23:35 +08:00
Dmitry
2ff3f8b0c8
Stack size for TCPIP task increased from 2048 to 3072.
2018-09-13 12:38:56 +03:00
Renz Christian Bagaporo
944014f9f2
cmake: fix source list issues
2018-09-13 08:56:59 +08:00
zhangyanjiao
237cc88b9f
lwip: add code for sending gratuitous ARP periodically
2018-09-11 14:36:42 +08:00
Renz Christian Bagaporo
d9939cedd9
cmake: make main a component again
2018-09-11 09:44:12 +08:00
Angus Gratton
deb46b415f
lwip: Re-add CONFIG_PPP_SUPPORT check, remove redundant CFLAGS
2018-09-06 20:23:20 +08:00
Angus Gratton
cff2ef695a
Merge branch 'master' into feature/cmake
2018-09-06 20:23:04 +08:00
Zhang Yan Jiao
3578fe39e0
Feature/sync lwip as submodule
2018-09-06 19:43:08 +08:00
Angus Gratton
a9c4ed7139
Merge branch 'master' into feature/cmake
2018-08-30 18:51:01 +08:00
Angus Gratton
414b84c041
Merge branch 'feature/ci_fuzzer_tests_lwip' into 'master'
...
ci jobs running fuzz tests on dns, dhcp, dhcps + removed unnecessary references (libexpat)
See merge request idf/esp-idf!2866
2018-08-27 16:25:21 +08:00
David Cermak
882ca87442
lwip: removed ASSERT in dhcp as the error might occur in runtime if packet is altered
2018-08-22 12:13:34 +02:00
David Cermak
ebebda9604
lwip: supported ci jobs running fuzz tests on dns, dhcp, dhcps
2018-08-22 12:13:20 +02:00