diff options
author | Bjørn Mork <bjorn@mork.no> | 2012-11-13 03:19:43 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-17 09:27:19 -0800 |
commit | be59563528b8b8668ab3c6cf5ec5091937bf9f2a (patch) | |
tree | 365c9c878c7a44b7e757816ba5e8f9c598989427 /fs/char_dev.c | |
parent | 8e635504f704be0cfb3bb24823dcf2790ccb7ff4 (diff) |
net: cdc_ncm: add Huawei devices
[ Upstream commit bbc8d9228ea8e37ce29fa96150d10b85a2c7be60 ]
A number of Huawei 3G and LTE modems implement a CDC NCM function,
including the necessary functional descriptors, but using a non
standard interface layout and class/subclass/protocol codes.
These devices can be handled by this driver with only a minor
change to the probing logic, allowing a single combined control
and data interface. This works because the devices
- include a CDC Union descriptor labelling the combined
interface as both master and slave, and
- have an alternate setting #1 for the bulk endpoints on the
combined interface.
The 3G/LTE network connection is managed by vendor specific AT
commands on a serial function in the same composite device.
Handling the managment function is out of the scope of this
driver. It will be handled by an appropriate USB serial
driver.
Reported-and-Tested-by: Olof Ermis <olof.ermis@gmail.com>
Reported-and-Tested-by: Tommy Cheng <tommy7765@yahoo.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions