mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 20:24:32 +02:00
Merge branch 'optimize/igmp_mld6_timer' into 'master'
optimize: IGMP and MLD6 timer optimization config added See merge request idf/esp-idf!4776
This commit is contained in:
@@ -27,6 +27,16 @@ menu "LWIP"
|
|||||||
|
|
||||||
If this feature is disabled, all lwip functions will be put into FLASH.
|
If this feature is disabled, all lwip functions will be put into FLASH.
|
||||||
|
|
||||||
|
config LWIP_TIMERS_ONDEMAND
|
||||||
|
bool "Enable LWIP Timers on demand"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
If this feature is enabled, IGMP and MLD6 timers will be activated only
|
||||||
|
when joining groups or receiving QUERY packets.
|
||||||
|
|
||||||
|
This feature will reduce the power consumption for applications which do not
|
||||||
|
use IGMP and MLD6.
|
||||||
|
|
||||||
config LWIP_MAX_SOCKETS
|
config LWIP_MAX_SOCKETS
|
||||||
int "Max number of open sockets"
|
int "Max number of open sockets"
|
||||||
range 1 16
|
range 1 16
|
||||||
|
Submodule components/lwip/lwip updated: fe9a58cb7a...88ccba0ccf
@@ -779,6 +779,14 @@
|
|||||||
#endif
|
#endif
|
||||||
#define ESP_IRAM_ATTR
|
#define ESP_IRAM_ATTR
|
||||||
|
|
||||||
|
#ifdef CONFIG_LWIP_TIMERS_ONDEMAND
|
||||||
|
#define ESP_LWIP_IGMP_TIMERS_ONDEMAND 1
|
||||||
|
#define ESP_LWIP_MLD6_TIMERS_ONDEMAND 1
|
||||||
|
#else
|
||||||
|
#define ESP_LWIP_IGMP_TIMERS_ONDEMAND 0
|
||||||
|
#define ESP_LWIP_MLD6_TIMERS_ONDEMAND 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ESP_PERF
|
#if ESP_PERF
|
||||||
#define DBG_PERF_PATH_SET(dir, point)
|
#define DBG_PERF_PATH_SET(dir, point)
|
||||||
#define DBG_PERF_FILTER_LEN 1000
|
#define DBG_PERF_FILTER_LEN 1000
|
||||||
|
Reference in New Issue
Block a user