From: "Bjørn Mork" <bjorn-yOkvZcmFvRU@public.gmane.org>
To: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: "Bjørn Mork" <bjorn-yOkvZcmFvRU@public.gmane.org>,
"Dan Williams" <dcbw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
"Thomas Schäfer"
<tschaefer-zqRNUXuvxA0b1SvskN2V4Q@public.gmane.org>
Subject: [PATCH v2 0/3] Adding new drivers for Qualcomm MSM based LTE modems
Date: Sun, 15 Jan 2012 07:40:34 +0100 [thread overview]
Message-ID: <cover.1326607234.git.bjorn@mork.no> (raw)
This can probably support many more devices based on modern Qualcomm
chipsets, but has only been tested with a Huawei E392 LTE modem based
on Qualcomm MDM9200.
These chips require using the QMI protocol to enable anything but
serial mode. They can, and should, still be configured using
AT commands on one of the serial interfaces. In particular, this
driver does not support entering SIM PIN code or APN, which may be
required before opening a connection. PIN can be set by using the
standard AT+CPIN="xxxx" command. APN can most likely be set by
storing it in the default profile.
patch 1 relaxes the cdc_ether CDC descriptor parsing in such a way
that it will allow a vendor specific data interface if and only if
the control interface also is vendor specific. This allows us to
reuse the bind() function from cdc_ether for one of the possible
device configurations we support
patch 2 adds a new "subdriver" which exports the CDC encapsulated
command interface as a character device, and also to the calling
driver.
patch 3 adds the wwan driver, which uses the "subdriver" to configure
the device via the Qualcomm MSM Interface (QMI) protocol encapsulated
in CDC control commands. The actual network device is a minimalistic
usbnet minidriver.
Bjørn Mork (3):
cdc_ether: allow vendor specific data interface if control interface
is vendor specific
net: usb: cdc_enc: New driver exposing USB CDC encapsulated protocols
net: usb: qmi_wwan: New driver for QMI WAN devices
drivers/net/usb/Kconfig | 28 +++
drivers/net/usb/Makefile | 3 +
drivers/net/usb/cdc_enc.c | 452 +++++++++++++++++++++++++++++++++++++
drivers/net/usb/cdc_enc.h | 77 +++++++
drivers/net/usb/cdc_ether.c | 6 +-
drivers/net/usb/qmi_proto.c | 475 +++++++++++++++++++++++++++++++++++++++
drivers/net/usb/qmi_proto.h | 98 ++++++++
drivers/net/usb/qmi_wwan_core.c | 343 ++++++++++++++++++++++++++++
8 files changed, 1481 insertions(+), 1 deletions(-)
create mode 100644 drivers/net/usb/cdc_enc.c
create mode 100644 drivers/net/usb/cdc_enc.h
create mode 100644 drivers/net/usb/qmi_proto.c
create mode 100644 drivers/net/usb/qmi_proto.h
create mode 100644 drivers/net/usb/qmi_wwan_core.c
--
1.7.7.3
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2012-01-15 6:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-15 6:40 Bjørn Mork [this message]
[not found] ` <cover.1326607234.git.bjorn-yOkvZcmFvRU@public.gmane.org>
2012-01-15 6:40 ` [PATCH v2 1/3] cdc_ether: allow vendor specific data interface if control interface is vendor specific Bjørn Mork
2012-01-15 6:40 ` [PATCH v2 2/3] net: usb: cdc_enc: New driver exposing USB CDC encapsulated protocols Bjørn Mork
[not found] ` <d11888532ee381806b35974e71af4c0122255c05.1326607234.git.bjorn-yOkvZcmFvRU@public.gmane.org>
2012-01-15 13:36 ` Oliver Neukum
[not found] ` <201201151436.29794.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
2012-01-15 14:22 ` Bjørn Mork
2012-01-15 19:52 ` Bjørn Mork
[not found] ` <87ehv0eoah.fsf-lbf33ChDnrE/G1V5fR+Y7Q@public.gmane.org>
2012-01-15 20:33 ` Oliver Neukum
2012-01-15 6:40 ` [PATCH v2 3/3] net: usb: qmi_wwan: New driver for QMI WAN devices Bjørn Mork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1326607234.git.bjorn@mork.no \
--to=bjorn-yokvzcmfvru@public.gmane.org \
--cc=dcbw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=tschaefer-zqRNUXuvxA0b1SvskN2V4Q@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).