X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuqmi.git;a=blobdiff_plain;f=commands.h;h=f409ec42658d8288283ba5982f4f302b8d50f0dd;hp=312e897f8d158e98fb3c828f5efc3e8bc34cb26b;hb=HEAD;hpb=ba48484dac9d39f37eeeb96ad77649e5791ce289;ds=sidebyside diff --git a/commands.h b/commands.h index 312e897..f409ec4 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 @@ -7,6 +28,7 @@ #include "commands-nas.h" #include "commands-wms.h" #include "commands-wda.h" +#include "commands-uim.h" enum qmi_cmd_result { QMI_CMD_DONE, @@ -33,6 +55,7 @@ struct uqmi_cmd { #define __uqmi_commands \ __uqmi_command(version, get-versions, no, QMI_SERVICE_CTL), \ + __uqmi_command(sync, sync, 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), \ @@ -40,7 +63,8 @@ struct uqmi_cmd { __uqmi_dms_commands, \ __uqmi_nas_commands, \ __uqmi_wms_commands, \ - __uqmi_wda_commands + __uqmi_wda_commands, \ + __uqmi_uim_commands #define __uqmi_command(_name, _optname, _arg, _option) __UQMI_COMMAND_##_name enum uqmi_command {