Kconfig.projbuild 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. menu "Example Configuration"
  2. config MESH_CHANNEL
  3. int "channel"
  4. range 0 14
  5. default 0
  6. help
  7. mesh network channel.
  8. config MESH_ROUTER_SSID
  9. string "Router SSID"
  10. default "ROUTER_SSID"
  11. help
  12. Router SSID.
  13. config MESH_ROUTER_PASSWD
  14. string "Router password"
  15. default "ROUTER_PASSWD"
  16. help
  17. Router password.
  18. choice
  19. bool "Mesh AP Authentication Mode"
  20. default WIFI_AUTH_WPA2_PSK
  21. help
  22. Authentication mode.
  23. config WIFI_AUTH_OPEN
  24. bool "WIFI_AUTH_OPEN"
  25. config WIFI_AUTH_WPA_PSK
  26. bool "WIFI_AUTH_WPA_PSK"
  27. config WIFI_AUTH_WPA2_PSK
  28. bool "WIFI_AUTH_WPA2_PSK"
  29. config WIFI_AUTH_WPA_WPA2_PSK
  30. bool "WIFI_AUTH_WPA_WPA2_PSK"
  31. endchoice
  32. config MESH_AP_AUTHMODE
  33. int
  34. default 0 if WIFI_AUTH_OPEN
  35. default 2 if WIFI_AUTH_WPA_PSK
  36. default 3 if WIFI_AUTH_WPA2_PSK
  37. default 4 if WIFI_AUTH_WPA_WPA2_PSK
  38. help
  39. Mesh AP authentication mode.
  40. config MESH_AP_PASSWD
  41. string "Mesh AP Password"
  42. default "MAP_PASSWD"
  43. help
  44. Mesh AP password.
  45. config MESH_AP_CONNECTIONS
  46. int "Mesh AP Connections"
  47. range 1 10
  48. default 6
  49. help
  50. The number of mesh stations allowed to connect in.
  51. config MESH_NON_MESH_AP_CONNECTIONS
  52. int "Mesh Non Mesh AP Connections"
  53. range 0 9
  54. default 0
  55. help
  56. The number of non-mesh stations allowed to connect in.
  57. config MESH_MAX_LAYER
  58. int "Mesh Max Layer"
  59. range 1 25
  60. default 6
  61. help
  62. Max layer allowed in mesh network.
  63. config MESH_ROUTE_TABLE_SIZE
  64. int "Mesh Routing Table Size"
  65. range 1 300
  66. default 50
  67. help
  68. The number of devices over the network(max: 300).
  69. config MESH_USE_GLOBAL_DNS_IP
  70. bool "Use global DNS IP"
  71. default n
  72. help
  73. Use fixed DNS server IP address. If enabled, root node
  74. advertises the specified DNS address in DHCP packets.
  75. By default it uses DNS record received from the router.
  76. config MESH_GLOBAL_DNS_IP
  77. hex "Global DNS"
  78. depends on MESH_USE_GLOBAL_DNS_IP
  79. default 0x08080808
  80. help
  81. The IP address of global DNS server that is used
  82. for internal IP subnet formed by the mesh network
  83. if MESH_USE_GLOBAL_DNS_IP is enabled.
  84. Note: The IP address is in platform (not network)
  85. format.
  86. endmenu