2018-04-11 11:18:33

by Bassem BOUBAKER

[permalink] [raw]
Subject: [PATCH] cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN

The Cinterion AHS8 is a 3G device with one embedded WWAN interface
using cdc_ether as a driver.

The modem is controlled via AT commands through the exposed TTYs.

AT+CGDCONT write command can be used to activate or deactivate a WWAN
connection for a PDP context defined with the same command. UE supports
one WWAN adapter.

Signed-off-by: Bassem Boubaker <[email protected]>
---
drivers/net/usb/cdc_ether.c | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index fff4b13..5c42cf8 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -902,6 +902,12 @@ static const struct usb_device_id products[] = {
USB_CDC_PROTO_NONE),
.driver_info = (unsigned long)&wwan_info,
}, {
+ /* Cinterion AHS3 modem by GEMALTO */
+ USB_DEVICE_AND_INTERFACE_INFO(0x1e2d, 0x0055, USB_CLASS_COMM,
+ USB_CDC_SUBCLASS_ETHERNET,
+ USB_CDC_PROTO_NONE),
+ .driver_info = (unsigned long)&wwan_info,
+}, {
USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ETHERNET,
USB_CDC_PROTO_NONE),
.driver_info = (unsigned long) &cdc_info,
--
2.7.4



2018-04-11 11:29:08

by Oliver Neukum

[permalink] [raw]
Subject: Re: [PATCH] cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN

Am Mittwoch, den 11.04.2018, 13:15 +0200 schrieb Bassem Boubaker:
>     The Cinterion AHS8 is a 3G device with one embedded WWAN interface
>     using cdc_ether as a driver.
>
>     The modem is  controlled via AT commands through the exposed TTYs.
>
>     AT+CGDCONT write command can be used to activate or deactivate a WWAN
>     connection for a PDP context defined with the same command. UE supports
>     one WWAN adapter.
>
> Signed-off-by: Bassem Boubaker <[email protected]>
Acked-by: Oliver Neukum <[email protected]>

2018-04-11 14:40:39

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN

From: Oliver Neukum <[email protected]>
Date: Wed, 11 Apr 2018 13:25:38 +0200

> Am Mittwoch, den 11.04.2018, 13:15 +0200 schrieb Bassem Boubaker:
>> ??? The Cinterion AHS8 is a 3G device with one embedded WWAN interface
>> ??? using cdc_ether as a driver.
>>
>> ??? The modem is? controlled via AT commands through the exposed TTYs.
>>
>> ??? AT+CGDCONT write command can be used to activate or deactivate a WWAN
>> ??? connection for a PDP context defined with the same command. UE supports
>> ??? one WWAN adapter.
>>
>> Signed-off-by: Bassem Boubaker <[email protected]>
> Acked-by: Oliver Neukum <[email protected]>

Applied and queued up for -stable.