| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2012 Smith Micro Software, Inc. |
|---|
| 3 | 4 | * Copyright (c) 2012 Bjørn Mork <bjorn@mork.no> |
|---|
| 4 | 5 | * |
|---|
| 5 | 6 | * This driver is based on and reuse most of cdc_ncm, which is |
|---|
| 6 | 7 | * Copyright (C) ST-Ericsson 2010-2012 |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or |
|---|
| 9 | | - * modify it under the terms of the GNU General Public License |
|---|
| 10 | | - * version 2 as published by the Free Software Foundation. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | |
|---|
| 13 | 10 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 23 | 20 | #include <linux/usb/cdc_ncm.h> |
|---|
| 24 | 21 | #include <net/ipv6.h> |
|---|
| 25 | 22 | #include <net/addrconf.h> |
|---|
| 23 | +#include <net/ipv6_stubs.h> |
|---|
| 26 | 24 | |
|---|
| 27 | 25 | /* alternative VLAN for IP session 0 if not untagged */ |
|---|
| 28 | 26 | #define MBIM_IPS0_VID 4094 |
|---|
| .. | .. |
|---|
| 660 | 658 | .driver_info = (unsigned long)&cdc_mbim_info_avoid_altsetting_toggle, |
|---|
| 661 | 659 | }, |
|---|
| 662 | 660 | |
|---|
| 661 | + /* Telit FN990 */ |
|---|
| 662 | + { USB_DEVICE_AND_INTERFACE_INFO(0x1bc7, 0x1071, USB_CLASS_COMM, USB_CDC_SUBCLASS_MBIM, USB_CDC_PROTO_NONE), |
|---|
| 663 | + .driver_info = (unsigned long)&cdc_mbim_info_avoid_altsetting_toggle, |
|---|
| 664 | + }, |
|---|
| 665 | + |
|---|
| 663 | 666 | /* default entry */ |
|---|
| 664 | 667 | { USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_MBIM, USB_CDC_PROTO_NONE), |
|---|
| 665 | 668 | .driver_info = (unsigned long)&cdc_mbim_info_zlp, |
|---|