]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: cdc_mbim: add "NDP to end" quirk for Huawei E3372
authorBjørn Mork <bjorn@mork.no>
Sat, 5 Dec 2015 12:01:50 +0000 (13:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jan 2016 04:55:45 +0000 (20:55 -0800)
commitf014ff973d29be03d67d4c95a3d67c2724e07ad9
tree8208218065745c215b6e1b80b6f175017e7249af
parent7914d19d35bcd2d838abcca7e39d990661e475f0
net: cdc_mbim: add "NDP to end" quirk for Huawei E3372

[ Upstream commit f8c0cfa5eca902d388c0b57c7ca29a1ff2e6d8c6 ]

The Huawei E3372 (12d1:157d) needs this quirk in MBIM mode
as well. Allow this by forcing the NTB to contain only a
single NDP, and add a device specific entry for this ID.

Due to the way Huawei use device IDs, this might be applied
to other modems as well.  It is assumed that those modems
will be based on the same firmware and will need this quirk
too.  If not, it will still not harm normal usage, although
multiplexing performance could be impacted.

Cc: Enrico Mioso <mrkiko.rs@gmail.com>
Reported-by: Sami Farin <hvtaifwkbgefbaei@gmail.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Acked-By: Enrico Mioso <mrkiko.rs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/cdc_mbim.c
drivers/net/usb/cdc_ncm.c