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