Jiang Jiang Jian
150910ccd8
Merge branch 'bugfix/esp_netif_hostname_v4.1' into 'release/v4.1'
...
esp_netif: fix get/set hostname API to reflect user settings (v4.1)
See merge request espressif/esp-idf!11360
2021-03-23 03:08:21 +00:00
zhangyanjiao
20dc46ca49
Revert "esp_wifi: optimize WiFi TX performance"
...
This reverts commit 5de5eb5676
.
2020-12-18 08:38:01 +00:00
David Cermak
3d4d56727a
ESP-NETIF: fix get/set hostname API to reflect user settings
...
On startup of the common interface (ethernet, wifi), the lwip netif hostname was assigned to confg value .
Fixed to assign to esp-netif hostname if it exists
Closes https://github.com/espressif/esp-idf/issues/4737
2020-11-24 14:00:05 +01:00
Jiang Jiang Jian
5b73ec939c
Merge branch 'bugfix/fix_some_wifi_bugs_1120_v4.1' into 'release/v4.1'
...
WiFi: fix some wifi bugs 1120 (backport v4.1)
See merge request espressif/esp-idf!11317
2020-11-22 20:07:37 +08:00
liu zhifu
5de5eb5676
esp_wifi: optimize WiFi TX performance
2020-11-20 19:47:01 +08:00
xueyunfei
62d1f3f9ba
backport bugfix lwip for v4.1
2020-11-20 14:40:26 +08:00
David Cermak
4c1ad38f79
esp-netif-ppp: support for setting ppp netif up and down
...
calling esp_netif_up() and esp_netif_down() was not supported if the
underlying netif wos of ppp type. Updated the code to enable setting
these interfaces up/down and registered actions in moden_netif glue for
connection/disconnection events to set the netif up/down.
2020-11-11 13:29:13 +01:00
David Cermak
b9d1afdb86
esp-netif: set default interface for ppp netif must be called from lwip context
...
On update of any interface (set up/down) a routing preference is updated calling esp_netif_update_default_netif() that is called from
lwip context. But if the related netif was ppp type, the set_default api used user-mode, thus causing a dead lock.
Closes https://github.com/espressif/esp-idf/issues/4746
2020-11-11 13:29:13 +01:00
Mahavir Jain
246e97c721
esp_netif: initialize TCP ISN hook if enabled in configuration
2020-11-02 14:27:33 +05:30
David Čermák
f6517cf4e7
Merge branch 'bugfix/ppp_netif_up_after_new_v4.1' into 'release/v4.1'
...
esp-netif: ppp netif to use netif_is_link_up() to update interface state (v4.1)
See merge request espressif/esp-idf!9425
2020-08-31 21:14:04 +08:00
David Cermak
2c1bf3ec3b
esp-netif: ppp netif to use netif_is_link_up() to update interface state
...
Closes https://github.com/espressif/esp-idf/issues/5069
2020-08-31 06:38:17 +00:00
David Cermak
75c82c5bc7
esp_netif: Remove restarting DHCP client and server if it has already been started
...
To be in line with previous behaviour in tcpip_adapter, do nothing and return appropriate error if the DHCP client/server has already been started
2020-08-10 18:52:27 +08:00
xueyunfei
0c92ca5175
fixbug for set dhcp time fail for 4.1
2020-04-22 11:13:01 +08:00
xueyunfei
c092f9b881
bugfix for TCPv6 send ok when sta disconnect
2020-03-19 14:14:13 +08:00
xiehang
b99a39535b
lwip: Enable IPv6 stateless address autoconfiguration
2020-01-20 08:26:00 +00:00
David Cermak
92087edbb8
esp_netif: fix esp_netif_get_dns_info() to copy the entire ip_addr_t
...
closes https://github.com/espressif/esp-idf/issues/4584
closes IDFGH-2472
2020-01-09 09:17:38 +01:00
David Cermak
b61b927008
esp_netif: minor log message fix in dhcps cb
...
To make it more general, since the DHCP server does not necessarily runs only on softAP.
2019-12-17 09:02:51 +01:00
David Cermak
52ca3a917d
esp_netif: Support for PPPoS in esp_netif using lwip ppp client
2019-12-16 17:34:10 +00:00
xueyunfei
2eea2dbeb4
Add feature for set dhcp time out
2019-11-22 17:24:16 +08:00
David Cermak
f91d69efb2
esp_netif: rename DHCP flags for client and server
2019-11-13 12:36:26 +01:00
David Cermak
064bed710e
esp_netif: fix esp_netif_stop() to stop DHCP client if configured
2019-11-13 12:36:26 +01:00
David Cermak
7ef385963c
esp_netif: minor update of coding style based on clang-tidy
...
guidelines and fix some copyright notices
2019-11-13 12:36:25 +01:00
David Cermak
f839a1328c
esp_netif: added locking for netif list management, unit tests to use unique if_keys, updated comments
2019-11-13 12:36:25 +01:00
David Cermak
359f6b3a21
esp_netif: add consistency checks for configs and interface key duplication
2019-11-13 12:36:25 +01:00
David Cermak
cf710a3cb1
esp_netif: include tcpip_adapter legacy header by default to provide *implicit* compatiblity
2019-11-13 12:36:25 +01:00
David Cermak
549ee87912
esp_netif: moving default netifs to wifi, moved sta_list to a separate header -- note will fail unit tests
2019-11-13 12:36:25 +01:00
David Cermak
d471266b46
esp_netif: documentation udpated and grouped the esp-netif API
...
structure. Updated rst documenentation and diagram of esp-netif
cooperation with other components.
2019-11-13 12:36:25 +01:00
David Cermak
eb94d87935
esp_netif: address failures on tcpip-task ipc call, deinit lwip netif and ip address issues
2019-11-13 12:36:25 +01:00
David Cermak
3a19bf055d
esp_netif and examples: using wifi driver handle, update examples and tests to pass the CI
2019-11-13 12:36:25 +01:00
David Cermak
ba13275c6b
esp_netif: update default DHCP IP addresses to be in line with old interface, added loopback implementation, explicit esp-netif init, sanity checks for parameters added
2019-11-13 12:36:25 +01:00
David Cermak
ffe043b1a8
esp_netif: Introduction of esp-netif component as a replacement of tcpip_adpter
...
- provides object oriented access to network intefaces
- not limited to default netifs
- more generic abstraction to network input output functions
- event handler registration removed from component responsibility
- backward compatibility layer for legacy tcpip_apapter APIs
Closes IDF-39
2019-11-13 12:36:25 +01:00