Kconfig 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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_L2_TAP
  29. bool "Enable netif L2 TAP support"
  30. select ETH_TRANSMIT_MUTEX
  31. help
  32. A user program can read/write link layer (L2) frames from/to ESP TAP device.
  33. The ESP TAP device can be currently associated only with Ethernet physical interfaces.
  34. config ESP_NETIF_L2_TAP_MAX_FDS
  35. depends on ESP_NETIF_L2_TAP
  36. int "Maximum number of opened L2 TAP File descriptors"
  37. range 1 10
  38. default 5
  39. help
  40. Maximum number of opened File descriptors (FD's) associated with ESP TAP device. ESP TAP FD's take up
  41. a certain amount of memory, and allowing fewer FD's to be opened at the same time conserves memory.
  42. config ESP_NETIF_L2_TAP_RX_QUEUE_SIZE
  43. depends on ESP_NETIF_L2_TAP
  44. int "Size of L2 TAP Rx queue"
  45. range 1 100
  46. default 20
  47. help
  48. Maximum number of frames queued in opened File descriptor. Once the queue is full, the newly arriving
  49. frames are dropped until the queue has enough room to accept incoming traffic (Tail Drop queue
  50. management).
  51. config ESP_NETIF_BRIDGE_EN
  52. depends on ESP_NETIF_TCPIP_LWIP
  53. bool "Enable LwIP IEEE 802.1D bridge"
  54. default n
  55. help
  56. Enable LwIP IEEE 802.1D bridge support in ESP-NETIF. Note that "Number of clients store data in netif"
  57. (LWIP_NUM_NETIF_CLIENT_DATA) option needs to be properly configured to be LwIP bridge avaiable!
  58. endmenu