Merge branch 'optimization/TCPv6_connect_for_v3.3' into 'release/v3.3'

lw-ip:optimization TCPv6 connect for v3.3(backport v3.3)

See merge request espressif/esp-idf!8022
This commit is contained in:
Jiang Jiang Jian 2020-04-21 11:26:28 +08:00
commit 47b891c25b
3 changed files with 8 additions and 1 deletions

@ -1 +1 @@
Subproject commit da2740fa8d56b9b9e8a10602f38df1ea4dbd9b74
Subproject commit 453b291c4c0752e05b585a62d32d8bb23e1538d7

View File

@ -777,6 +777,7 @@
#define ESP_LWIP 1
#define ESP_LWIP_ARP 1
#define ESP_IPV6 1
#define ESP_PER_SOC_TCP_WND 0
#define ESP_THREAD_SAFE 1
#define ESP_THREAD_SAFE_DEBUG LWIP_DBG_OFF

View File

@ -81,6 +81,12 @@ low_level_init(struct netif *netif)
#endif
#endif
#if ESP_IPV6
#if LWIP_IPV6 && LWIP_IPV6_MLD
netif->flags |= NETIF_FLAG_MLD6;
#endif
#endif
#if !ESP_L2_TO_L3_COPY
netif->l2_buffer_free_notify = esp_wifi_internal_free_rx_buffer;
#endif