mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
lwip: optimize the dhcp client
1. modify the discover retry backoff time from (2,4,8,16,32,60,60)s to (500m,1,2,4,8,15,15)s. 2. add DHCP_DOES_ARP_CHECK to menuconfig for users to specify if do a ARP check on the offered address. If enable, one more second will be taken in obtaining IP address. 3. update wifi libs
This commit is contained in:
@@ -206,6 +206,11 @@
|
||||
|
||||
#define DHCP_MAXRTX 0
|
||||
|
||||
/**
|
||||
* DHCP_DOES_ARP_CHECK==1: Do an ARP check on the offered address.
|
||||
*/
|
||||
#define DHCP_DOES_ARP_CHECK CONFIG_LWIP_DHCP_DOES_ARP_CHECK
|
||||
|
||||
/*
|
||||
------------------------------------
|
||||
---------- AUTOIP options ----------
|
||||
|
||||
Reference in New Issue
Block a user