X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuqmi.git;a=blobdiff_plain;f=commands-wds.h;h=ea64e8206a1f1b7c85b144bd08b2cfb4811e4dff;hp=2374f853261908facef293c7a93fe5a4bb81c69e;hb=1077e609940803e44c52afd7f22fc5f08cb2f20f;hpb=002ec24cc7a67e85e85427d0c5ab31521aab1134;ds=sidebyside diff --git a/commands-wds.h b/commands-wds.h index 2374f85..ea64e82 100644 --- a/commands-wds.h +++ b/commands-wds.h @@ -1,10 +1,18 @@ #define __uqmi_wds_commands \ - __uqmi_command(wds_set_auth, set-auth, required, QMI_SERVICE_WDS), \ - __uqmi_command(wds_set_username, set-username, required, QMI_SERVICE_WDS), \ - __uqmi_command(wds_set_password, set-password, required, QMI_SERVICE_WDS) + __uqmi_command(wds_start_network, start-network, required, QMI_SERVICE_WDS), \ + __uqmi_command(wds_set_auth, auth-type, required, CMD_TYPE_OPTION), \ + __uqmi_command(wds_set_username, username, required, CMD_TYPE_OPTION), \ + __uqmi_command(wds_set_password, password, required, CMD_TYPE_OPTION), \ + __uqmi_command(wds_set_autoconnect, autoconnect, no, CMD_TYPE_OPTION), \ + __uqmi_command(wds_get_packet_service_status, get-data-status, no, QMI_SERVICE_WDS), \ + __uqmi_command(wds_reset, reset-wds, no, QMI_SERVICE_WDS) \ + #define wds_helptext \ - " --set-auth pap|chap|both|none: Set network authentication type\n" \ - " --set-username: Set network username\n" \ - " --set-password: Set network password\n" \ + " --start-network : Start network connection (use with options below)\n" \ + " --auth-type pap|chap|both|none: Use network authentication type\n" \ + " --username : Use network username\n" \ + " --password : Use network password\n" \ + " --autoconnect: Enable automatic connect/reconnect\n" \ + " --get-data-status: Get current data access status\n" \