X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuqmi.git;a=blobdiff_plain;f=commands.h;h=1c9b5d613bac9f7615ae3316f7ebbbef73a864bd;hp=7560dbdbdeac0dd44812d6ce8b77dfe0bdeb33d4;hb=f94b7575aa919e5a090b2e945c62273b72c87ad0;hpb=4ab698d5b6e27dece939c858aae070f5beda71a1 diff --git a/commands.h b/commands.h index 7560dbd..1c9b5d6 100644 --- a/commands.h +++ b/commands.h @@ -1,3 +1,24 @@ +/* + * uqmi -- tiny QMI support implementation + * + * Copyright (C) 2014-2015 Felix Fietkau + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA. + */ + #ifndef __UQMI_COMMANDS_H #define __UQMI_COMMANDS_H @@ -6,6 +27,7 @@ #include "commands-dms.h" #include "commands-nas.h" #include "commands-wms.h" +#include "commands-wda.h" enum qmi_cmd_result { QMI_CMD_DONE, @@ -34,10 +56,12 @@ struct uqmi_cmd { __uqmi_command(version, get-versions, no, QMI_SERVICE_CTL), \ __uqmi_command(set_client_id, set-client-id, required, CMD_TYPE_OPTION), \ __uqmi_command(get_client_id, get-client-id, required, QMI_SERVICE_CTL), \ + __uqmi_command(ctl_set_data_format, set-data-format, required, QMI_SERVICE_CTL), \ __uqmi_wds_commands, \ __uqmi_dms_commands, \ __uqmi_nas_commands, \ - __uqmi_wms_commands + __uqmi_wms_commands, \ + __uqmi_wda_commands #define __uqmi_command(_name, _optname, _arg, _option) __UQMI_COMMAND_##_name enum uqmi_command {