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:31:32 +0000 (09:31 +0200)
commitcb262b09396edd171eb3903e50ce5ddeb593f963
treec6786d5fe1a3ee12cad111285512e1bae245bd0a
parentb8bdeace3998716292ee8cad7c556e01636472fc
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>
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