2019-06-28 10:47:34 -04:00
|
|
|
menu "ESP NETIF Adapter"
|
2017-07-18 21:15:11 -04:00
|
|
|
|
2019-06-28 10:47:34 -04:00
|
|
|
config ESP_NETIF_IP_LOST_TIMER_INTERVAL
|
2019-01-25 11:10:53 -05:00
|
|
|
int "IP Address lost timer interval (seconds)"
|
|
|
|
range 0 65535
|
|
|
|
default 120
|
|
|
|
help
|
|
|
|
The value of 0 indicates the IP lost timer is disabled, otherwise the timer is enabled.
|
|
|
|
|
|
|
|
The IP address may be lost because of some reasons, e.g. when the station disconnects
|
|
|
|
from soft-AP, or when DHCP IP renew fails etc. If the IP lost timer is enabled, it will
|
|
|
|
be started everytime the IP is lost. Event SYSTEM_EVENT_STA_LOST_IP will be raised if
|
|
|
|
the timer expires. The IP lost timer is stopped if the station get the IP again before
|
|
|
|
the timer expires.
|
2017-07-18 21:15:11 -04:00
|
|
|
|
2019-06-28 10:47:34 -04:00
|
|
|
choice ESP_NETIF_USE_TCPIP_STACK_LIB
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "TCP/IP Stack Library"
|
2019-09-02 05:22:09 -04:00
|
|
|
default ESP_NETIF_TCPIP_LWIP
|
2018-08-15 04:33:32 -04:00
|
|
|
help
|
2019-01-25 11:10:53 -05:00
|
|
|
Choose the TCP/IP Stack to work, for example, LwIP, uIP, etc.
|
2019-09-02 05:22:09 -04:00
|
|
|
config ESP_NETIF_TCPIP_LWIP
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "LwIP"
|
|
|
|
help
|
|
|
|
lwIP is a small independent implementation of the TCP/IP protocol suite.
|
2019-09-02 05:22:09 -04:00
|
|
|
|
|
|
|
config ESP_NETIF_LOOPBACK
|
|
|
|
bool "Loopback"
|
|
|
|
help
|
|
|
|
Dummy implementation of esp-netif functionality which connects driver transmit
|
|
|
|
to receive function. This option is for testing purpose only
|
2019-01-25 11:10:53 -05:00
|
|
|
endchoice
|
2018-08-15 04:33:32 -04:00
|
|
|
|
2021-06-01 12:58:30 -04:00
|
|
|
config ESP_NETIF_L2_TAP
|
|
|
|
bool "Enable netif L2 TAP support"
|
2021-12-01 03:53:25 -05:00
|
|
|
select ETH_TRANSMIT_MUTEX
|
2021-06-01 12:58:30 -04:00
|
|
|
help
|
|
|
|
A user program can read/write link layer (L2) frames from/to ESP TAP device.
|
|
|
|
The ESP TAP device can be currently associated only with Ethernet physical interfaces.
|
|
|
|
|
|
|
|
config ESP_NETIF_L2_TAP_MAX_FDS
|
|
|
|
depends on ESP_NETIF_L2_TAP
|
|
|
|
int "Maximum number of opened L2 TAP File descriptors"
|
|
|
|
range 1 10
|
|
|
|
default 5
|
|
|
|
help
|
|
|
|
Maximum number of opened File descriptors (FD's) associated with ESP TAP device. ESP TAP FD's take up
|
|
|
|
a certain amount of memory, and allowing fewer FD's to be opened at the same time conserves memory.
|
|
|
|
|
|
|
|
config ESP_NETIF_L2_TAP_RX_QUEUE_SIZE
|
|
|
|
depends on ESP_NETIF_L2_TAP
|
|
|
|
int "Size of L2 TAP Rx queue"
|
|
|
|
range 1 100
|
|
|
|
default 20
|
|
|
|
help
|
|
|
|
Maximum number of frames queued in opened File descriptor. Once the queue is full, the newly arriving
|
|
|
|
frames are dropped until the queue has enough room to accept incoming traffic (Tail Drop queue
|
|
|
|
management).
|
2017-07-18 21:15:11 -04:00
|
|
|
endmenu
|