Kconfig 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. menu "ESP NETIF Adapter"
  2. config ESP_NETIF_IP_LOST_TIMER_INTERVAL
  3. int "IP Address lost timer interval (seconds)"
  4. range 0 65535
  5. default 120
  6. help
  7. The value of 0 indicates the IP lost timer is disabled, otherwise the timer is enabled.
  8. The IP address may be lost because of some reasons, e.g. when the station disconnects
  9. from soft-AP, or when DHCP IP renew fails etc. If the IP lost timer is enabled, it will
  10. be started everytime the IP is lost. Event SYSTEM_EVENT_STA_LOST_IP will be raised if
  11. the timer expires. The IP lost timer is stopped if the station get the IP again before
  12. the timer expires.
  13. choice ESP_NETIF_USE_TCPIP_STACK_LIB
  14. prompt "TCP/IP Stack Library"
  15. default ESP_NETIF_TCPIP_LWIP
  16. help
  17. Choose the TCP/IP Stack to work, for example, LwIP, uIP, etc.
  18. config ESP_NETIF_TCPIP_LWIP
  19. bool "LwIP"
  20. help
  21. lwIP is a small independent implementation of the TCP/IP protocol suite.
  22. config ESP_NETIF_LOOPBACK
  23. bool "Loopback"
  24. help
  25. Dummy implementation of esp-netif functionality which connects driver transmit
  26. to receive function. This option is for testing purpose only
  27. endchoice
  28. config ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER
  29. bool "Enable backward compatible tcpip_adapter interface"
  30. default y
  31. help
  32. Backward compatible interface to tcpip_adapter is enabled by default to support
  33. legacy TCP/IP stack initialisation code. Disable this option to use only esp-netif
  34. interface.
  35. config ESP_NETIF_L2_TAP
  36. bool "Enable netif L2 TAP support"
  37. help
  38. A user program can read/write link layer (L2) frames from/to ESP TAP device.
  39. The ESP TAP device can be currently associated only with Ethernet physical interfaces.
  40. config ESP_NETIF_L2_TAP_MAX_FDS
  41. depends on ESP_NETIF_L2_TAP
  42. int "Maximum number of opened L2 TAP File descriptors"
  43. range 1 10
  44. default 5
  45. help
  46. Maximum number of opened File descriptors (FD's) associated with ESP TAP device. ESP TAP FD's take up
  47. a certain amount of memory, and allowing fewer FD's to be opened at the same time conserves memory.
  48. config ESP_NETIF_L2_TAP_RX_QUEUE_SIZE
  49. depends on ESP_NETIF_L2_TAP
  50. int "Size of L2 TAP Rx queue"
  51. range 1 100
  52. default 20
  53. help
  54. Maximum number of frames queued in opened File descriptor. Once the queue is full, the newly arriving
  55. frames are dropped until the queue has enough room to accept incoming traffic (Tail Drop queue
  56. management).
  57. endmenu