X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuqmi.git;a=blobdiff_plain;f=commands-dms.c;h=8cc7bc5017f3eee78a0082c96fe6ab25d15e1e7c;hp=668c78f2615b4bec900f9ee741387a920032ed52;hb=HEAD;hpb=a9a5797a4693520f4827481998ebf30b9968c34d diff --git a/commands-dms.c b/commands-dms.c index 668c78f..8cc7bc5 100644 --- a/commands-dms.c +++ b/commands-dms.c @@ -1,3 +1,23 @@ +/* + * 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. + */ #include "qmi-message.h" static struct { @@ -388,3 +408,11 @@ cmd_dms_set_operating_mode_prepare(struct qmi_dev *qmi, struct qmi_request *req, return uqmi_add_error("Invalid argument"); } + +#define cmd_dms_set_fcc_authentication_cb no_cb +static enum qmi_cmd_result +cmd_dms_set_fcc_authentication_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg *msg, char *arg) +{ + qmi_set_dms_set_fcc_authentication_request(msg); + return QMI_CMD_REQUEST; +}