lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 13 Dec 2011 05:33:01 +0100
From:	Bjorn Mork <bjorn@...k.no>
To:	netdev@...r.kernel.org, linux-usb@...r.kernel.org
Cc:	Bjørn Mork <bjorn@...k.no>
Subject: [PATCH 0/3] Adding a new driver for Huawei E392 WWAN modem

From: Bjørn Mork <bjorn@...k.no>

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 releases one of the interfaces used by this protocol from
the option driver. Note that this interface does not support serial
data anyway, so the option driver binding is completely bogus.

patch 2 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 3 adds the new driver.  Most of it is QMI protocol handling.
The network device is a minimalistic usbnet minidriver.



Bjørn Mork (3):
  option: Removing one bogus and adding some new Huawei combinations
  cdc_ether: allow vendor specific data interface if control interface
    is vendor specific
  qmi_wwan: Driver for WWAN devices requiring use of the QMI protocol

 drivers/net/usb/Kconfig         |   13 +
 drivers/net/usb/Makefile        |    2 +
 drivers/net/usb/cdc_ether.c     |    8 +-
 drivers/net/usb/qmi.c           |  730 +++++++++++++++++++++++++++++++++++++++
 drivers/net/usb/qmi.h           |  101 ++++++
 drivers/net/usb/qmi_wwan_core.c |  206 +++++++++++
 drivers/usb/serial/option.c     |    4 +-
 7 files changed, 1061 insertions(+), 3 deletions(-)
 create mode 100644 drivers/net/usb/qmi.c
 create mode 100644 drivers/net/usb/qmi.h
 create mode 100644 drivers/net/usb/qmi_wwan_core.c

-- 
1.7.7.3

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ