struct menu_data menu_mesh_network[] = {
- { "1", "Scan", NULL, run_wifi_mesh_scan, NULL },
- { "2", "Get found mesh network", NULL, run_get_found_mesh_network, NULL },
- { "3", "Specific scan", menu_specific_scan, NULL, NULL },
- { "4", "Cancel scan", NULL, run_wifi_mesh_cancel_scan, NULL },
- { "5", "Enable mesh", NULL, run_wifi_mesh_enable, NULL },
- { "6", "Disable mesh", NULL, run_wifi_mesh_disable, NULL },
- { "7", "Get joined mesh network", NULL, run_get_joined_mesh_network, NULL },
- { "8", "Set gate", menu_gate_option, NULL, NULL },
- { "9", "Unset gate", NULL, run_unset_gate, NULL },
- { "10", "Set softap", menu_softap_option, NULL, NULL },
- { "11", "Enable softap", NULL, run_enable_softap, NULL },
- { "12", "Disable softap", NULL, run_disable_softap, NULL },
- { "13", "Create network", menu_create_network, NULL, NULL },
- { "14", "Connect network", menu_connect_network, NULL, NULL },
- { "15", "Disconnect network", menu_disconnect_network, NULL, NULL },
- { "16", "Forget network", menu_forget_network, NULL, NULL },
- { "17", "Get connected mesh peers", NULL, run_get_connected_peers, NULL },
+ { "1", "Start", NULL, run_wifi_mesh_enable, NULL },
+ { "2", "Stop", NULL, run_wifi_mesh_disable, NULL },
+ { "3", "Scan", NULL, run_wifi_mesh_scan, NULL },
+ { "4", "Specific scan", menu_specific_scan, NULL, NULL },
+ { "5", "Cancel scan", NULL, run_wifi_mesh_cancel_scan, NULL },
+ { "6", "Get found mesh network", NULL, run_get_found_mesh_network, NULL },
+ { "7", "Create network", menu_create_network, NULL, NULL },
+ { "8", "Connect network", menu_connect_network, NULL, NULL },
+ { "9", "Disconnect network", menu_disconnect_network, NULL, NULL },
+ { "10", "Forget network", menu_forget_network, NULL, NULL },
+ { "11", "Get joined mesh network", NULL, run_get_joined_mesh_network, NULL },
+ { "12", "Set softap", menu_softap_option, NULL, NULL },
+ { "13", "Enable softap", NULL, run_enable_softap, NULL },
+ { "14", "Disable softap", NULL, run_disable_softap, NULL },
+ { "15", "Get connected mesh peers", NULL, run_get_connected_peers, NULL },
+ { "16", "Set gate", menu_gate_option, NULL, NULL },
+ { "17", "Unset gate", NULL, run_unset_gate, NULL },
{ "18", "Get mesh station information", NULL, run_get_station_information, NULL },
{ "19", "Get mesh path information", NULL, run_get_mpath_information, NULL },
{ NULL, NULL, },