summaryrefslogtreecommitdiff
path: root/patches/attachment-0005.patch
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-05-17 01:07:14 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-05-17 01:07:14 +0200
commit743af014a307153c017077d255c7b3a181237e35 (patch)
treec26c38c19122fb2cfb42064069e05888f2d2c215 /patches/attachment-0005.patch
parentfdf028a3703e66770be71c777d7609c58611f859 (diff)
parent29f16288001cd0d64e7c158bb1e327483a9e2d9a (diff)
downloadnixos-743af014a307153c017077d255c7b3a181237e35.tar
nixos-743af014a307153c017077d255c7b3a181237e35.tar.gz
nixos-743af014a307153c017077d255c7b3a181237e35.tar.bz2
nixos-743af014a307153c017077d255c7b3a181237e35.tar.xz
nixos-743af014a307153c017077d255c7b3a181237e35.zip
Merge branch 'master' of git://git.yggdrasil.li/nixos
Diffstat (limited to 'patches/attachment-0005.patch')
-rw-r--r--patches/attachment-0005.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/patches/attachment-0005.patch b/patches/attachment-0005.patch
new file mode 100644
index 00000000..ef455bce
--- /dev/null
+++ b/patches/attachment-0005.patch
@@ -0,0 +1,50 @@
1>From cfa1df1527d81bf8cf3deeaf9ce341cd6c2a954c Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= <bjorn@mork.no>
3Date: Mon, 4 Apr 2016 14:47:01 +0200
4Subject: [PATCH 2/2] qmicli: support MBIM EXT_QMUX devices
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Signed-off-by: Bjørn Mork <bjorn@mork.no>
10---
11 src/qmicli/qmicli.c | 9 ++++++++-
12 1 file changed, 8 insertions(+), 1 deletion(-)
13
14diff --git a/src/qmicli/qmicli.c b/src/qmicli/qmicli.c
15index 85c2faa..c591da2 100644
16--- a/src/qmicli/qmicli.c
17+++ b/src/qmicli/qmicli.c
18@@ -56,6 +56,7 @@ static gboolean device_open_version_info_flag;
19 static gboolean device_open_sync_flag;
20 static gchar *device_open_net_str;
21 static gboolean device_open_proxy_flag;
22+static gboolean device_open_mbim_flag;
23 static gchar *client_cid_str;
24 static gboolean client_no_release_cid_flag;
25 static gboolean verbose_flag;
26@@ -99,6 +100,10 @@ static GOptionEntry main_entries[] = {
27 "Request to use the 'qmi-proxy' proxy",
28 NULL
29 },
30+ { "device-open-mbim", 0, 0, G_OPTION_ARG_NONE, &device_open_mbim_flag,
31+ "Open an MBIM device with EXT_QMUX support",
32+ NULL
33+ },
34 { "device-open-net", 0, 0, G_OPTION_ARG_STRING, &device_open_net_str,
35 "Open device with specific link protocol and QoS flags",
36 "[net-802-3|net-raw-ip|net-qos-header|net-no-qos-header]"
37@@ -603,7 +608,9 @@ device_new_ready (GObject *unused,
38 open_flags |= QMI_DEVICE_OPEN_FLAGS_SYNC;
39 if (device_open_proxy_flag)
40 open_flags |= QMI_DEVICE_OPEN_FLAGS_PROXY;
41- if (device_open_net_str)
42+ if (device_open_mbim_flag)
43+ open_flags |= QMI_DEVICE_OPEN_FLAGS_MBIM;
44+ if (device_open_net_str)
45 if (!qmicli_read_net_open_flags_from_string (device_open_net_str, &open_flags))
46 exit (EXIT_FAILURE);
47
48--
492.1.4
50