wwan: Add support for Gemalto Cinterion cellular modules
authorDavid Thornley <david.thornley@touchstargroup.com>
Fri, 22 Jun 2018 06:25:22 +0000 (16:25 +1000)
committerJohn Crispin <john@phrozen.org>
Fri, 22 Jun 2018 07:45:08 +0000 (09:45 +0200)
commitc4a0c0718af301076809b700d243be6bcf4a958d
tree2e10540a9b3f6069860eb48c53250568079a6623
parent2ac5800fd945e41f27954942afa6742c2b6c9781
wwan: Add support for Gemalto Cinterion cellular modules

Includes specific support for PH8(1e2d-0053) / ELS61(1e2d-005b) modules.

Note for ELS61, the serial driver changes from serial option(ttyUSB) to usb-cdc (ttyACM).

Two additional fixes in this commit resolve issues with ttyACM devices: -

* wwan.sh - sys-fs has a subdirectory indirection (*/tty/ttyACMx) which was not handled properly
* wwan.usb - dependent scripts were not included, so this never actually called proto_set_available for example (and relied on inadvertent call for ttyUSB case)

Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
(cherry picked from commit cb262b09396edd171eb3903e50ce5ddeb593f963)
package/network/utils/wwan/files/data/1e2d-0053 [new file with mode: 0644]
package/network/utils/wwan/files/data/1e2d-005b [new file with mode: 0644]
package/network/utils/wwan/files/wwan.sh
package/network/utils/wwan/files/wwan.usb