aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/qmi_wwan.c
Commit message (Collapse)AuthorAgeFilesLines
* net: usb: qmi_wwan: assume raw IP modeqmiWolfgang Wiedmeyer2017-09-041-1/+45
| | | | | | | | | | | | | | | | | | So far, the driver has assumed that the modem operates in ethernet mode. While this is true for MDM9x15 in its default mode, it's not what we want. Android expects RIL data connections to use point-to-point protocol and integrating dhcp client operations into the RIL is troublesome. So assume raw IP mode and expect that it's set in userspace. Some additional adaptions were necessary to ensure that packets don't get dropped. They were taken from the rmnet driver while using the mainline qmi_wwan driver as a reference. It would be better if it would be possible to switch between the modes with a sysfs property. This functionality could still be added. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* net: usb: qmi_wwan: send DTR high to modem and register as hsic pm deviceWolfgang Wiedmeyer2017-07-161-1/+46
| | | | | | | | These changes were adopted from the RMNET driver and allow to shortly communicate with the modem until it sends a mdm2ap_errfatal interrupt. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* drivers: Backport cdc-wdm and new qmi_wwanWolfgang Wiedmeyer2017-06-231-0/+479
Backport is based on Aleksander Morgado's backport for OpenWrt to the 3.2 kernel[1], so it's a backport of a backport. I added the device IDs for MDM9x15. [1] https://gitorious.org/lanedo/linux-stable?p=lanedo:linux-stable.git;a=shortlog;h=refs/heads/v3.2.5-qmi Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>