Openwrt/target/linux
John Crispin f1712c606c generic: cdc_ncm: Add support for moving NDP to end of NCM frame
NCM specs are not actually mandating a specific position in the frame for
the NDP (Network Datagram Pointer). However, some Huawei devices will
ignore our aggregates if it is not placed after the datagrams it points
to. Add support for doing just this, in a per-device configurable way.
While at it, update NCM subdrivers, disabling this functionality in all of
them, except in huawei_cdc_ncm where it is enabled instead.
We aren't making any distinction between different Huawei NCM devices,
based on what the vendor driver does. Standard NCM devices are left
unaffected: if they are compliant, they should be always usable, still
stay on the safe side.

This change has been tested and working with a Huawei E3131 device (which
works regardless of NDP position) and an E3372 device (which mandates NDP
to be after indexed datagrams).

Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 46464
2015-07-24 09:10:47 +00:00
..
adm5120 adm5120: do not config something as module 2015-07-14 20:52:18 +00:00
adm8668
ar7
ar71xx ar71xx: Allow to use ath79_gpio_output_select on QCA955x 2015-07-24 09:10:00 +00:00
arm64
at91
ath25
au1000
bcm53xx bcm53xx: fix usb3 build with kernel 4.1 2015-07-14 18:51:23 +00:00
brcm47xx
brcm63xx brcm63xx: make use of dt-includes 2015-07-16 11:15:02 +00:00
brcm2708 brcm2708: add kmod-sound-soc-bcm2708-i2s support 2015-07-24 09:10:14 +00:00
cns3xxx
gemini kernel: refresh patches for 4.1 2015-07-22 12:51:11 +00:00
generic generic: cdc_ncm: Add support for moving NDP to end of NCM frame 2015-07-24 09:10:47 +00:00
imx6
ipq806x
ixp4xx
kirkwood
lantiq lantiq: Silence the PCIe error interrupt printk also in 4.1 2015-07-24 09:09:07 +00:00
malta
mcs814x
mpc85xx
mvebu
mxs
netlogic
octeon
omap
omap24xx
orion
oxnas
ppc40x
ppc44x
pxa
ramips ramips: add support for STORYLiNK SAP-G3200U3 2015-07-24 09:09:22 +00:00
rb532
realview
sunxi
uml
x86
xburst
Makefile